Black-Scholes by Monte Carlo, against the closed form
The price of a one-year call option on a $100 stock with strike $100, 5% interest and 20% volatility is $10.4506 by the Black-Scholes formula. Simulating the stock price 131072 times and averaging the discounted payoff gives $10.371, 1.95 standard errors away. The error shrinks as : its measured slope on a log-log plot is , against , and the standard error comes from an exact formula for the payoff's spread.
Monte Carlo, with its own standard error
measured over batches
✓ 10 tests passchecked when the site was built#finance#options#black-scholes#monte-carlo#convergence#notebook
Look inside this program
- Atlas
The program’s map: every function and which calls which.
There’s no recorded run of this program yet.