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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
5 0 1 0

Retrieve historical benchmark curve data

Hi

I am trying to get data for a benchmark curve (say 0#GBBMK=) so I'm using:

df, e = ek.get_data(['0#GBBMK='], ['MATUR_DATE', 'COUPN_RATE', 'RT_YIELD_1'] )

which gives me the most recent data for the curve.

How do I get the same curve for a different date? I have tried using Sdate and Edate, but I couldn't get it to work. Thanks.

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonhistorical
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

Upvotes
Accepted
18.1k 21 12 20

Hi @riccardop

MATUR_DATE, COUPN_RATE and RT_YIELD_1 fields do not support time series.

You can use Data Item Browser to confirm this.

I think you can use TR.MIDPRICE and TR.MIDFIELD fields.


If these fields are not what you are looking for, please contact Refinitiv Content Helpdesk at https://my.refinitiv.com/ to get help on what field you should look for.


ahs2.png (103.1 KiB)
ahs.png (43.3 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.