For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted

How to pull list of LSE Stocks in Codebook app?

Hi Team,

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

eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikoncodebook
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
39.3k 76 11 27

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)"

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.