problem with get_timeseries, Invalid RIC

i have been pulling historical data using get_timeseries and today it is returning 'Invalid RIC' for all.
if i copy this rics to eikon toolbar i see that it is in fact a valid ric with the data etc..

df = ek.get_timeseries(ric_lst[i:i + 4], fields=['CLOSE'], start_date=trade_time, end_da  te=end, interval='minute')

1645616164293.png


1645616253684.png

Tagged:

Best Answer

  • So I think there is a problem with your RICs - I tried this with a small c in the middle of the RIC (as it was in your ric list) and it returned invalid RIC - so maybe you should take a look at capitalising those.

    1645618150667.png

Answers

  • @rafi.levy1 this is working at my end:

    df = ek.get_timeseries('BYNDC042205100.U', fields=['CLOSE'], start_date='2022-02-15T00:00:00', end_date='2022-02-18T23:59:59', interval='minute')

    df

    1645617836238.png

    can you try the call i pasted (maybe relaunch Eikon first) and see if it works for you. thx

  • thank you for checking. it is working for me with other codes, just here returning invalid ric for all. nothing has changed so i dont know how to solve this

  • your great, it was a typo in my expiry code dictionary. march code was c instead of C. thanks