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?

Best Answer

  • @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

Answers