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

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-apipythonworkspacerefinitiv-dataplatform-eikonworkspace-data-apicodebook
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

· Write an Answer
Upvotes
Accepted
39.4k 78 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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