Hi,
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 ?
Thanks,
Fergal
For a deeper look into our Eikon Data API, look into:
Overview | Quickstart | Documentation | Downloads | Tutorials | Articles
Hi,
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 ?
Thanks,
Fergal
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) df
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.