Calculate multiple stepped coupon bond price to maturity
Introduced in release: 1.0 Component: US Bonds Purpose:
Calculates the dollar price for a multiple stepped coupon bond that has more than one period remaining to maturity.
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 price.
Notes:
Should be used for bonds with more than one step and can handle up to 20 steps. calculating a price/yield.
Results:
The price per 100 of maturity value is returned 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.