Special Considerations:
This function has as one of its parameters isma_convention_flag, a flag which specifies the convention to use in performing the calculation. The flag allows for auto determination or specification of the convention. Please review the documentation of isma_convention_flag for details.
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.