data = ek.get_timeseries('JPY=',
fields=['Timestamp','Close'],
start_date = '2021-09-13',
end_date = '2021-10-14',
interval='hour')
data.head()
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
data = ek.get_timeseries('JPY=',
fields=['Timestamp','Close'],
start_date = '2021-09-13',
end_date = '2021-10-14',
interval='hour')
data.head()
Hello @Olivia.Zhang
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If so please can you click the 'Accept' text next to the appropriate reply? This will guide all community members who have a similar question.
Thanks,
AHS
Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.
Thanks,
AHS
Hi @Olivia.Zhang ,
I'd like to add that get_timeseries() function also supports 'minute' interval. (please adjust the end_date to get the data because as mentioned by my colleague, it maintains only one year of intraday summary data)
The code below can be used to check the available parameters of this function, for example,
help(ek.get_timeseries)
the output is as below
interval: string Data interval. Possible values: 'tick', 'minute', 'hour', 'daily', 'weekly', 'monthly', 'quarterly', 'yearly' (Default 'daily') Default: 'daily'
Thanks for reaching out to us.
I think that it maintains one year of intraday summary data.