Canadian mortgage backed security - calculate the yield
Introduced in release: 1.391 Component: Non-US (developed mkts) Purpose:
Calculates the bond equivalent yield for a Canadian mortgage backed security, given the dollar price. It uses the monthly cash flows as input
Alternatives:
This routine requires inputs normally provided by other interim routines. The cnmb_py_ai routine uses a general descriptive date in computing a yield.
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.