Getting the closing price for a bond

The formula < eikon.get_timeseries("PTOTEMOE027=", "BID", interval='daily', start_date='2017-12-25', end_date='2018-01-02') > gives the closing yields. I want the closing prices. Can you help me?

Best Answer

  • Try using the following:

     df, e = eikon.get_data(["PTOTEMOE027="], ["TR.BIDPRICE.date", "TR.BIDPRICE.value"], parameters={'SDate':'20171215', 'EDate':'20180102'})

Answers