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
1 0 0 0

How to retrieve constituents of EUR Corporate Bond index using Eikon API

I would like to retrieve all the constituent bonds in a EUR Corporate bond index such as .IBBEU003D using Eikon Python API (preferred) or the Datastream Python API.

My Eikon API code attempt is as follows:

df, err = ek.get_data(
    instruments = ['.IBBEU003D'],
    fields = ['TR.PortfolioConstituentsName',
              'TR.IndexConstituentName'],
    parameters = {
        'SDate':'2006-01-02'
    }
)
df  


Certain Data items have a TR.PortfolioConstituentsName field, that comes up empty when I try to access it.

eikon-data-apirefinitiv-dataplatform-eikonworkspace-data-api#content
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.

@TenthBox

Hi,

Thank you for your participation in the forum.

Is the reply below satisfactory in answering your question?

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

Otherwise please post again offering further insight into your question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,


AHS


1 Answer

· Write an Answer
Upvotes
Accepted
22.1k 59 14 21

Hi @TenthBox,

I don't think index constituent data for this index is available in Workspace. I could be wrong, but would recommend that you check with data content experts by opening a ticket with my.refinitiv.com.

1688736498104.png


1688736498104.png (30.5 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.

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.