New posts are disabled while we improve the user experience.

You can browse the site, or for urgent issues, raise a query at MyAccount.

question

Upvotes
Accepted
1 1 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-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apibonds
icon clock
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

· Write an Answer
Upvotes
Accepted
4.6k 27 7 22

Try using the following:

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

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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