Calculate accrued interest for a bond with one coupon step
Introduced in release: 1.2 Component: US Bonds Purpose:
Calculates the accrued interest for a bond with one coupon step. Specifically it will perform accrued interest calculations for a bond whose coupon rate may change one on a coupon payment date.
Alternatives:
If price and/or yield are required in addition to accrued interest, use the stpd_py_ol routine instead of this routine. If price and/or yield, current yield, estimated Macaulay duration, estimated convexity, interest on interest, etc. are required in addition to accrued interest, use the stpd_risk_ol routine.
Notes:
The maturity date used by this routine can be a maturity/redemption date.
Results:
All results are calculated using the industry standard rules or generally accepted practices. The function returns the accrued interest per 100 of maturity value, 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.