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 protected]>
John C. Hull, "Options, Futures, and Other Derivatives", 8/E, Prentice Hall, 2012.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.