Hi,
While trying to retrieve the historical data for some convertibles (RICs = ['JEdbc.TO^I20', 'JEdbd.TO^I20], I got inconsistent results from ek.get_timeseries() and ek.get_data(). Specifically, the former returns data while the latter returns NA. See detail below,
df = ek.get_timeseries(rics, start_date=dt.datetime(2020,3,25),
end_date=dt.datetime(2020,3,31))
df
JEdbc.TO^ I20JEdbd.TO^I20
HIGHCLOSELOWOPENCOUNTVOLUMEHIGHCLOSELOWOPENCOUNTVOLUMEDate
2020-03-252323.0016.5017.0189000017.0017.0016.9917.005190002020-03-262423.0220.0020.0032400017.2617.2617.0117.0151050002020-03-272622.0022.0025.001411700018.5018.5018.0018.006750002020-03-302018.0018.0020.0098700018.5018.5018.0018.005700002020-03-312020.0019.0119.0142900025.0025.0025.0025.00320000
df1, er = ek.get_data(rics, ['TR.PriceClose', 'TR.IssueMarketCap', 'TR.IssueMarketCap.Date'],
{'SDate':'2020-03-25', 'EDate':'2020-03-31'})
df1
Instrument Price Close Issue Market Cap Date
JEdbc.TO^I20 <NA><NA><NA>
JEdbd.TO^I20<NA><NA><NA>
Lastly, a call of get_timeseries() using package eikonapir in R results in errors:
get_timeseries(list('JEdbc.TO^I20', 'JEdbd.TO^I20'), list("*"),
start_date = '2020-03-25',
end_date = '2020-03-31')
# Error in 1:nrow(input_data_frame) : argument of length 0
I would highly appreciate if you could look into these inconsistencies and advise any suggestions/solutions.
Thanks,
TH