Understanding Stochastic Prepayment: Python Experiment
This Python experiment adds stochastic prepayment behaviour to a mortgage portfolio and examines its impact on the outstanding notional profile. It builds on deterministic amortization and refinancing assumptions developed earlier.
Why it matters in practice
Simulating many plausible repayment paths gives a picture of how notional exposure can vary. Comparing paths under different rate assumptions is useful when assessing hedging robustness rather than relying on one average repayment curve.