Upgrade from Eikon -> Workspace. Learn about programming differences.

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-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apibonds
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
18.2k 21 13 21

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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