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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
25 2 7 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-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpython
icon clock
10 |1500

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

1 Answer

Upvotes
Accepted
38.1k 69 35 53

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 5.0 MiB each and 10.0 MiB total.

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

Click below to post an Idea Post Idea