working AMC algorithm tested against quantlib

This commit is contained in:
local
2026-02-08 13:40:00 +00:00
parent 2e8c2c11d0
commit d484f9c236
4 changed files with 302 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
Current Progress Summary:
The Baseline: We fixed a standard Longstaff-Schwartz (LSM) American Put pricer, correcting the cash-flow propagation logic and regression targets.
The Evolution: We moved to Bermudan Swaptions using the Hull-White One-Factor Model.
The "Gold Standard": We implemented a 100% exact simulation from scratch. Instead of Euler discretization, we used Bivariate Normal sampling to jointly simulate the short rate rt and the stochastic integral ∫rsds. This accounts for the stochastic discount factor (the convexity adjustment) without approximation error.
The Current Frontier: We were debating the Risk-Neutral Measure (Q) vs. the Terminal Forward Measure (QT).
We concluded that while QT simplifies European options, it makes Bermudan LSM "messy" because it introduces a time-dependent drift shift: DriftQT=DriftQaσ2(1ea(Tt)).
Pending Topics:
Mathematical Proof: The derivation of the "Drift Shift" via Girsanovs Theorem.
Exercise Boundary Impact: How the choice of measure (and the resulting drift) visually shifts the optimal exercise boundary in simulation.
Beyond One-Factor: Potential move toward Two-Factor models or non-flat initial term structures.