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
9 3 1 6

How to get the python equivalent for getting basis,last and contract

Excel is giving the results with RHistory


I am getting basis using python with GET_TIMESERIES and GET_DATA.

But I am unable to get the results for Contract month and last price. I doubt i am passing a wrong field name.

Looking in the data item browser also not helping



Seems like the get_timeseries don't have the data.

But I don't have the right field names for get_data.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
eikon12.jpg (54.3 KiB)
python.jpg (86.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.

Upvotes
Accepted
17k 80 39 63

Hi @bibin.jose,

To help you understand what you are able to do today with the Eikon Data API is to filter the fields that support your requirements within the Data Item Browser. For example, in the screenshot below, I'm selecting only those fields that have historical values captured:

The historical contract month and last price fields are not available.


ahs.png (51.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.

Upvotes
39.4k 77 11 27

I'm afraid Eikon Data APIs are not yet on par with data retrieval capabilities available through Excel or legacy Eikon APIs. At the moment the only Eikon APIs that are capable of retrieving the data you're after are legacy Eikon .NET APIs and RHistory library of Eikon COM APIs (the latter can only be used in Excel VBA).

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.