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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Eikon Python API - close prices after market closes for Baltic Exchange Supramax Index (.BSIS) and CRB Index (.TRCCRB)

I am trying to get the daily close price for for Baltic Exchange Supramax Index (.BSIS) and CRB Index (.TRCCRB) after the market closes. I run my script around 6:50pm UK time but the close price for the current day come up as 0. This is my code below:

start_date =str(datetime.date.today() - datetime.timedelta(80))

end_date = str(datetime.date.today())


df_real_time = ek.get_timeseries(['/.BSIS', '/.TRCCRB ' ],

start_date = start_date,

end_date = end_date,

fields = ['*'],

interval = 'daily')

eikon-data-apipython apimarket-by-pricethomson-reuters
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.

1 Answer

Upvotes
Accepted
31.6k 37 11 19

Hello @BSeed,

Running your code, I do not reproduce 0s at the moment, which is likely because today's closing prices are not part of the time series yet.

If on the next day, you find CLOSE prices for the previous day populated as expected, than is your primary interest is to find out what time this content becomes available and to run the request accordingly? If it is what you are looking for, than a Refinitiv content expert should be able to help, you can submit the question directly online via Refinitiv Helpdesk Online -> Content -> Eikon or let us know and we can give a hand by submitting the question on your behalf.

Otherwise- please let us know

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.