question

Upvotes
Accepted
1 1 2 2

History of Credit Rating Outlook

Hi, is there a way to get the full history of a firms rating outlooks? Currently, it appears to me that the API only outputs the most recent outlook opinion of any given rating agency. I am running with the following code:

  
START = '1995-01-01'
END = '2022-07-05'

OL = ['TR.CommonName', 'TR.IO.OutlookDate', 'TR.IO.OutlookEndDate', 'TR.IO.Outlook','TR.IO.OutlookDescription','TR.IO.OutlookRatingSourceDescription', 'TR.IO.OutlookSourceCode','TR.IO.OutlookSourceDescription',      'TR.IO.OutlookScopeDescription']

df, err = eikon.get_data(
    ['NO0010096985'], OL,
    {'SDate': START, 'EDate': END, 'RatingScope': 'All'}
)
eikon-data-apipythoncredit-ratings
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
Upvote
Accepted
7.2k 23 3 6

Hi @research2,

Have you looked for Time Series field in the DIB? I found this, was that what you were after?


1658417445189.png
I then used codebook to test this using the RD library (although you can still use the eikon DAPI in the way you are):

1658417610985.png



1658417445189.png (110.5 KiB)
1658417610985.png (69.6 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.

@jonathan.legrand Thanks for the quick reply! Unfortunately, I am not able to replicate these results using Eikon DAPI. Could you provide any hint on how the query would like in DAPI?


Also, when opening the DIB, most field appear to be empty, could this be the reason?

screenshot-2022-07-22-094605.png

Hi @research2, Yes, I'm afraid that this would be the issue. No data is provided for these fields for the instrument you are after, and it can therefore not be found on the Eikon DAPI.


However, I noticed that there are several Equinor RICs, which one are you after? Because 'NO0010096985' did seem to have the fields you were after...

If you cannot see these data points populated on your Data Item Browser, then it may be that you are not covered for them by your Eikon License; in that case, I would suggest that you reach out to the helpdesk to inquire about adding the correct permissions to your license.

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.