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
16 3 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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apitime-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.

Hello @nicklas.rehnby

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

@nicklas.rehnby

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 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.

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.