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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 2 4

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-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikontime-series
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

Upvotes
Accepted
47.4k 111 44 60

@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 512.0 KiB each and 1.0 MiB total.