Calculate multiple stepped coupon bond yield to maturity
Introduced in release: 1.0 Component: US Bonds Purpose:
Calculates the yield to maturity for a multiple stepped coupon bond.
Alternatives:
This routine requires inputs normally provided by other interim routines. The N_stpd_py_ai routine uses a coupon rate and relevant dates in determining the number of remaining periods to maturity for computing a yield.
Notes:
This routine should be used for bonds with more than 1 step and can handle up to 20 steps.
Results:
The yield is returned as a percentage, accurate to as many places as supported by a double precision number.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.