I am currently trying to obtain Price, Yield and Benchmark Spread on a list of corporate bonds that expired between 2000 and 2006. Only for very few bonds, at best 5% of my sample, can this time series data be extracted.
I use the following code:
df, err = ek.get_data(
instruments = isins,
fields ="TR.BenchmarkSpread.Date", "TR.BenchmarkSpread", "TR.BIDYIELD.Date", "TR.BIDYIELD", "TR.BIDPRICE.Date", "TR.BIDPRICE"],
parameters = {'SDate':"20000101", "EDate":"20220101", "Frq":"CQ"}
)
The code yields non-NA results if I use ISINs of bonds that have yet to mature (albeit for approx. 20% of not yet matured bonds I also cannot obtain data but I suspect this is because they are not active).
Why do I almost only get NA results for the matured bonds? Do you disable the download of timeseries data for expired instruments?
Thanks for the help!