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 3 3 3

How to download historical bond prices without getting the yield in the Python API?

Hello, I am trying to download historical price series for bonds using the Python API, however using TR.MIDPRICE I am getting the yields instead of the prices.

Anyone has any idea how to do?

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

<AHS>

Hi @jason.ramchandani

Do you have any updates on this question?

Hello @francesco.meglioli.15

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?


If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.

Thanks,


AHS

@francesco.meglioli.15

Hi,

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

Thanks,

AHS

Upvotes
Accepted
10.2k 18 6 9

@francesco.meglioli.15 you can use TR.FiPrice or TR.FIPrice - or an evaluated closing price field such as TR.FiPricingClosingPrice. See screenshot below from the Data Item Browser app (type DIB into eikon search bar):

1625815557914.png


1625815557914.png (301.6 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.

Upvote
10.2k 18 6 9

@francesco.meglioli.15 Please could you give an instrument RIC you are looking at?

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.

One RIC which does not work is this "9127964B2=" .

Thanks a lot

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.