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?
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
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?
Try using the following:
df, e = eikon.get_data(["PTOTEMOE027="], ["TR.BIDPRICE.date", "TR.BIDPRICE.value"], parameters={'SDate':'20171215', 'EDate':'20180102'})