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
3 0 0 1

return date in get_data query

Is it possible to display the respective time print on the following get_data query:

ek.get_data(instruments='086790.KS',fields='TR.NonperformingLoansPctofLoans',parameters={'Frq':'Y','SDate':'2015-01-01', 'EDate':'2021-01-01'})

The problem is among other things that the returned values are not in line with the date display/timeprint in Eikon.

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.

1 Answer

· Write an Answer
Upvotes
Accepted
78.1k 246 52 72

@mika.kastenholz1

You can use the TR.NonperformingLoansPctofLoans.Date field, as shown below.

df, err = ek.get_data(instruments='086790.KS',fields=['TR.NonperformingLoansPctofLoans.Date',
                                                      'TR.NonperformingLoansPctofLoans'],
                      parameters={'Frq':'Y','SDate':'2015-01-01', 'EDate':'2021-01-01'})
df

You can use the Data Item Browser (DIB) to see all values in the TR.NonperformingLoansPctofLoans field.



1598249143017.png (46.3 KiB)
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.