Get the issuer(or parent)'s RIC from the Bond

Good day experts,

I'm having a bunch of bonds that need to dig out the issuer's RICs (or the parent and nearest ancestor of the issuer that has the RIC), e.g.,

XS1732152589
XS1861178322
XS2051121387
XS2099768207

I tried to use the ticker field, but looks like the tickers are not the NYSE standard, no I'm stuck there. Some of the fields of the bond are prefixed with 0x (maybe asset_id), but I don't know how to map it to the RIC or permid or any other well know public identifiers.


Best Regards,

Frederic


Best Answer

  • Hi @Frederic.Li

    You can with retrieving the Ultimate Parent ID and from there equity RIC. Please check if it meets your requirements.

    IDs, err = ek.get_data(['XS1732152589','XS1861178322','XS2051121387','XS2099768207'],'TR.UltimateParentId')
    df,err = ek.get_data(IDs['Ultimate Parent Id'].astype('str').to
    df


Answers