question

Upvotes
Accepted
1 0 0 2

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.

1 Answer

· Write an Answer
Upvotes
Accepted
7.3k 18 2 8

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.