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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
16 1 2 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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythontime-seriesforex
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
39.2k 75 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 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea