how can I retrieve bond type from isin using eikon data api

Can I use get_data Eikon data API to get the bond type (e.g Treasury, savings, agency, municipal, and corporate ) from isin

e.g

df, e = ek.get_data(['US912828D564', ...,...],['TR.***BOND TYPE***'])


Is there a TR.*** that could return me the bond type

Tagged:

Best Answer

Answers

  • Hi @vishal.kak ,

    In addition to @Jirapongse answer, here is the code for data item for the Bond Type:

    df, err = ek.get_data(
    instruments = ['912828D56='],
    fields = ['TR.FiSovereignClassDescription','TR.FiInstrumentTypeDescription', 'TR.FiAssetTypeDescription']
    )

    display(df)

    1642746416839.png

    Let me know if this is what you are looking for