Calculate price to maturity for a CD with multiple coupon payments
Introduced in release: 1.0 Component: Generic Purpose:
Calculates the yield to maturity for a coupon bearing certificate of deposit.
Alternatives:
This routine requires inputs normally provided by other interim routines. The cd_cpn_py_ai routine uses a coupon rate and relevant dates in computing a yield.
Results:
The function returns the calculated yield to redemption accurate to as many places as supported by a double precision value.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.