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

pik_py_ol (routine)

Calculate Payment-In-Kind (PIK) odd last period bond dollar price, yield to maturity and accrued interest

Introduced in release: 1.4
Component: US Bonds
Purpose: Calculates either dollar price or yield to maturity and accrued interest for a Payment In Kind regular bond, odd first coupon bond, or odd first and last coupon bond.

Alternatives: Use pik_py_ai if there is no odd last period and calculation performance is an issue.

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. 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/28/1998© 2001 TIPS, Inc.Doc Version: 5.0