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
3 0 1 3

How to obtain Credit Ratings at a Specific Date?

I have a list of ISINs for which I would like to obtain the Fitch Long-term Issue Credit Rating at a specific date using the Eikon API. More precisely, I would like to obtain such rating for the 30th December 2022. I have tried using the following command:

data, err = ek.get_data(instruments=AllISIN_test[0:1000], fields="TR.GR.RatingSuffix(SDate=2022-12-28,BondRatingSrc=FTC,Filling=Prev)")

but I am not obtaining any data. Does anyone have any leads as to how to obtain this info through the Python API?

eikon-data-api#technologybondscredit-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
14.1k 30 5 10

Hi @fabio.ceruti ,

I find nothing wrong in the code syntax you've used so this could be an issue with the data item (field) you've used. However, as this forum is more for programming-type queries, rather than content queries. I would recommend you contact the Eikon support team directly via MyRefinitiv. You can ask for the =TR formula in Eikon Excel which can be used to retrieve the data and if the formula is available, we can apply it to the get_data method in Eikon Data API. That way a content specialist can work closely with you to find a way to get the required data.

Hope this could help.

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.