Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 3 5

get_timeseries data issue

hi

I’m running the below where ric_chunk[0] contains RIC=ABR

ek.get_timeseries(ric_chunk[0],start_date=datetime(2021,3,26,7,30,0),end_date=datetime.now(),interval='minute',fields='CLOSE')


I don’t see the same output that I see if I run it only for one asser:


ek.get_timeseries(['ABR'],start_date=datetime(2021,3,26,7,30,0),end_date=datetime.now(),interval='minute',fields='CLOSE')



Can you please advise?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apipricing
1616794682235.jpeg (37.4 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.

Hello @diarmuid.omahony,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

Hi @diarmuid.omahony

Please double-check the value in ric_chunk[0]

You can just print it out to the console to confirm the value.

print(ric_chunk[0])

In my test, I hardcoded ric_chunk to a list of 3 instruments.

And I got the same result from ric_chunk[0] vs ['ABR']



ahs.jpg (161.0 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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