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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonmaturity
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.

1 Answer

Upvotes
Accepted
6.7k 8 6 7

@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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea