Retrieve the complete list of RICs of an exchange using Eikon Data Python API?

I am looking for the way to use Eikon Data Python API to retrieve the complete list of RICs of a given exchange.

Best Answer

  • Alex Putkov.1
    Alex Putkov.1 ✭✭✭✭✭
    Answer ✓

    Here's an example retrieving the full listing on Australian Securities Exchange. The screener returns the max of 5K rows. If the listing exceeds 5K, then additional criteria need to be used to narrow the search and break the result. E.g. you can retrieve all stocks listed on an exchange with the market cap more than X, then with the market cap between X and Y and then with the market cap less than Y.

    ek.get_data('SCREEN(U(IN(Equity(active,public,primary))/*UNV:Public*/), IN(TR.ExchangeMarketIdCode,"XASX"))','TR.CommonName')

Answers