Question: Question # 5 - Fixed Income Returns Create a function called eduration ( ytm , mat, cpn , par, cy , dytm ) Where ytm
Question # Fixed Income Returns
Create a function called edurationytm mat, cpn par, cy dytm
Where ytm yield to maturity, mat time to maturity, coupon rate, par par value, compounding periods per year, and dytm the change in yield in basis points eg Hint: first calculate the initial price 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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
