Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
mtrm_ex_ai

mtrm_ex_ai (routine)

Calculates accrued interest for a medium term note - cum or ex dividend

Introduced in release: 1.0
Component: Restricted
Purpose: Calculates the accrued interest, with the option of considering an ex-dividend date, for a medium term note (a regular bond, odd first coupon bond, odd last coupon bond, and odd first and last coupon bond).

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.

The maturity date used by this routine can be a maturity/redemption date.

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.

Last Mod Date: 05/02/1994© 2001 TIPS, Inc.Doc Version: 5.0