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?
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
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?
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
Hi,
Please be informed that a reply has been verified as correct in answering the question, and marked as such.
Thanks,
AHS
@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):