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 0 0 0

Our client would like to get FX data,e.g. "JPY=".Is codebook provide data with interval=minute、fields=['Timestamp','Close']?

data = ek.get_timeseries('JPY=',

fields=['Timestamp','Close'],

start_date = '2021-09-13',

end_date = '2021-10-14',

interval='hour')

data.head()

eikon-data-apipython#contentcodebook
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.

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

Upvotes
Accepted
14.2k 30 5 10

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)

1669969779365.png

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'
1669969907474.png


1669969779365.png (21.6 KiB)
1669969907474.png (53.5 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.

Upvotes
78.8k 250 52 74

@Olivia.Zhang

Thanks for reaching out to us.

I think that it maintains one year of intraday summary data.

1669886337758.png



1669886337758.png (25.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.