Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question # 5 - Fixed Income Returns Create a function called eduration ( ytm , mat, cpn , par, cy , dytm ) Where ytm

Question #5- Fixed Income Returns
Create a function called eduration(ytm, mat, cpn, par, cy, dytm)
Where ytm = yield to maturity, mat = time to maturity, cpn= coupon rate, par = par value, cy=compounding periods per year, and dytm = the change in yield in basis points (e.g.100=1%). Hint: first calculate the initial price (PO, then calculate the price if the yield decreases (P-) and lastly calculate the price if the yield increases ). The effective duration is given by:
eduration =P--P+2**P0**dy
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The AMA Handbook Of Financial Risk Management

Authors: John J. Hampton

1st Edition

0814417442, 978-0814417447

More Books

Students also viewed these Finance questions