For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

question

Upvotes
Accepted
1 0 0 0

Government bond index - Yield to redemption(RY) from Eikon Python API.

I'm looking at the following 10Y government bond index for AUS : .TRXVAUGOV10D

Using the Eikon Python API, I want to retrieve the yield to redemption(RY) time series for this bond index.

What would my request look like to retrieve this time series?

eikoneikon-data-apiworkspaceworkspace-data-apirefinitiv-dataplatform-eikonpythonbonds
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
18k 21 12 20

Hi @jimmy.chan

You can use "Data Item Browser" to explore what fields are available.


So your API call should look like this:

df,e = ek.get_data('.TRXVAUGOV10D',
                   ['TR.YIELDTOMATURITY(SDate=0,EDate=-49,Frq=D).Date',
                    'TR.YIELDTOMATURITY(SDate=0,EDate=-49,Frq=D)'])
df

But it seems that this data field is not available for .TRXVAUGOV10D RIC code.

So please contact Refinitiv Content Helpdesk at https://my.refinitiv.com to get help on data fields that carry the information you are looking for.


ahs1.png (183.2 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea