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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
61 1 0 2

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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

Upvotes
Accepted
18k 21 12 20

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 5.0 MiB each and 10.0 MiB total.

Upvotes
61 1 0 2

That works, thank you! :)

icon clock
10 |1500

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

Click below to post an Idea Post Idea