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

uscs_py_ai (routine)

Calculate dollar price, yield to maturity, and accrued interest for a US corporate one step coupon bond

Introduced in release: 1.2
Component: US Bonds
Purpose: Calculates either dollar price or yield to maturity and accrued interest for a US corporate stepped coupon periodic interest payment security. Specifically it will calculate price/yield and accrued interest for all corporate periodic payment securities that pay the same dollar amount of interest each period until a conversion date and then a new dollar amount of interest each period until maturity (1 step).

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

Results: All results are calculated using the industry standard rules or generally accepted practices, accurate to as many places as supported by a double precision value. The variable calculated contains the calculated dollar price or yield to redemption. To round or truncate the result to industry standards see the routine rslt_fix_plc. 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: 12/14/1995© 2001 TIPS, Inc.Doc Version: 5.0