Calculate cash flows for an odd 1st, 2nd, last period bond
Introduced in release: 1.2 Component: Non-US (emerging mkts) Purpose:
Calculates cash flows with corresponding dates for a periodic payment security with an optional odd 1st, second, and/or last period. Specifically it will perform cash flow calculations for a odd 1st/2nd/last coupon bond. The cash flows include all payments to the security holder including interest payments and principal repayments.
Special Considerations:
If you want to calculate the cash flows used by the security specific price/yield routines for this security please set the variable thous_securities to zero. The cash flows will be based on 100. For cash flows based on any other amount set thous_securities to the correct number of thousands.
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 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.