The mortgage details.
A record mapping term lengths (in years) to current posted interest rates.
The current outstanding mortgage balance.
Either "fixed" or "variable".
The original posted interest rate when the mortgage was signed.
The adjustment applied to the fixed posted interest rate (added to the posted rate).
The adjustment applied to the variable posted interest rate (added to the posted rate).
Number of months left in the current mortgage term.
The calculated mortgage penalty rounded to 2 decimal places.
Calculates the mortgage prepayment penalty.
For variable mortgages, the penalty is typically three months of interest. For fixed mortgages, the penalty is usually the greater of three months of interest or the Interest Rate Differential (IRD).