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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 1 3

Show timestamp in minute interval time series

Hi All,

How do you display the timestamp when caling minute interval time series data?

I'd like to use the code below-


date_time = pd.to_datetime(df.pop('Date Time'), format='%d.%m.%Y %H:%M:%S')


But require the date in a column


df= ek.get_timeseries(['EUR='],

start_date=datetime.timedelta(-90),

end_date=datetime.timedelta(0),

interval='minute')

list(df.columns.values)

['HIGH', 'LOW', 'OPEN', 'CLOSE', 'COUNT']
eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythontime-series
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
38.1k 71 35 53

@jeremy.cahill

The timestamp is available in the index attribute.


1608523808567.png (34.4 KiB)
1608523879147.png (31.4 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