Find a duration matched bullet bond for the given sinking fund bond
Introduced in release: 1.1 Component: Generic Purpose:
Find the maturity date (pseudo_md_month, pseudo_md_day, pseudo_md_year) and redemption value (sink_wavg_rv) of a bullet bond which has the same coupon rate, coupon cycle, and duration as the given sinking fund bond.
The duration to be matched is calculated from the cash flows from the sink schedule discounted at a yield also calculated from the cash flows and the given price.
Notes:
This routine can handle off cycle sinks, odd first and last coupons, sinks at other than par, and sinks at the head or tail.
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.