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 1 5 5

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-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apitime-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

· Write an Answer
Upvotes
Accepted
83.1k 281 53 77

@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.

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.