Is it possible to request timeseries data using local exchange time instead of GMT?
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
Is it possible to request timeseries data using local exchange time instead of GMT?
Hi Igor,
All date values in request parameters and retrieved data are in GMT.
You can unlocalize request parameters then localize result to have date and time in local zone instead of GMT.
You'll find an example here to localize request parameters : https://community.developers.refinitiv.com/questions/16879/eikon-api-time-zone-in-time-series.html
To unlocalize result, I don't have yet an example.
No need to unlocalize at this moment.
So,
start_date=datetime.datetime(2017, 1, 3, 7, 12, 30, 214000, tzinfo=tzlocal())
So this will convert 2017-1-3 7:12:30 from my local time to GMT?
Sorry,
I didn't see your question.
Your example : start_date is localized in your local timezone.
Then you can request timeseries data using local time
=> ts = eikon.get_timeseries(..., start_date=start_date, ...)
The limit : result will contain corresponding range of dates but in GMT.
Hello @pierre.faurel
Will you be able to further confirm on this subject, per additional question from the developer?
Thank you
Hi @igorg
The API - get_timeseries() returns time in GMT only.
You can use other 3rd package to convert the time to your local time.