Calculate dollar price for a CD with multiple coupon payments
Introduced in release: 1.0 Component: Generic Purpose:
Calculates the dollar price 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 price.
Results:
The function returns the calculated dollar price 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.