Dear RDev Community,
I am looking to get historical data for bonds as "Credit Ratings", "OAS", "Prices" going back ten years, or so. Ideally on a monthly basis, at the end-of-month.
df_iboxx, err = ek.get_date(instuments=isin_iboxx, fields = ['TR.ISIN', 'TR.FIMoodysRating', 'TR.FIFitchsRating', 'TR.OptionAdjustedSpread', 'TR.FiPrice', 'TR.BIDPRICE', 'TR.ASKPRICE','TR.FiPrice'], parameters={SDate':'2019-12-01',Frq':'M',EDate':'2020-12-01'})
So far, with this code I managed to get only the historical Ask-Bid prices for each month. But the other variables appear only on the latest date (eg. 2020-12-01). Is it possible to get the historical values of the other criteria?
Since it is a large request, I need to split manually the code year by year. Do you have any function to do the data request and append automatically?
Thank you so much,