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

Best Answer

  • @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.

Answers