TR.TotalReturn1YrCrossAsset timeseries PYTHON

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

Best Answer

  • siddharth.marya
    siddharth.marya Newcomer
    Answer ✓

    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 ?

Answers