How to dynamically get a list of bonds from Eikon Python API or Pydatastream
I currently have a list of hundreds of Latinamerican bond ISINs on a CSV file. I have a script with both the Python Eikon API and Pydatastream that obtains a list out of the CSV and does analysis on the bonds. However, I run into issues every week because the list is static and a some number of the bonds get called every week and the query fails. So I have to manually go into the CSV file to check which bonds were called. I would like to be able to dynamically get a list (maybe searched-base) of Latam bonds and be able to return their ISINS, instead of having to manually update a CSV file. Any idea on how to do this?
Best Answer
-
Eikon Data APIs currently do not provide criteria search capability for bonds. The only Eikon API that provides this capability at the moment is RSearch COM library.
Using Eikon Data APIs you can however easily check if a bond is active using TR.FiIsAssetActive field. Retrieve the value of this field for your list of ISINs and filter out all issues where the value of the field is 'N' before submitting the list for further analysis.0
Answers
-
Thank you!
0 -
Is there a way to obtain the constituent list of a Latam bond index directy through the API?
0 -
I'm not a content specialist, but I don't believe we carry bond index constituents in Eikon at all. You can verify this by reaching out to TR Helpdesk by either calling the Helpdesk number in your country or by using Contact Us capability in your Eikon application. Or if you know otherwise, i.e. you know that constituents for the bond indices you're interested in are available through Eikon, would you mind giving an example of such index and how you see its constituents in Eikon?
0 -
@victor.delima, Can you provide further detail about the 'Latam bond index'?
0 -
There are some indexes composed just of Latam bonds. Although that is not really important, what I really need is to be able to dynamically query a bond universe.
0 -
the only way to reliably obtain a list of fixed income instruments is though a search query, and that's the RSearch COM API.
Several possible workarounds would be (much less reliable):
- getting the TR.BondIsin field for a company (private or public);
- getting a list from specialised instrument chains, like 0#BREUROSAZ= for brazilian straight Eurobonds. A good starting point is the country's debt guide (for example, have a look at BR/DEBT or AR/DEBT in the quote app)
- index constituents is the least reliable way, as there rarely is an index that looks at the wide market.
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
- 370 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 中文论坛