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?

Best Answer

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

    image


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

    image

    You can add or remove any fields or RIC.

Answers

  • Hi @GABRIEL.ESQUIVEL

    You may also be able to use the symbology conversion facility to convert cusips to RICs e.g.

    ek.get_symbology('<your cusip>', from_symbol_type = 'CUSIP', to_symbol_type = 'RIC', bestMatch=False)