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
36 4 4 11

Retrieve RICs of bonds that a yield curve is based on (constituents), knowing only the yield curve RIC

In an earlier question, I asked how to retrieve the list of constituent bonds that a yield curve is based on using the Python Data API (https://community.developers.refinitiv.com/questions/48802/retrieve-the-constituents-of-a-yield-curve-using-e.html).

The answer then was to use e.g. the RIC 0#AEURNFI to get a list of the constituents corresponding to the curve 0#BUSDNFIBMK=. In short, this means simply truncating the 'BMK=' suffix from the curve's RIC.

However, this method does not work for some important curves. For example:

0#BBBUSDTRABMK= -> 0#BBBUSDTRAN (0#BBBUSDTRA does not exist)

0#BBBUSDUTIBMK= -> 0#BBBUSDUTIL ( 0#BBBUSDUTI does not exist)

Simply truncating the 'BMK=' suffix from the above curve will result in a non-existent RIC.

Is there a more robust way to retrieve the RIC of the list of bond constituents for a particular curve? Perhaps a data field?

Thanks in advance


eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-api
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.

1 Answer

· Write an Answer
Upvotes
Accepted
10.2k 18 6 9

@tr105 As far as I know there isn't - I think best way is to stick a 0# in front of the first few characters in the search bar and let that do the work. There is no one catch all rule as different asset classes have different features. Please see the screenshot below:

Here you would select BBB USD TRANS from the OTH(er).category.

Just so you are aware not every index or subindex has a maintained constituent list. If you notice any gaps please contact our helpdesk with a content enhancement request.

I hope this can help.


1602508858416.png (104.2 KiB)
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.

Ah, too bad... Thanks for your answer!

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.