Default price for bonds - Python API

With Datastream it is possible to retrieve Default Prices for bonds - for time series. If my mind serves me right it is MPD.

Is there an equivalent code for Eiokn, specifically the Eikon API for Python?

Best Answer

  • Hi @blucap

    Here is an example you can use to retrieve the time series of a bond using an ISIN as an input

    ek.get_data('DE000DB7XHP3',['TR.BIDPRICE.date','TR.BIDPRICE'],{"Sdate":'2016-01-01', "Edate":'2016-01-31'})

    image

Answers