ytmSolve: Solve for the yield to maturity of a bond

Description Usage Arguments Value Author(s)

Description

This function solves for the yield to maturity of a fixed rate coupon bond given the discount curve and bond data.

Usage

1
ytmSolve(ytm, couponRate, m, nPayments, face, targetPrice)

Arguments

ytm

yield to maturity

couponRate

coupon rate

m

compounding frequency

nPayments

is the number of payments

face

is the face value

targetPrice

is the price of the bond

Value

Absolute value of difference between the price and the present value

Author(s)

Thomas Fillebeen


GARPFRM documentation built on May 2, 2019, 5:45 p.m.

Related to ytmSolve in GARPFRM...