Get_Symbology from ISIN to RIC with currency
Royal Dutch Shell has a dual listing with the same ISIN on both LSE (GBX) and on AEX Amsterdam (EUR). The ISIN is the same but the currency is different. When carelessly converting symbology with this information for timeseries/portfolio value calculation can be very dangerous.
As shown below doing a lookup from ISIN to RIC with symbology can get the wrong currency listing. As I have lots of information from third parties from which I don't get a RIC. I am looking for a way to translate an ISIN and an ISOCURRENCY into the right RIC. This issue does not only occur at RDSa but also at many ETFS that are listed with the same ISIN on many different exchanges. How can I best tackle this?
get_symbology( symbol = ["GB00B03MLX29"]
, from_symbol_type = ["ISIN"]
, to_symbol_type = ["RIC"]
)
[[1]]
RIC
GB00B03MLX29 RDSa.AS
As shown below the transformation in the other direction goes ok.
get_symbology( symbol = ["RDSa.AS"]
, from_symbol_type = ["RIC"]
, to_symbol_type = ["ISIN"]
)
[[1]]
ISIN
RDSa.AS GB00B03MLX29
get_symbology( symbol = ["RDSa.L"]
, from_symbol_type = ["RIC"]
, to_symbol_type = ["ISIN"]
)
[[1]]
ISIN
RDSa.L GB00B03MLX29
Best Answer
-
Hello @laurens,
Now that I better understand what you are trying to do, identify the RIC for specific currency, how about :
- Get all RICs:
df = ek.get_symbology( symbol = ["GB00B03MLX29"] , from_symbol_type = "ISIN" , to_symbol_type = "RIC" , bestMatch = False)
ricList = df['RICs'].tolist()- Get currency per RIC
ek.get_data(ricList[0],['CURRENCY'])
- Pick the RIC with the appropriate currency from the received
Does this work for your use case?
0
Answers
-
Hello @laurens,
I think using:
ek.get_symbology( symbol = ["GB00B03MLX29"] , from_symbol_type = "ISIN" , to_symbol_type = "RIC" , bestMatch = True)
Is one way to avoid any difference, per Eikon Data API Reference this parameter will yield only primary RIC, of which there can be only one.
Will this help?
0 -
Thank you very much for your fast response. Much appreciated. I am aware of the BestMatch option. Unfortunately, if I have a list of portfolio stocks with an ISIN and ISOcur. it is not so helpful which stock is considered the primary ric. Calculating the portfolio value is not possible without being able to pinpoint the value of the stock in the correct currency. If I own RDSa stock in GBP currency I believe that I am unable to calculate the correct portfolio value if I have an ISIN and isocur.
0
Categories
- All Categories
- 6 AHS
- 38 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 中文论坛