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
61 3 3 4

Get the curreny of a delisted stock

Hello,

i am trying to load timeseries with currency for a delisted stock, my example here is AGN^E20. The following works:

ek.get_timeseries(ric, 'CLOSE', start_date=fromdate, end_date=todate, interval='daily')

But if I want to get the corresponding currency, the code fails:

ek.get_data(ric, 'CF_CURR')

Any idea of how to solve this problem? Thank you!

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-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
18.2k 21 13 21

Hi @j.rasch

You can try using "Data Item Browser" to search for any currency field.

I am not sure if TR.CompanyReportCurrency is usable in your case?


ahs.png (131.6 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
61 3 3 4

That works, thank you! :)

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.