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