OLIVER SCOTT
Home / Interactive demos

Interactive demos

The maths from two projects, running live in your browser. Move a slider and everything recomputes. The JavaScript matches my tested Python to six decimal places.

Option pricer

Black-Scholes-Merton price and Greeks, plus an American price from a 400-step binomial tree. Dashed line: payoff at expiry. Blue: value today.

European price
American price
delta
gamma
vega per 1 vol pt
theta per day

Defaults match the project page: S 100, K 105, T 0.75, σ 25%, r 4%, q 1% → call 7.412. An American call is worth almost exactly the European here; the small gap is lattice error plus a sliver of early-exercise value from the dividend. Switch to a put to see a real early-exercise premium.

Kelly simulator

2,000 bettors each make 1,000 even-money bets. Choose the edge and the fraction of Kelly to bet. The bold line is one bettor; the faint lines are 24 others (log wealth).

fraction of wealth bet
median final wealth
end below start
ever below half of start
expected log growth per 1,000 bets

Try 2× Kelly: growth falls to about zero despite the edge. At 0.5× Kelly the chance of ever halving is about 12.5%, as theory predicts.

Options project → · Kelly project →