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
25 3 12 10

[Python API] How to retrieve competitors or similar companies list

Hello, I am looking for a way to retrieve a list of competitors / similar businesses through the python API.
I attach a simple list like what there is in nasdaq.com (for IBM competitors): http://www.nasdaq.com/symbol/ibm/competitors

Is it possible to retrieve competitors in a similar way?

Thanks in advance for the help!

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

Hello @ant1bball

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?
If yes, please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,
AHS

Hi @ant1bball,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

Currently, you can a Screener function with Eikon Data API so it can be used to retrieve required information, as shown below.

screener_exp = "SCREEN(U(IN(Peers('IBM.N'))), IN(TR.ExchangeCountryCode,'US'),IN(TR.TRBCEconSectorCode,'57'),,CURN=USD)"

peers, err = ek.get_data(instruments=[screener_exp], fields=['TR.RIC','TR.CompanyName'])

This function finds RICs and company names which are peers of IBM.N, in the US country (TR.ExchangeCountryCode), and in the same Primary Thomson Reuters Business Classification (TR.TRBCEconSectorCode) as IBM.N (Technology (57)).

However, the support of Screener function in Eikon Data API can be changed in the future.

For more information regarding this formula, please contact Eikon Excel support team via Contact Us.

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.

It still works in 2021. Thank you so much for your answer

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.