Alternatives:
If price and/or yield are required in addition to accrued interest, use the gmis_py_ai 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 gmis_risk routine.
Notes:
This routine can optionally perform its calculations considering an input ex-dividend date. To calculate an ex-dividend date use the gmis_exd routine.
In addition to accrued interest, other values are returned by the routine - see outputs in Parameter Definition section.
Results:
The accrued interest per 100 of maturity value is returned.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.