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

aucti_py_ai (routine)

Calculate treasury inflation indexed security auction formula dollar price, yield to maturity, and accrued interest

Introduced in release: 1.26
Component: US Bonds
Purpose: Calculates either the dollar price or yield to maturity and the accrued interest for Treasury inflation indexed bonds and Treasury inflation indexed notes using the U.S. Treasury auction formulas.

Alternatives: This function takes as input an index ratio. If you have CPI numbers rather than index ratios use usti_py_ai or usti_papy_ai.

Notes: This function assumes the security is structured in the same way as a US Treasury Inflation Indexed Security.

Results: The variable calculated contains the calculated dollar price to redemption per 100 of maturity value or yield to redemption as a percent, both accurate to as many places as supported by a double precision value. 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: 11/27/1996© 2001 TIPS, Inc.Doc Version: 5.0