I am posting in behalf of a client.
Client is using CODEBOOK in Eikon Desktop. He wants to pull list of London Stock Exchange Stocks. Please advise on how to do it? and/or provide the correct function in codebook that does get_stocks_from_exchange
Here's an example using Eikon Screener.
screener_exp = 'SCREEN(U(IN(Equity(active,public,primary))), \ IN(TR.ExchangeMarketIdCode,"XLON"))' df, err = ek.get_data(screener_exp, ['TR.CommonName']) df
For more info on using Eikon Screener with Eikon Data APIs see article titled "Find Your Right Companies with SCREENER | Eikon Data APIs(Python)"