Retrieve the Parent equity RIC with bond ISIN: Incomplete lists
Hi all,
I am trying to retrieve the parent euqity RIC using the bond ISIN. Following the previous tasks and questions proposed like Retrieval of Parent equity close prices via Bond RIC - Forum | Refinitiv Developer Community and Retrieval of Equity Instrument Data via Bond Instrument Identifier - Forum | Refinitiv Developer Community I use the following codes:
df = pd.read_excel(' ')
print(df[:3]
parent = df['Parent Immed Org ID'].astype(str).tolist()
df2, e = ek.get_data(parent, ['TR.RIC','TR.PrimaryQuote','TR.OrganizationID']
Most of the equities RIC are obtained, however, some of the RIC are missing. For example, the bond ISIN is 'AT0000A2JSN2'( with Isser Name is 'EVN AG', whose Parent Immed Org ID is '105701684'), whose equity RIC can not be found.
Is there any other way that I can get these RICs?
Many thanks.
Best Answer
-
Thank you for reaching out to us. There are a lot of IDs.
df, err = ek.get_data(['AT0000A2JSN2'],['TR.UltimateParentId',
'TR.FiParentOrgID',
'TR.FiIssuerOrganization',
'TR.FiParentImmedOrgID','TR.RIC'])
dfThen, I used those IDs to get TR.RIC.
df, err = ek.get_data(["5000003197","109442","10024","105701684"],
["TR.RIC","TR.CommonName","TR.IsPublic"])
dfAs far as I know, RICs are available for public organizaions.
1
Answers
-
Hi Jiralongse,
Thank you for your response. May I ask if there is a way that I can only retrieve RICs of common shares (ordinary shares) and exclude the preference shares? Many thanks.
0 -
Can you provide sample instruments that return preference shares?
Typically, the get_data method retrieved data by using instruments and fields. Each field has its own parameters. You can use the Data Item Browser to search for fields and parameters.
Otherwise, you can use the search feature in the Refinitiv Data Library for Python to search for instruments. For more information, please refer to this Building Search into your Application Workflow article.
You can also refer to the sample code on GitHub.
0 -
Hi @Jirapongse
For example, I used your suggested code to retrieve RICs like follows:
df = pd.read_excel('')
print(df[:3])
parent = df['Issuer Organization ID'].astype(str).tolist()
df2, e = ek.get_data(parent, ['TR.RIC','TR.PrimaryQuote'])However, I notice that for bond isin code 'BRTRPLDBS071','BRTRPLDBS089',whose issuer name is 'CTEEP - COMPANHIA DE TRANSMISSAO DE ENERGIA ELETRICA PAULISTA' with issuer Organization ID as '137140'. Its RIC retrieved from the API is 'TRPL4.SA', which is a referred stock RIC, however, when I find it by the issuer name through workspase, the listed RIC is 'TRPL3.SA', which is ordinary stock RIC. Is there a way to only get the ordinary stock RIC through the code?
Thanks!
0 -
I recommend you to use rd library where you can use search to get more customized results that you are after:
import refinitiv.data as rd
from refinitiv.data.content import search
rd.open_session()
isin = 'BRTRPLDBS089'
response1 = search.Definition(
filter = f"ISIN eq '{isin}'",
select = 'IssuerOAPermID').get_data()
IssuerOAPermID = response1.data.raw['Hits'][0]['IssuerOAPermID']
response2 = search.Definition(
filter = f"IssuerOAPermID eq '{IssuerOAPermID}' and RCSAssetCategoryLeaf eq 'Ordinary Share'",
select = 'RIC,RCSAssetCategoryLeaf',
top=1).get_data()
response2.data.df1
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 中文论坛