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

cngb_ai_ol (routine)

Calculate Canadian government odd last bond accrued interest

Introduced in release: 1.25
Component: Non-US (developed mkts)
Purpose: Calculates the accrued interest for a Canadian government regular bond, odd first coupon bond or odd first and last coupon bond. It also returns adjusted first coupon values to be passed to other routines.

Alternatives: If price and/or yield are required in addition to accrued interest, use the cngb_py_ol routine instead of this routine. If price and/or yield, current yield, estimated Macaulay duration, estimated convexity, interest on interest, etc. are required in addition to accrued interest, use the cngb_risk_ol routine.

Use cngb_ai if there is no odd last period and calculation performance is an issue

Notes: In addition to accrued interest, other values are returned by the routine - see outputs in Parameter Definition section.

Results: The accrued interest per 100 of maturity value is returned, accurate to as many places as possible.

Error Conditions: Returned values should be ignored for a non-zero status. See Errors.

Last Mod Date: 01/20/1997© 2001 TIPS, Inc.Doc Version: 5.0