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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
7 1 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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythontime-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 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvote
Accepted
18k 21 12 20

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

Click below to post an Idea Post Idea