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
5 4 2 6

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apiapi
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

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

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