Function to Plot the relationship between price and maturity of a bond.
The user inputs are as follows:
Coupon rate (per cent p.a.)
Discount rate (or yield) p.a.
Moving the slider increases/decreases the values of the above two inputs.
Coupon frequency: chosen amongst quarterly, semi-annual and annual.
A Plot of the reltionship between price and maturity of a bond.
S Subramanian <email@example.com>
John C. Hull, "Options, Futures, and Other Derivatives", 8/E, Prentice Hall, 2012.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.