Retrieve list of instruments for all stocks on an exchange

Greetings
I wish to perform breadth analysis on an exchange. How would I go about getting a list of all issues/stocks on an exchange that I need to query?
Regards, and thank you
Best Answer
-
You can do so by using on of the COM APIs RSearch (here is the tutorial and the related download). Your asset class in this case will be "EQUITY", and the search criteria look like this (for example, London Stock Exchange):
"ExchangeCode: 'LSE' IsPrimaryQuote:Yes"
The result will be the full list of shares traded on LSE.
0
Answers
-
any .net sample code for this? thanks
0 -
comapiusageexamplesyncsearchapi.zip
Here you are. Make sure you reference Interop.Rsearch.dll from the correct location, so it compiles.
%PROGRAMFILES(X86)%\Thomson Reuters\Eikon\<X, Y or Z folder>\Bin\Apps\TR.OFFICE.CORE\0.0.0.0\Bin\Interop.RSearch.dll
To see your active version of Eikon and determine with folder (X, Y or Z) to use, you can open
%PROGRAMFILES(X86)%\Thomson Reuters\Eikon\Eikon.exe.xml and read the BinFolder tag.
0 -
Hi,
Trkd api is a demand based product and is not meant for bulk download. The maximum no. of results one can fetch is 4020 therefore you need to apply filters to refine the result.
You need to apply filters like exchange code = LSE, asset catergory = ORD and GICS code = 10102010 to get the results.
Thanks
Muzammil
0 -
Thanks for your post Muzammil. This is very insightful information about the bandwidth limits designed for TRKD API usage. However I believe @armandnaude is looking for a solution within Eikon, by posting in the Eikon COM forum. This can be confusing as both Eikon COM and TRKD host a function called RSearch
0 -
Greetigns Zhenya
Is it possible to do this type of query at a point in time (specific day) in the past?
Thank you kindly for all your help!0 -
Hi @armandnaude! I could not find a search criteria like that, so looks like no.
0 -
When I use the RSearch function, I can only retrieve up to 2000 instrument at a time. Is there any way to handle this issue? Thanks.
0 -
Generally no. For some searches you may be able to order the results by some criteria and use the result of the previous query as a criteria for the next one, thus retrieving the next batch of 2K instruments. E.g. if you're searching for all stocks listed on an exchange you can order the result by market cap descending. Then use the lowest of the market cap for stocks in the result set as an additional criteria for the next query, e.g. "ExchangeCode:'FRA' MktCapCompanyUsd:<..." and so on. But this is only possible for some searches.
0 -
I see that the repository is not available anymore, is there an easier way to do it now days?
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 33 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 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
- 248 ETA
- 552 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
- 2 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.8K Refinitiv Data Platform
- 622 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
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 83 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛