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.

Upvotes
Accepted
8k 15 5 8

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
56.1k 145 45 65

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