For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 3 3 7

Can python to download TR.YieldtoCallDateAnalytics & TR.DiscountMarginAnalytics?

Hi team,

Can python to download TR.YieldtoCallDateAnalytics & TR.DiscountMarginAnalytics? If so, could provide sample code.

If no, is it any workaround it codebook? thanks.

Regards,
Sunny

eikon-data-apipythonexceladfindata-item-browser
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
56.1k 145 45 65

@sunny.to@refinitiv.com

Thanks for reaching out to us.

Yes, you can use RD Library in Codebook to retrieve the TR.YieldtoCallDateAnalytics and TR.DiscountMarginAnalytics fields. I think it depends on RICs or asset types.

I can retrieve the TR.YieldtoCallDateAnalytics and TR.DiscountMarginAnalytics fields for 38141GZN7=.

rd.get_data(
    universe=['38141GZN7='],
    fields=['TR.YieldtoCallDateAnalytics','TR.DiscountMarginAnalytics']
)

1667205705218.png

However, you need to contact the content support team directly to verify if these fields are available for other RICs.


1667205705218.png (14.0 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thanks Jirapongse