question

Upvotes
Accepted
1 0 0 0

How to get the currency headged data for bond indicies ?

DSWS

I would like to get the historical value of total return on FTSE World Government Excluding Japan Bond Index with JPY currency headged. I only can get the data of $ base - DSWS mnemonic FTSWGNJ and not able to find it in JPY. Please advise how to get to the similar caluculated value in JPY in python.

The same as for DSWS mnemonic - IBTRYML IBoxx$ Treasuries 7 - 10 Years. I would like to get with JPY headged


Regards,

#contenthistoricalvalue
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 @snumata

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

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

Thanks,
AHS

Upvotes
Accepted
79.2k 251 52 74

@snumata

Thank you for reaching out to us.

If you mean the currecy conversion in DSWS, you can use the following code.

df=ds.get_data(tickers="FTSWGNJ",fields=["X(RI)~Y"], kind=1)
df

The output is:

1699341966301.png



1699341966301.png (15.0 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.

Upvotes
1 0 0 0

@Jirapongse

Thank you for the response.

To convert a dollar-denominated index return into a yen hedge, the hedge cost must be converted.

For example, if I want to convert monthly returns into yen hedges, the following formulas are used. Could you advise what python code to use ?

1:

"Hedging Cost (1M, annualized) = USDJPY 1M forward point/100/USDJPY spot rate*12"

=JPY1MFP with data field ER(Exchange Rate - Middle) /100/ TDJPYSP with data field ER *12

2:

"Index Return (Yen Hedged) = Index Return (Dollar Base) + Hedging Cost (1M, annualized, end of previous month)/12 "

=FTSWGNJ with data field RI(Total Return including dividend, interest) + Previous month's Hedging cost / 12

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.

@snumata

This forum is aimed at answering "how to" types of questions about using Refinitiv APIs and the moderators are not Content/Data specialists.

For content availability type questions, please contact the Datastream WebService support team directly via MyRefinitiv. The support team can verify how to retrieve or calculate the required data via the Datastream WebService.

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.