Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 4 6 9

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

· Write an Answer
Upvotes
Accepted
78.9k 250 52 74

@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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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