Is it possible to get the currency of an instrument using Eikon API
If I was using Exel the field is CF_CURR, but am I limited to only TR. fields when using the API ?
Attachments: Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.
Hi @fergal.twomey you can use non TR. fields as well - see below:
RICS = ['VOD.L']
fields = ['CF_CURR']
df,err = ek.get_data(RICS,fields)
Exchange is 'CF_EXCHNG' and regarding country there are a number of options - have you used the Data Item Browser? (type DIB into the Eikon Search bar) - you can look at all the fields available by searching on a keyword such as exchange or country etc. Its a really excellent data discovery tool. Note you can also check available parameters and if you type in an instrument you can also get the values to zero in exactly on which field you want.
Thank you - that helped.
I was passing sedol or ISIN as the instrument and it was not returning CF_CURR, but once I used ticker symbol it worked. Thank you.
What about Exchange and MSCI Country filed ?
Is it possible to get this data too ?
Thank you !
Convert Currency Number to Name
Getting currency code for a security
== How to apply with Python Eikon API using C# .NET Framework IronPython ? ==
Low Latency API C#
Get Price Data in C# Web API