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

cngb_1di (routine)

Calculates one day's interest for a Canadian government bond

Introduced in release: 1.0
Component: Non-US (developed mkts)
Superceded By: cngb_1di_ol

Purpose: Calculates the amount of interest earned from the day before the settlement date to settlement, taking into account the quantity, for a Canadian government regular bond or odd first coupon bond.

Notes: The settlement date used by this routine can be a settlement/target date.

Results: The returned value is the interest, scaled by the quantity, 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: 04/21/1994© 2001 TIPS, Inc.Doc Version: 5.0