Hi all,
I am trying to download the daily prices and total return of a list of RICs. However, when I tried by using the following codes, the sorted dates of these two variables are opposite. How to modify the code to combine the date?
Many thanks
ric = df['ric'].astype(str).tolist() df, e = ek.get_data(ric, ['TR.PriceClose(Curn=USD)','TR.TotalReturn','TR.PriceClose.calcdate','TR.TotalReturn.date'], {'SDate': '2024-01-01', 'EDate': '2024-02-10','Frq':'D'}) df