Σ wasm-pricer Rust → WebAssembly
load — calc — draw — calc budget 16 ms

Option pricing that keeps up with the slider.

Black-Scholes, eight Greeks, an Asian Monte Carlo and a raw SVI surface. The maths runs in Rust, compiled to WebAssembly. The chart is a plain canvas.

Market

100.0
50150
100.0
50150
20.0%
5%80%
5.0%
0%10%
0.0%
0%10%
12 months (1.00 y)
1 month2 years

Continuous compounding and continuous dividend yield, one currency unit per share. The Asian option averages 64 equally spaced prices after inception.

Call value
—
EuropeanBlack-Scholes
Put value
—
EuropeanBlack-Scholes

Greeks

call
Delta
—
∂V/∂S
Gamma
—
∂²V/∂S²
Vega
—
∂V/∂σ
Theta
—
∂V/∂t per year
Rho
—
∂V/∂r
Vanna
—
∂²V/∂S∂σ
Volga
—
∂²V/∂σ²
Charm
—
−∂Δ/∂T

What the Greeks mean

plain English

A call is the right to buy at the strike, the agreed price, and a put is the right to sell at that price. Both are European, so they can only be exercised at expiry. A positive Greek means the option value rises when that market input rises. A negative one means it falls.

Delta

How much the option value changes when the stock rises by 1.00. Calls have positive delta and gain when the stock rises, while puts have negative delta and gain when it falls.

Gamma

How much delta changes when the stock rises by 1.00. It is positive when you own a call or put, so the position becomes more sensitive to the stock as it moves away from the strike.

Vega

Vega measures how sensitive the option value is to volatility, the size of the stock's swings. It is positive when you own a call or put, so more volatility makes the option more valuable.

Theta

How much value the option loses as one year of calendar time passes. It is usually negative when you own an option, because time value shrinks as expiry approaches.

Rho

Rho measures how sensitive the option value is to interest rates. Calls usually have positive rho and puts usually have negative rho, so higher rates help calls and hurt puts.

Vanna

How much delta changes when volatility rises. The sign tells you whether the option becomes more or less sensitive to the stock as volatility changes.

Volga

How much vega changes when volatility rises. It is usually positive when you own an option, so its sensitivity to volatility grows as volatility grows.

Charm

How much delta changes as one year of calendar time passes. The sign tells you whether the option becomes more or less sensitive to the stock as expiry gets closer.

Closed form vs Monte Carlo

—
Estimator Price Std. error Check
European call · closed form — — Black-Scholes
European call · Monte Carlo — — —
Asian call · Monte Carlo, control variate — — —
Asian call · geometric closed form — — control price

The control variate uses the exact geometric-average price. The arithmetic average is worth slightly more, so the last two rows are different contracts, not an error.

Implied volatility surface

Raw SVI slices pinned to the ATM volatility. Strike runs along the front axis, maturity along the side; height and colour are implied volatility. Synthetic, not live market data.

σ at option —
loading pricing core…
drag to rotate · scroll to zoom · double click resets