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

Retrieve sovereign long term issuer rating and outlook through eikon api?\

I am trying to retrieve some sovereign issuer ratings through the eikon API, but I cannot seem to find the input value for each country. For example, using eikon online, I can type AUS IR and retrieve the Australian sovereign credit rating or GBR IR for United Kingdom. Is there somewhere I can see what to use as an input in the API retrieval?

eikoneikon-data-apipythonrefinitiv-dataplatform-eikonworkspaceworkspace-data-apiapi
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.

Hello @lachlanmichalski

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 next to the appropriate reply. This will guide all community members who have a similar question.

Thanks,


AHS

Upvotes
Accepted
39.4k 77 11 27

@lachlanmichalski

I think the easiest way to get what you're looking for is to use the RIC for a 1 year, 5 year or 10 year treasury benchmark, which exist for all developed and most emerging markets. The RIC is constructed as 2-character ISO country code + term code + "T=RR", e.g. "US10YT=RR", "KR1YT=RR". Here's an example of retrieving Moody's long term issuer rating and outlook for Australia and Ukraine:

ek.get_data(['AU1YT=RR','UA1YT=RR'],['TR.IssuerRating','TR.IO.Outlook'],
            {'IssuerRatingSrc':'MIS'})
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.

Upvotes
18.2k 21 13 21

Hi @lachlanmichalski

You may want to verify this with Refinitiv Helpdesk by asking if there's a way to do this using =TR function in Eikon Excel.

If there's a way to do this using a formula in Excel, then this formula can be replicated using Eikon Data APIs.

The Refinitiv Content Helpdesk can be reached using Contact Us capability in your Eikon application.

Or by calling the Helpdesk number in your country.

Or at https://my.refinitiv.com/


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.

Upvotes
17.2k 82 39 63

Hi @lachlanmichalski,

I would first check with the helpdesk to confirm the exact details you are after. As a start, you can extract the country chain codes from the specific screen you are accessing, i.e. AUS IR you will see the reference to S&P/AUS 200 Index. When you click on that, it will provide you with the code to extract (.AXJO). Similarly for GBR IR, it will display the reference to FTSE 100 Index (.FTSE).

To exact details using the API, you provide the chain specifier (0#). For example, using the S&P/AUS 200 Index chain code (0#AXJO), you can do something like this:


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

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.