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

Time Zone in get_data

Hello, when I pull data using the following code, for some reason the information about Time is pulled in GMT but I need it en EST.

df, err = ek.get_data(

instruments = ['Cusip=FINR'],

fields = ['PRIMACT_1', 'NETCHNG_1', 'ACVOL_1', 'VALUE_TS1', 'VALUE_DT1', 'TR.FiIssuerName']

)


I can retrieve all information properly, but VALUE_TS1 values are pulled in GMT unfortunately.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

Hello @Javier Alonso.Madrigal Vargas,

I am likely missing some of the question, so it may be helpful to clarify with the exact request that you run when you get GMT results back:

  • FINR does not look like a valid CUSIP?
  • The request, if run as is, does not result in valid result for me?
  • Via Data Item Browser tool, available on Eikon desktop, one can verify if field request supports any parameters, such as Time Zone selection. I do not believe Time Zone can be selected, for isntance, for VALUE_TS1 field. But I can not reproduce exactly what you request, so can not tell for certain.

Hello @Javier Alonso.Madrigal Vargas,

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

1 Answer

· Write an Answer
Upvotes
Accepted
9.6k 10 7 7

Hello @Javier Alonso.Madrigal Vargas

Please see the answer in this question which shows how to convert GMT to another 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.

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.