Calculate current full periods interest for a medium term note
Introduced in release: 1.0 Component: Restricted Purpose:
Calculate current full periods interest for a medium term note (a regular bond, odd first coupon bond, odd last coupon bond, and odd first and last coupon bond). Specifically it calculates the amount of interest earned for the full period in which the settlement date falls.
Special Considerations:
In this routine the current period starts the day after the prior coupon payment date and includes the next coupon payment date. If you need to include the prior coupon date and not the next coupon date see mtrm_pip.
Notes:
The maturity date used by this routine can be a maturity/redemption date.
Results:
The result is returned as a dollar and cents amount scaled by the quantity and 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.