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

How to get a list of historical rating data with the specified cusip?

I am using the Data platfrom API with python, and I want to get the list of historical rating data of a municipal bond with cusip "613340Q27"

I can see the list in the desktop application window (right hand side of the screenshoot), but i don't know how to get it from python API, please help me

1682503506899.png

pythonrefinitiv-dataplatform-eikon#technologyeikon-com-apibonds
1682503506899.png (172.2 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.

Hi @eikon11 ,

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query?

If so please can you click the 'Accept' text on the left side of the appropriate reply? This will guide all community members who have a similar question.

Thanks,

AHS

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,
AHS

1 Answer

· Write an Answer
Upvotes
Accepted
5.2k 16 2 7

Hi @eikon11 ,


Thank you for your question. You may be able to get the ratings using the Search capaibilities of RD Library for Python.

ratings = rd.discovery.search(
    view = rd.discovery.Views.MUNICIPAL_INSTRUMENTS,
    query = '613340Q27',
    select = "CUSIP, Ratings"
)
ratings['Ratings'].values

screenshot-2023-04-26-at-150744.png

Hope this helps.


Best regards,

haykaz


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.