Is it possible to write an algorithm to find similar companies for each firm in the given sample?

Hello!
I am writing a Thesis where I exploit news shocks to see the effect on the stock prices of the companies. Now I have a sample with several hundred companies and there characteristics downloaded from Eikon (treated sample). It is necessary to find a control companies to each firm in the sample, basing on different characteristics such as industry, size, country, etc. It will be very painful to do it manually, i.e. using criteria search.
I know that i is possible to retrieve all peers for a company using Python, but I am not sure whether they will be good as a control companies. Ideally, I want to write a function that has some firms characteristics in input and gives me list of companies which satisfies these criteria (+- some allowed deviation).
Could you, please, advice me some way how to do it algorithmically?
Thank you very much!
Nikita
Best Answer
-
@i-sergeeich you need to take a look at the screener app that does exactly that. A screener query/expression can then be exported into either Excel or Python. So:
- Go to Eikon Excel > Thomson Reuters > Screener
- Select criteria and preview the output
- Once you are done click on 'Insert Screen' which is going to paste the screener query into your spreadsheet
- Copy the 'Universe' parameter of the =TR function into your Python code and remove double quotes
- Use the query as an input to your get_data function
Hope this helps!
0
Answers
-
@Zhenya Kovalyov, I am so so sorry for the long answer. I did a mistake, so I am collecting the sample again and haven't tried the solution yet. Therefore, I couldn't answer about the positive results. Could I leave the question open just in case something will go wrong? Thank you very much for the help!
0 -
I sincerely apologise for no answer, I wrote the reason below (see reply to Evgeny post). Please, if it is possible, leave the question open. I will report about the results as soon as possible. Thanks!
0 -
@i-sergeeich sure, it is a community forum, it's going to stay open until you accept it as the correct answer.
0 -
@Zhenya Kovalyov, thank you very much! It works and I received excellent for my thesis..)
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛