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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythontime-zone
icon clock
10 |1500

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

Upvotes
Accepted
11.5k 16 7 10

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 5.0 MiB each and 10.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 5.0 MiB each and 10.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.

Click below to post an Idea Post Idea