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

historical value of country of primary risk of a constituent

Hi,

For certain constituent, the value of the fields, such as the country of primary risk, keeps being updated. Is it possible to have the historical value of these fields so that we could track the changes of the field values in history?

eikon-data-apihistoricalfields
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.

Hi @jian.he, Is the answer below satisfactory? does it answer your question?

If so, please do let us know with the 'Accept' button to the left of the answer in question.

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
5.1k 16 2 7

Hi @jian.he ,


I have checked for TR.CoRPrimaryCountry field in Data Item Browser and it has date type output (meaning you can use fields such as 'TR.CoRPrimaryCountry.calcdate' or 'TR.CoRPrimaryCountry.date' to show dates in the output) however it doesn't seem to have a date parameter to request data historically. please see below:

screenshot-2024-04-09-at-094505.png

You can check for other fields you are after and if it does have date parameter you can include parameters field in your ek.get_data request:

ek.get_data('MSFT.O', fields =["your field"], parameters = {'SDate': '2020-01-01', 'EDate':'2024-04-09'})

Hope this helps.


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.

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.