Upgrade from Eikon -> Workspace. Learn about programming differences.

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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 2 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apitime-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.

@wei-li.tan

Thank you for your participation in the forum.


Is the reply below satisfactory in resolving your query?

If yes, please click the 'Accept' text next to the appropriate reply.

This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.


Thanks,

-AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
24.6k 54 17 14

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 2 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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