Alternatives:
If price and/or yield are required in addition to accrued interest, use the gmis_py_ai routine instead of this routine.
Notes:
The ex-dividend status can be determined using either the trade or settlement date. When the bond is trading ex-dividend the accrued interest will be negative. In addition to accrued interest, other values are returned by the routine - see outputs in Parameter Definition section.
Results:
All results are calculated using industry standard rules. The routine 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.