WOLFRAM|DEMONSTRATIONS PROJECT

Pricing Put Options with the Crank-Nicolson Method

​
put option parameters
asset price
40
maturity
3
strike price
45
volatility
0.3
risk-free rate
0.07
dividend yield
0.
grid
time steps
100
price steps
80
graphics
show plot
values at t = 0
values through grid
early exercise bound
This Demonstration shows the application of the Crank–Nicolson (CN) method in options pricing. The CN method [1] is a central-time, central-space (CTCS) finite-difference method (FDM) for numerically solving partial differential equations (PDE). The CN scheme is the average of the implicit [2] and the explicit [3] schemes and can be used to numerically solve the Black–Scholes–Merton PDE [4, 5]. The CN scheme produces estimates of greater accuracy than either the explicit or implicit schemes.