Get list of constituents of an issuer curve
Hi,
Does anyone know how I can get a list of constituents of an issuer curve like '0#DEAAAEURAGEBMK='?
In the Data Item Browser, I can only find "TR.IndexJLConstituentsName", which shows the last constituents that joined or left. Is there a way to obtain the full list of constituents?
Thanks.
Best Answer
-
Hi @Michael.Medvedovski ,
Here is the equivalent code in RD:
import refinitiv.data as rd
from refinitiv.data.discovery import Chain
rd.open_session()
chain_rics = Chain(name="0#DEAAAEURAGENCY").constituents
rd.get_data(chain_rics, ['OFFCL_CODE','DSPLY_NAME','COUPN_RATE','MATUR_DATE','CF_BID','CF_ASK','RT_YIELD_1'])Best regards,
Haykaz
0
Answers
-
Hi @Michael.Medvedovski ,
Is this what you're looking for?
import refinitiv.data.eikon as ek
ek.set_app_key('DEFAULT_CODE_BOOK_APP_KEY')
df, err = ek.get_data(['0#DEAAAEURAGEBMK='], [ 'DSPLY_NAME'])
dfHowever, I'd like to introduce the newer RD Library the provides a simplified Chain interface as below.
import refinitiv.data as rd
from refinitiv.data.discovery import Chain
rd.open_session()
c = Chain(name="0#DEAAAEURAGEBMK=")
print(c.constituents)You should have an access to the RD Library - desktop session if you are currently having an access to Eikon Data API, more detail can be found in the quick start guide
To learn more about chain object, feel free to check this article
0 -
Thank you very much @raksina.samasiri for your quick response.
However, what I actually meant was that I want to generate a list of the constituents (especially their ISINs), which are the bonds that were used to construct this issuer curve. I hope you are able to help me.
Bonds in the section "bond constituents":
Thank you!
0 -
Hi @Michael.Medvedovski ,
Thank you for an information, is this what you're looking for
df, e = ek.get_data(['0#DEAAAEURAGENCY'],['OFFCL_CODE','DSPLY_NAME','COUPN_RATE','MATUR_DATE','CF_BID','CF_ASK','RT_YIELD_1'])
df1 -
Thanks. Though this seems to work via eikon only currently. Does the refinitiv data library have that option as well?
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 中文论坛