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

mcbd_ai (routine)

Calculates accrued interest for multiple odd coupon bonds

Introduced in release: 1.0
Component: Generic
Purpose: Calculates the accrued interest for a multiple odd coupon bond, which pays odd amounts of interest for different periods. This routine requires the list of coupon dates and coupon amounts to be made on those dates for each 100 face amount.

Alternatives: If price and/or yield are required in addition to accrued interest, use the mcbd_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 mcbd_risk routine.

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.

Last Mod Date: 02/01/1995© 2001 TIPS, Inc.Doc Version: 5.0