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

mcbd_py_ai (routine)

Calculate bond dollar price, yield to maturity and accrued interest for a multiple odd coupon bond

Introduced in release: 1.0
Component: Generic
Purpose: Calculates either dollar price or yield to maturity and accrued interest a multiple odd coupon bond. This routine requires the list of coupon dates and coupon amounts to be made on those dates for each 100 face amount.

Results: All results are calculated using the industry standard rules or generally accepted practices, and are accurate to as many places as supported by a double precision value. The variable calculated contains the calculated dollar price or yield to redemption. The variable ai contains the accrued interest per 100 of maturity value.

Error Conditions: Returned values should be ignored for a non-zero status. See Errors.

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