Computes yield to maturity, yield to call, current yield and adjusted current yield.

ivt_bond_ytm(face_value, coupon_rate, bond_price, years)

ivt_cyield(face_value, coupon_rate, bond_price)

ivt_adj_cyield(face_value, coupon_rate, bond_price, years)

Arguments

face_value

Face value of the bond.

coupon_rate

Coupon rate of the bond.

bond_price

Price/market value of the bond.

years

Years to maturity.

Examples

# NOT RUN {
ivt_bond_ytm(99.94, 6.25, 139.87, 12)
ivt_cyield(1000, 10, 980)
ivt_adj_cyield(100, 8, 97.26, 3)
# }