Calculate interest and reinvestment interest for an odd 1st, 2nd, last period bond from intermediate values
Introduced in release: 1.2 Component: Non-US (emerging mkts) Purpose:
Calculates interest and reinvestment interest for a periodic payment security with an optional odd 1st, second, and/or last period (odd 1st/2nd/last coupon bond) using intermediate values as inputs.
Alternatives:
This routine uses as input values which are calculated by other routines. To calculate interest and reinvestment interest using standard descriptive inputs use the routine ofsl_risk.
Notes:
The maturity date used by this routine can be a maturity/redemption date.
Results:
All results are 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.