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

Timeseries data for Maturity Date

Hello,

I would like to get time series data for the field 'DAYS_MAT' as I need to calculate the number of pips per day based on fx forward pips.
I am currently using
ek.get_timeseries(['CNH3M='], fields = 'DAYS_MAT')

but this is not generating the DAYS_MAT field. May i know if there's a way around this?

Thank you.

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apimaturity
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
10.1k 18 6 9

@Yusheng Wong The get_timeseries call has a limited data model. Please try the following:

df, err = ek.get_data(['CNH3M='], fields = 'DAYS_MAT')
df

I hope this can help.


1602066304810.png (13.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.