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.

Best Answer

  • Gurpreet
    Answer ✓

    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