Get all Index RICs for a particular country
Hello,
I'm trying to use the Eikon API (ideally) to get a list of all of the Exchange RICs for a particular country (say, all Exchange RICs for the United States). I've looked at the answer posted here. However, that doesn't really answer my question as I'm not interested in the constituents of the Exchanges, but instead am looking for:
1. Just the exchange-level index RICs for each exchange in operation in the country (ideally also historically-active exchanges that are no longer active)
2. A way to do this using the Eikon API for Python (or alternatively DSWS)
Would you have any suggestions for points 1 and 2 above please?
Thank you very much in advance!
Best Answer
-
@AAMZ Apologies if there is any confusion on my part but a colleague said you might be looking for all indices in a country as opposed to all exchanges. In this case things are as simple using the RDP Search API IndexInstruments view:
data =rdp.search(
view=rdp.SearchViews.IndexInstruments,
filter = "RCSIndexCountryGroupLeaf eq 'United States'",
top = 10000,
select ="DocumentTitle, RIC, LongName")
display(data)I hope this can help.
0
Answers
-
@AAMZ You can use the RDP Search API which you have access to with Eikon. The search returns are limited to a maximum of 10,000. See the code below:
import refinitiv.dataplatform as rdp
rdp.open_desktop_session('Your App Key Here')
data =rdp.search(
view = rdp.SearchViews.EquityQuotes,
filter = "RCSExchangeCountryLeaf eq 'United States'",
top = 10000,
select = "ExchangeCode",
group_by = "ExchangeCode",
group_count = 1
)
display(data). I hope this can help.
0 -
Hi Jason, thank you very much for this helpful response! Yes indeed this is what I was looking for. And apologies for not responding sooner. I'm working out with my Refinitiv account exec on how to set up RDP and wanted to test this first. But anyway it looks like this is exactly what I'm after, thanks again.
0 -
Thank you--I've now done so. The delay is due to my needing to get RDP set up so that I could test the solution (still waiting for Refinitiv to get back to me). But I've accepted it anyway now.
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛