How do I retrieve RIC codes of stock symbols for a country, e.g. Canada? I would like to retrieve this info preferably using the EIKON Python API.
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
How do I retrieve RIC codes of stock symbols for a country, e.g. Canada? I would like to retrieve this info preferably using the EIKON Python API.
Hello @vanderkroon
Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.
Thanks,
AHS
Awesome, great!
Two more things:
1) How or where do I find the country codes?
2) What if I wanted to add TR.CompanyMarketCap > 25000000 ?
Thanks in advance!
Refer to the product overview, the APIs provide access to the following content sets:
It doesn't provide a search functionality.
Currently, you can use Screener with Eikon Data API. However, it is not yet officially supported by Eikon Data API.
Screener can provide the list of RICs by Country of Exchange. The snippet code is:
screener_exp = 'SCREEN(U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.ExchangeCountryCode,"CA"))' companies_data, err = ek.get_data(instruments=[screener_exp], fields=['TR.RIC']) companies_data