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

oprc_ai (routine)

Calculate accrued interest for an odd 1st, 2nd, last period bond with off cycle coupon rate changes

Introduced in release: 1.2
Component: Non-US (emerging mkts)
Purpose: Calculates the accrued interest for a periodic payment security with an optional odd 1st, second, and/or last period and off cycle coupon changes. Specifically it will perform accrued interest calculations for a odd 1st/2nd/last coupon bond with coupon rate changes. It also returns adjusted coupon values to be passed to other routines.

Alternatives: If price and/or yield are required in addition to accrued interest, use the oprc_py_ai routine instead of this routine.

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. The function returns 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: 12/14/1995© 2001 TIPS, Inc.Doc Version: 5.0