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 0 0 1

Eikon Python Api stopped working for certain data

I am dowlnoading data via Eikon Python Api. Certain data stopped working, but remaining rics are still ok. The querry in question is:

print(ek.get_timeseries(['XPDFIXPM=','XPDFIXAM=','XPTFIXPMEUR='], start_date='2023-04-25', end_date='2023-05-25', fields='Close'))

As I understand the data in question has been changed. How should I retrieve it now?

eikon#product#contentpython api
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
Accepted
5.6k 18 2 7

Hi Michal,

I can still get the data on my end during the date range you have specified. Do you mind trying our Latest RD Libraries for Python and see if you can get the data.

import refinitiv.data as rd
rd.open_session()
rd.get_history(['XPDFIXPM=','XPDFIXAM=','XPTFIXPMEUR='], start='2023-04-25', end='2023-05-25', fields='TRDPRC_1')


screenshot-2023-06-29-at-103336.png

Best regards,

Haykaz



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
5.6k 18 2 7

Hi @michal.przestrzelski ,


Thank you for your question. Could you please share the error you are receiving? On my end I can get the date:

screenshot-2023-06-28-at-183405.png


Best regards,

Haykaz


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
1 0 0 1

Hi @h.aramyan01,

My code is rather simple:

import eikon as ek

ek.set_app_key('xxxxxxxx')

print(ek.get_timeseries(['XPDFIXPM=','XPDFIXAM=','XPTFIXPMEUR='], start_date='2023-04-25', end_date='2023-05-25', fields='Close'))

When I tried running it today, I received following results:

1688018473794.png

So it seems someone is working on the data right now. The remaining two ricks have values only for last 2 days, and don't have any for a date range in my query.

Regards,

Michał


1688018473794.png (39.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.

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.