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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 1

Historic Fixed Income Fields

I just run into an issue with my get_data() function in Python API. For example:

check, err = ek.get_data(['00138CAK4='],

['TR.MIDPRICE.date', 'TR.ISIN', 'TR.CUSIP', 'TR.FiPrice', 'TR.FiCurrency', 'TR.MIDYIELD', 'TR.FiMaturityStandardYield','TR.FiOptionAdjustedSpreadDuration'],

{'SDate': '20191231', 'EDate': '20200930', 'FRQ': 'M'})


It turns out only the field “TR.MIDYIELD” would support historical data while the rest only gives current value whatever dates I put into the formula.

Is there’s any way to retrieve these fields historically (assuming RDP library but a sample code would be great) or indeed see what fields are time series without going into DIB.

Best,

Danny

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
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.

Upvotes
Accepted
20.3k 73 10 20

Hi @danny.mullins1

Not all fields are available in the timeseries database.

Please refer to this existing post which talks about the difference between historical and realtime data fields.

It also shows how you can use the DIB to identify fields which support timeseries.


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.

Upvotes
39.2k 75 11 27

@danny.mullins1

The easiest way to check what fields are available as timeseries from RDP is to visit Refinitiv API Playground, navigate to the API of interest (in this case /data/historical-pricing/v1/views/interday-summaries/), add the instrument to the sample request including all fields and see what comes back.

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