How can I get the TR.TotalReturn1YrCrossAsset timeseries for a given instrument for given dates?
For example I would like to get the 'TR.TotalReturn1YrCrossAsset' timeseries for 'IBCD.DE' starting from 15-09-2022 till 20-02-2023
I think this can be done using the following code:
ek.get_data('IBCD.DE', ['TR.TotalReturn1Yr.Date','TR.TotalReturn1Yr'], parameters={"Frq": "D",'SDate':'2022-09-15', 'EDate':'2023-02-17'})
Can you confirm this solution @jason.ramchandani01 ?
Hi @siddharth.marya ,
I confirm that ek.get_data() can provide expected data.
You can also use same function from refinitv-data lib which was release beginning 2023:
r = rd.get_data('IBCD.DE', ['TR.TotalReturn1Yr.Date', 'TR.TotalReturn1Yr'], parameters={"Frq": "D", 'SDate': '2022-09-15', 'EDate': '2023-02-17'})