For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 1 0 0

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

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonbonds
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
18k 21 12 20

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



ahs.png (50.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea