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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
5 1 0 4

How to get the exchange rate with Python Eikon API

I am trying to extract the exchange rate using the cusips with ek.get funtion, is this possible?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonapi
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
18k 21 12 20

Hi @GABRIEL.ESQUIVEL

You can use RIC code to get BID and ASK data.

On Eikon Desktop, please F4 to open a Quote app and input FX= to open a list of FX RICs.


On Python code, you can follow this sample to retrieve the information:

You can add or remove any fields or RIC.


ahs.png (131.0 KiB)
ahs2.png (8.1 KiB)
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