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

mxgb_i_earn (routine)

Calculates interest earned between two dates for a Mexican government bond

Introduced in release: 1.0
Component: Non-US (emerging mkts)
Purpose: Calculate the amount of interest earned between a start of period date and an end of period date for a Mexican government regular bond, odd first coupon bond, odd last coupon bond, or odd first and last coupon bond.

Notes: This routine is intended for use in calculating interest earned/accrued, but not necessarily received, in a specified time period. The accrued interest and possible coupon payments of the starting and ending dates can be included or excluded through the use of flags. Additionally the routine allows for the purchase and/or sale of the bond within the specified time period.

Results: All results are scaled by thous_securities and accurate to as many places as supported by double precision numbers.

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

Last Mod Date: 03/28/1994© 2001 TIPS, Inc.Doc Version: 5.0