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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 2 3 1

Can´t get FX rates from Eikon API

I am trying to download a time series from 2010-12-31 with FX-rates but I only get 1 year of data. However, when I reduce the number of RIC-codes to one then I get a complete time series. Can somebody help me figure out why I cannot get a full time series?


today = datetime.now() #dagens datum


FXrics=['EURSEK=','EUR=','EURGBP=','EURDKK=','EURNOK=']


data = pd.DataFrame()


data[FXrics]=ek.get_timeseries(FXrics, # the RICs

fields='CLOSE', # close field

start_date='2010-12-31', # start date

end_date=today) # end date


newcols={'EURSEK=','EUR=','EURGBP=','EURDKK=','EURNOK='}



eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikontime-seriesforex
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
39.3k 76 11 27

See the answer to similar question on this previous thread.

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.