For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
55 1 2 6

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

rics
1645616164293.png (212.9 KiB)
1645616253684.png (159.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
Accepted
7.6k 10 6 8

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


1645618150667.png (79.1 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
7.6k 10 6 8

@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


1645617836238.png (37.9 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
55 1 2 6

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
55 1 2 6

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

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.