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 0

Pricing a bond with a modified yield curve

Hello,

I have downloaded the yield curve of a bond benchmark using the following

import refinitiv.data.eikon as ek

curve = ek.get_data('0#ITXZ=R',['MATUR_DATE','PRIMACT_1'])

Then I modify the yield curve by applying a parallel shift of 25bp via:

curve['Shifted_Rate'] = curve['PRIMACT_1ì] + 0.25

Now I want to reprice a bond using the shifted yield curve.

How can I achieve this using Refinitiv built-in functions?

Many thanks in advance.

python#product#contentbondsjupyter-notebook
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 @a.melo ,

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

1 Answer

· Write an Answer
Upvotes
Accepted
79.2k 251 52 74

@a.melo

Thank you for reaching out to us.

I am not sure if the Eikon Data API can do this. You can contact the Eikon or Refintiiv Workspace suppor team via MyRefinitiv and ask how to do this in Excel. Then, we may be able to apply it to the Python code.

However, it may relate to the Instrument Pricing Analytics (IPA) endpoint in the Refinitiv Data Platform.



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.