Canadian mortgage backed security w/balloon- calculate the price/yield and accrued interest
Introduced in release: 1.391 Component: Non-US (developed mkts) Purpose:
Calculates either dollar price or yield to maturity and accrued interest for a Canabian mortgage backed security with a balloon payment. It uses the monthly cash flows as input.
Special Considerations:
For wam less than 12 months the yield is input/calculated as a money market yield. For wam greater than or equal to 12 months the yield is input/calculated as a bond equivalent yield.
Notes:
This routine takes as input cash flows which may be calculated using cnmb_gtbls_b
Results:
The result is returned as the value of the function, accurate to as many places as supported by a double precision value.
Error Conditions:
Returned values should be ignored for a non-zero status. See Errors.