Getting currency code for a security

When I request the currency of a RIC like DTEGn.DE using the Eikon Data API using Python (streaming MarketPrice domain), I don't get back the ISO code (EUR) but a number (978). How can I translate this into the ISO currency code string?

Similar problems are found with other fields, e.g. CF_EXCHNG for the name of the exchange the security is traded on.

Best Answer

  • m.bunkowski
    Answer ✓

    Hi @GoGoGroundhog

    The logic of enumerated values you find in the enumtype.def file that can be located in the default Thomson Reuters Eikon location:

    \AppData\Local\Thomson Reuters\Eikon User\Cache\UUID\PersistentFiles\Config\RealTime

Answers