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
@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'])
However, you need to contact the content support team directly to verify if these fields are available for other RICs.