bonddur: Calculate the duration of a bond.

Description Usage Details Value Author(s) References See Also

View source: R/bonddur.R

Description

Function to calculate the duration of a bond.

Usage

1

Details

The user inputs are as follows:
Face Value: to be entered in numbers for e.g. 1200.50
Coupon rate: percent per annum
Discount rate: percent per annum
Maturity: number of years
Note: Clicking on the '+' and '-' respectively increases and decreases the value.
Coupon Payments: chosen amongst Quarterly/Semi-annual/Annual
Frequency of rates: chosen amongst continuous/same as coupon/annual
Duration formula: chosen between Macaulay and Modified

Value

Duration of a bond.

Author(s)

S Subramanian <ssubramanian@sssihl.edu.in>

References

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

See Also

bondchange,bondprice


GUIDE documentation built on May 29, 2017, 5:29 p.m.

Search within the GUIDE package
Search all R packages, documentation and source code