Extracting RICs of LSE AIM companies

I'm trying to get the rics of just the companies listed on the AIM section of the LSE using the Eikon data api.
To get the rics of all the companies listed on the LSE I could do something like:
ek.get_data('SCREEN(U(IN(Equity(active,public,primary))), IN(TR.ExchangeMarketIdCode,"XLON"))','TR.RIC')
where I've used the LSE MIC "XLON" for the exchangemarketIdCode.
(I copied this example straight from https://community.developers.refinitiv.com/questions/29855/retrieve-the-complete-list-of-rics-of-an-exchange.html)
How do I filter out non-AIM companies? Is there any documentation for SCREEN anywhere? It seems like a very powerful tool but there's nothing about it on the documentation page https://docs-developers.refinitiv.com/1595933859823/14684/book/en/eikon/index.html#get_data
Best Answer
-
To learn about using the Screener see the article titled "Find Your Right Companies with SCREENER".
I don't believe you can distinguish between the companies listed on various markets of LSE using the Screener. However, you can add the field "MIC_CODE" to the list of fields you request. For stocks that are traded on AIM the value returned for this field is "AIMX", thus you can select AIM stocks using
lse_listing_df, err = ek.get_data(
('SCREEN(U(IN(Equity(active,public,primary))),'
'IN(TR.ExchangeMarketIdCode,"XLON"))'),
['MIC_CODE'])
aim_stocks_list = lse_listing_df.loc[
lse_listing_df['MIC_CODE']=='AIMX','Instrument'].tolist()0
Answers
-
Thanks a lot for your answer. Both for your link and the example.
Originally I tried to find something like "MIC_CODE" in the data item browser but could only find "TR.MIC" which was empty and "TR.OperatingMIC" which pointed to XLON for (i think) everything on AIM. I tried searching for "MIC_CODE" just now for an AIM listed company but couldn't find anything:
If I had known this attribute actually exists I would have saved a lot of time! Given that I can't rely on the data item browser to work out if an attribute actually exists, is there a better way?0 -
Alternative way is to contact Refinitiv Content Helpdesk.
The Refinitiv Content Helpdesk can be reached using Contact Us capability in your Eikon application.
Or by calling the Helpdesk number in your country.
Or at https://my.refinitiv.com/0 -
Unfortunately not all real-time fields are listed in Data Item Browser app and we're looking to address this. In the meantime the best way to view the list of real-time fields available for a RIC is to display the RIC in a Quote app in Eikon application, then right click within the Quote window and from the right-click menu select Templates - Display All Fields. This will display the raw real-time record as a vector of field name/value pairs.
0
Categories
- All Categories
- 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
- 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
- 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
- 629 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
- 86 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛