How to retrieve Bond Overview page in Phyton API

How to retrieve Bond Overview page in Phyton API need the data showing on

Bond principal and coupon information


Issuance details
Obligor details
Market conventions

Tagged:

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @gina.dulla

    Thank you for reaching out to us.

    To retreive data from the get_data method in the LSEG Data Library for Python, you need to know RICs, fields, and parameters. The examples are on GitHub.

    Now, you know a RIC (AT0000A3HU25=). To get fields and parameters, you can use the Data Iteam Browser tool to search for TR.XXX fields and parameters. For example:

    image.png

    Otherwise, please contact the helpdesk team via MyAccount and ask for the TR.xxx fields that can provide the required data.

  • Hello @Jirapongse

    Thanks for the above, tried to use the DIB for example for Obligor Issuer - we do have data item for the following on the Bond Overview page

    =TR("AT0000A3HU25=","TR.LegalEntityIdentifier")

    =TR("95740@Orgid","TR.TRBCIndustryGroup")

    =TR("95740@Orgid","TR.TRBCEconomicSector")


    However when we tried on API this is the sample log/ script - it has different data from Bond Overview page

    import refinitiv.data as rd

    rd.open_session()

    df = rd.get_data(

         universe = ['AT0000A3HU25='],

         fields = [      

            'TR.FIIssuerName',

            'TR.FiDomicile',

            'TR.FiIssuerCountryOfIncorporation',

            'TR.PJFTRBCEconomicSector',

            'TR.PJFTRBCBusinessSector',

            'TR.PJFTRBCIndustryGroup',

            'TR.PJFTRBCIndustry',

            'TR.REPTRBC'


    Is there any workaround to get all the data on the Bond Overview via API

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    Acording to the response, the fields used in the =TR formula and the rd.get_data method are different.

    As far as I know, the the =TR formula and the rd.get_data method should provide the same data when subcribing to the same RICs and fields.

    please contact the helpdesk team via MyAccount and ask for the TR.xxx fields that can provide the required data.