You have a bond with a Face value of $100. The bond has 2-years to maturity and
Fantastic news! We've Found the answer you've been seeking!
Question:
You have a bond with a Face value of $100. The bond has 2-years to maturity and pays a 10%p.a. annual coupon. The bond is currently trading at a price of $98.50.
Required:
Write the code for an optimisation to find the Yield to Maturity (discount rate that sets price = PV of bond cashflows).
Related Book For
Introduction to Operations Research
ISBN: 978-1259162985
10th edition
Authors: Frederick S. Hillier, Gerald J. Lieberman
Posted Date: