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

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
2 1 0 0

using Python to get ratings for a list of ISIN

Hi there,

I'd like to get:

  • Moody's Long-term Issue Credit Rating
  • Fitch Long-term Issue Credit Rating
  • S&P Long-term Issue Credit Rating

for a list of bonds; I can see data in the single <ISIN> description:

but I have no idea how to find the proper Python formula.
Any help would be more then welcome.
Thank you

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonbondscredit-ratings
capture.gif (71.7 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.

Upvotes
Accepted
18k 21 12 20

Hi @pino.segugio

You can use "Data Item Browser" to see field description and supported parameters.


To launch "Data item Browser", type DIB in the Eikon Search Bar and press enter.


Alternatively, you can contact Refinitiv Content Helpdesk at https://my.refinitiv.com/ to clarify on the RIC / Fields / Parameters you are looking for.


ahs.png (139.0 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.

Upvotes
2 1 0 0

it was a painful "try and error" process.
At last an useful formula is the following:

instruments=['XS1244539760','XS0842659426', 'XS0426738976','XS0268293213']

fields=['TR.GR.Rating','TR.GR.RatingDate','TR.GR.RatingSourceCode' ]

df, err = ek.get_data(instruments, fields, {'SDate':0,'EDate':-4800})


BUT,

  1. I wasn't able to find a satisfactory 'TR.*' fields explanation;
  2. DBRS ratings are missing
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