no download ratings from ek.get_data

Hi. I'm using the function ek.get_data('AXP30YUSAX=R',['RATING','RATING_2','GV3_TEXT']) to download ratings of the instrument but just send me results in blank ' ', earlier the same function give me the ratings of the instrument.

You know if the function change the field from this ratins or exist some problem to download the ratings or can help me whit an alternative for this problem? thanks and regards.

Best Answer

  • Hi @EmmaSA

    The blank data is correct.

    image


    image


    So the API retrieves the correct data.

    You can use TR.IssuerRating field

    This field description is Credit rating assigned by Credit Rating Source.

    df, e = ek.get_data('AXP30YUSAX=R','TR.IssuerRating')
    print(df)