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
1 2 4 6

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

@danny.mullins1

Thank you for your participation in the forum. Are any of the replies below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply that best answers your question. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
25.3k 87 12 25

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 512.0 KiB each and 1.0 MiB total.

Upvotes
39.4k 77 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 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.