Learn R Programming

GUIDE (version 1.2.7)

bondchange: Calculate the change in the price of a bond for change in yield based on the duration or duration and convexity approximtion.

Description

Function to calculate change in the price of a bond for change in yield based on the duration or duration and convexity approximation.

Usage

bondchange()

Arguments

Value

The change in the price of a bond for change in yield based on the duration or duration and convexity approximtion.

Details

The user inputs are as follows: Face Value: to be entered in numbers for e.g. 1200.50 Modified Duration: percent per annum Convexity: percent per annum Change in yield (in basis points): clicking on "+/-" increases/decreases the yield. Formula/Approximation: chosen between Duration/Duration and Convexity

References

John C. Hull, "Options, Futures, and Other Derivatives", 8/E, Prentice Hall, 2012.

See Also

bondchange,bonddur