How to convert tickers symbols to RIC
I have a list of company ticker symbols (not RICs). I am trying to get the RIC for these ticker symbols. When I use the "rdp.convert_symbols" I am only getting the RICs for the symbols that are the same as RICs. How can I get the RICs for all my symbols?
symbols = ["NOVN", "CELG", "JNJ", "RDUS", "BMY", "TGTX", "UCB:BB", "STOK",
"LLY", "CTRV", "PSTI", "SNSS", "MRKR", "SRRA", "JAZZ", "AZN",
"CDTX", "CAH", "AKCA", "IONS", "CTIC", "ESALY", "SOBI:SS", "AMPE",
"DMYDY", "WSE:SLV", "ZGNX", "MDG:GR", "INSY", "PGNX", "ABBV",
"IMV", "GWPH", "4503:JP", "MRNS", "ARQL", "TAK", "GNP:IN", "4508:JP",
"NERV", "ACRX", "LQDA", "BTAI", "TYO:4901", "ONCS", "MRSN", "NGM",
"CYAD", "SYRS", "PLED:SS", "ACTI:SS", "AIMT", "REGN", "XLRN",
"GILD", "RDY", "AGEN", "4507:JP", "PHIO", "LPCN"]
Thanks.
Best Answer
-
Please, correct me if I'm wrong, but it seems to me that your list of symbols consists of Bloomberg symbols, not exchange tickers. Examples like "UCB:BB", "4508:JP" or "TYO:4901" certainly don't strike me as exchange ticker symbology.
I'm afraid there's no mapping between Bloomberg symbology and RICs. If your starting point is Bloomberg symbology, your best bet is to use Bloomberg terminal to retrieve ISINs for the symbols in your list and then use RDP to convert ISINs to RICs.
The reason why you only got the results where the RIC is the same as your input symbol is because the default value of from_symbol_type kwarg of rdp.convert_symbols method is rdp.SymbolTypes.RIC. In other words by default the input symbols you provide to rdp.convert_symbols method are interpreted as RICs. You would get more results if you callrdp.convert_symbols(symbols, from_symbol_type=rdp.SymbolTypes.Ticker)
However, the above would still only provide the result where Bloomberg symbol is the same as exchange ticker. I.e. it won't return the result for "UCB:BB", "4508:JP" or "TYO:4901".
0
Answers
-
Hi @Alex Putkov. Thanks for your prompt reply. I thought there would be additional arguments (kwargs) to convert these, but I wasn't really sure where to find it. So thanks for point that out.
0
Categories
- All Categories
- 6 AHS
- 39 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
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛