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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 1

how to determine timezone from 'ek.get_timeseries' python function

Hi,

I tried to use Help(ek.get_timeseries) but am unable to find the parameter for timezone. How do i know which time zone the data is pull in?

This is because the minute data do not match what I pulled in from excel

Thanks

WL

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikontime-zone
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.

Upvotes
Accepted
14.3k 23 8 12

Hello @wei-li.tan

The return data is in GMT time zone. Please see more detail in this post answer.

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.

Upvotes
1 0 1 1

Thanks for the reply. Is there a way to change the timezone?

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.

No, get_timeseries method always returns timestamps in GMT. If you need to convert the timestamps to another timezone, you need to do it in your code. You can find an example of converting DatetimeIndex in pandas dataframe index from GMT to the timezone of your choice on this thread.