For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

jnolting avatar image
1 0 1 1

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?

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikonbonds
1 comment
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sorry in the formula, the BID should have been CLOSE.

1 Answer

Zhenya Kovalyov avatar image
4.6k 26 7 22

Try using the following:

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

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.