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

Eikon API get_data TR.SETTLEMENTPRICE returns time series, SETTLE only latest point, how to get more SETTLE data?

Looking at coal futures ATWMc1, the following request returns last weeks settlements

df, err= ek.get_data('ATWMc1', ['TR.SETTLEMENTPRICE.date', 'TR.SETTLEMENTPRICE'], {'SDate':'-5D', 'EDate':'0D'})
df

whereas

df, err= ek.get_data('ATWMc1', ['SETTLE', 'SETTLEDATE'], {'SDate':'-5D', 'EDate':'0D'})
df

only returns the last settlement.

Values seem to differ (the lower is the correct settlement price from the ICE).

How to download a time series based on SETTLE (and what is returned in the first query, it's not the settlement for sure...)?

Thanks for your help!

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apitime-seriessettlement
1587999346282.png (5.4 KiB)
1587999392552.png (1.8 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.

1 Answer

· Write an Answer
Upvote
Accepted
18.2k 21 13 21

Hi @arndf

You can use Data Item Browser to check that the "SETTLE" and "SETTLEDATE" fields do not support timeseries.


Here is tutorial on how to use Data Item Browser.


ahs.jpg (224.8 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.