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

cd_cpn_py_ai (routine)

Calculate dollar price, yield to maturity, and accrued interest for a CD with multiple coupon payments

Introduced in release: 1.0
Component: Restricted
Purpose: Calculates either dollar price or yield to maturity and accrued interest for a CD which pays multiple coupons. Specifically it will perform price/yield/accrued interest calculations for periodic payment securities that pay the different dollar amount of interest each period depending on the number of days in the period.

Results: The variable calculated contains the calculated dollar price or yield to redemption carried as many places as possible. The variable ai contains 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: 07/17/1992© 2001 TIPS, Inc.Doc Version: 5.0