Go To Documentation Main IndexMain Index
Go To TIPS, Inc.TIPS Home
stpd_cfs_ol

stpd_cfs_ol (routine)

Calculate cash flows a one step odd last coupon bond

Introduced in release: 1.2
Component: US Bonds
Purpose: Calculates cash flows with corresponding dates for a stepped odd last coupon periodic interest payment security. Specifically it will calculate cash flows for all periodic payment securities that pay the same dollar amount of interest each period until a conversion date, then a new dollar amount of interest each period until the last coupon date maturity, then the amount for the optional odd last coupon period (1 step). 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.

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.

Last Mod Date: 10/01/1996© 2001 TIPS, Inc.Doc Version: 5.0