Discrete Delta-Hedging Simulator

Monte-Carlo replication error of a discretely-rehedged Black-Scholes hedge, benchmarked live against Derman & Kamal (Goldman Sachs) — a browser port of the project's NumPy/SciPy engine. Every path is simulated on this page.

Source ↗
std(P&L) ≈ √(π/4n) · Vega · σ An option writer sells the option, collects the premium, and rehedges n times. Continuous rehedging replicates exactly; discrete rehedging leaves a residual error that decays like 1/√n.
Option type
Vol mismatch

P&L mean—≈ 0 for a fair, self-financing hedge
P&L std — empirical—Monte-Carlo replication error
Derman-Kamal std—closed-form prediction
Formula gap—empirical vs analytic
5% VaR—loss not exceeded 95% of the time

P&L distribution

Where the writer's final P&L lands across every simulated path.

Discrete hedging leaves fat, slightly left-skewed tails — the hedger's residual gap risk.
Table view
StatisticValue

Replication error vs rehedge frequency

The headline result: Monte-Carlo error against the analytic 1/√n law.

On log-log axes the error falls as a straight 1/√n line — the Monte-Carlo dots sit on the analytic curve.
Table view
RehedgesMonte-Carlo stdDerman-Kamal stdGap

Sample hedged price paths

Forty simulated underlying paths, coloured by the P&L the hedge actually realised on each.

Paths that whip around the strike near expiry are the hardest to hedge discretely — the delta flips between 0 and 1 faster than the rehedge clock can follow.
Table view
PathFinal spotMoneyness at expiryRealised P&L