Skip to content
All simulations

Three models of one market

Run Brownian motion, Merton jumps and Heston stochastic volatility side by side, then see how each prices risk and options. Built on Niko's Stochastix engine.

One stock at $100, three ways of modelling it. All three are tuned to the same overall volatility, so any difference you see is about shape, not size.

20%
7.0%
1 year
Merton: sudden jumps
1.0
-10%
10%
Heston: volatility that moves
0.60
-0.70

Negative means volatility spikes when prices fall, as it does in real stock markets.

2.00

Feller condition fails: variance can hit zero. The simulation clips it there, like Stochastix does.

Simulated futures per model
Sampling

Where 10,000 futures per model end up

Brownian motion Merton jumps Heston stochastic volLog scale: a bell curve is a parabola here, so fat tails show up as wings that bend outward.

Risk and price, side by side

MeasureBrownian motionMerton jumpsHeston stochastic vol
Median price after the horizon$105.54$106.78$110.19
Chance of ending below $1005.0%5.0%5.0%
Value at Risk, 95%the loss you exceed only rarely$24.11$26.59$30.00
Expected Shortfall, 95%the average loss once you're past VaR$30.03$33.72$41.98
Worst simulated price$43.72$44.26$20.93
Skewness of log returns-0.00-0.44-1.72
Excess kurtosis0 for a bell curve0.030.294.91
Put price, strike $90Monte Carlo, ±95% interval$2.50 ± 0.11$2.71 ± 0.12$2.87 ± 0.16
Black–Scholes formulaassumes Brownian motion, no simulation needed$2.53The formula has no answer for jumps or moving volatility
$90 (90%)
4.00%

What the paths look like

Look for the cliffs: a jump moves the price in one step, with no time to react.

Same volatility, three different worlds. At the 95% level the plain Brownian model expects an average tail loss of $30.03, while the moving-volatility model expects $41.98: the risk was hiding in the shape, not the size. The Monte Carlo price under Brownian motion lands within its own error bar of the Black–Scholes answer, which is how you know the simulation is right. The put costs $2.71 with jumps and $2.87 with moving volatility, which is why real option prices don't match the textbook formula.

Try this

  • Switch to the tails view. The dashed bell curve bends down like a parabola; the other two bend down far more slowly. That gap is fat tails.
  • Set jumps per year to 0 and volatility of volatility to 0. All three models collapse into the same curve.
  • Price a put with a strike of $80. Black–Scholes says it's nearly worthless; the jump model disagrees, because it knows about crashes.
  • Switch to antithetic pairs and watch the ± on each price shrink, without simulating a single extra future.
  • Flip the correlation to positive. Heston's skew changes sign: now volatility spikes in rallies, not crashes.

The math

GBM:  dS=μS dt+σS dWMerton:  dS=(μ−λk)S dt+σdS dW+(Y−1)S dNHeston:  dS=μS dt+v S dWS,    dv=κ(θ−v) dt+ξv dWv\begin{aligned} \text{GBM:}\;& dS = \mu S\,dt + \sigma S\,dW \\ \text{Merton:}\;& dS = (\mu - \lambda k) S\,dt + \sigma_d S\,dW + (Y-1)S\,dN \\ \text{Heston:}\;& dS = \mu S\,dt + \sqrt{v}\,S\,dW^S,\;\; dv = \kappa(\theta - v)\,dt + \xi\sqrt{v}\,dW^v \end{aligned}
σ\sigma
volatility, the same for all three here
dN, λdN,\ \lambda
a jump that arrives on average λ times a year
ln⁡Y\ln Y
the jump size, itself random
v, θv,\ \theta
today's variance and the level it drifts back to
κ, ξ\kappa,\ \xi
how fast variance returns, and how much it wobbles
ρ\rho
correlation between price shocks and variance shocks
Built on StochastixThese three models come from Stochastix, Niko's open-source simulation engine. The desktop version runs billions of paths per second on a graphics card and checks every number against its closed form. This page is a browser-sized version of the same mathematics.See the code on GitHub