Upgrade from Eikon -> Workspace. Learn about programming differences.

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
7 1 2 5

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?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apidatastream-apibonds
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

@victor.delima

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in resolving your query?

If yes please click the 'Accept' next to the appropriate reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

Hello @victor.delima

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
39.4k 77 11 27

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.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Thank you!

Is there a way to obtain the constituent list of a Latam bond index directy through the API?

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?

@victor.delima, Can you provide further detail about the 'Latam bond index'?

Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.