Calculate cash flows for a sinking fund security with sinks at other than par
Introduced in release: 1.1 Component: Generic Purpose:
Calculates cash flows with corresponding dates for a security with a sinking fund where sinks can occur at other than par. The cash flows include all payments to the security holder. In this case they include redemptions of securities (according to the sinking fund schedule), interest, and repayment of principal at maturity.
Notes:
This routine is currently the most comprehensive for generating cash flows from sinking fund schedules.
Results:
All results are accurate to as many places as supported by a double precision value. The array cfs contains the cash flows and the arrays cf_months, cf_days, cf_years contain the corresponding dates.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.