How do I retrieve Bond Ratings through Python API (Moody, DBRS, S&P, Fitch) along with outlook an...

How do I retrieve Bond Ratings through Python API (Moody, DBRS, S&P, Fitch) along with outlook and affirmation?

Best Answer

  • chavalit-jintamalit
    Answer ✓

    Hi @robert.dyck

    I do not know what is affirmation.

    Please try this code:

    RATING:

    ric = '912828ZQ6='
    fields = ['TR.IssuerRating.RatingSourceDescription','TR.IssuerRating']
    parameters = {'IssuerRatingSrc':'MIS,DIS,FIS,SPI'} #check issuer in Data Item Browser
    df,e = ek.get_data(ric,fields,parameters)
    df


    OUTLOOK:

    ric = '912828ZQ6='
    fields = ['TR.IO.Outlook.RatingSourceDescription','TR.IO.Outlook']
    parameters = {'IssuerOutlookSrc':'DIS,DSS,FDL,FIS,FSU,MIS,SPI'} #check issuer in Data Item Browser
    df,e = ek.get_data(ric,fields,parameters)
    df


    image

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.