EconStatsCraft › Black–Scholes option pricing

Black–Scholes option pricing

Prices a European option from spot, strike, time, rate and volatility, and reports every Greek scaled to the move people actually quote. Give it a market price and it backs out the implied volatility instead.

The intuition

An option is a right, not an obligation, so its payoff is bent: you take the upside and walk away from the downside. Black and Scholes showed that if you can trade the underlying continuously, you can build a portfolio of stock and cash that exactly reproduces that bent payoff. If two things pay the same in every state, they cost the same today - and that argument, not any forecast of where the stock is going, is what prices the option.

When to use it

Pricing or hedging European calls and puts on a liquid underlying; converting a quoted option price into an implied volatility; teaching how the Greeks behave. For American options, dividends paid discretely, or path-dependent payoffs you need a lattice, a PDE solver or Monte Carlo instead.

Where the estimator comes from

Assume dS=\mu S\,dt+\sigma S\,dW. Form \Pi=V-\Delta S and choose \Delta=\partial V/\partial S. Ito\'s lemma gives d\Pi=(\partial_t V+\tfrac12\sigma^2S^2\partial_{SS}V)dt, with the dW term cancelled by construction. A portfolio with no randomness must earn the risk-free rate or there is an arbitrage, so d\Pi=r\Pi\,dt, which rearranges to the Black-Scholes PDE \partial_t V+\tfrac12\sigma^2S^2\partial_{SS}V+rS\partial_S V-rV=0. Note what vanished: \mu, the expected return on the stock. Solving with the call payoff gives C=S\Phi(d_1)-Ke^{-rT}\Phi(d_2), where d_1=[\ln(S/K)+(r+\sigma^2/2)T]/(\sigma\sqrt{T}) and d_2=d_1-\sigma\sqrt{T}.

The model

C = S e^{-qT}N(d_1) - K e^{-rT}N(d_2),\qquad d_1 = \frac{\ln(S/K) + (r - q + \tfrac12\sigma^2)T}{\sigma\sqrt{T}},\qquad d_2 = d_1 - \sigma\sqrt{T}

What it assumes

Statistical properties

How to read the output

A worked reading

S = 100, K = 105, six months to expiry, r = 4%, σ = 25%. The call is worth 5.7799, all of it time value: the intrinsic value is zero because the option is out of the money, so every penny of the price is paying for the chance that it will not stay that way. Delta is 0.4703, meaning a short position in one call is hedged by holding 47 shares per 100 options - and gamma of 0.022505 says that hedge ratio moves by roughly two shares per hundred for each one-point move in the spot, which is why the hedge has to be rebalanced rather than set once. Vega is 0.2813 per volatility point and theta is -0.0238 a day, so roughly one day of decay is paid for by a tenth of a volatility point. Note d₂ = -0.2513: Φ(d₂) is the RISK-NEUTRAL probability of finishing in the money, which is a pricing device and deliberately not a forecast, because it is computed in the measure where the stock drifts at the risk-free rate rather than at whatever it actually earns.

Symptom → diagnosis → what to do

If you see thisIt meansDo this
Implied volatility differs across strikesThe volatility smileExpected. The lognormal assumption is the thing failing
Price below intrinsic valueAn arbitrage, or an input errorCheck units on rate and maturity: both must be annual
Deep in-the-money call worth less than S - K exp(-rT)Parity violatedAn input is wrong; parity needs no model
Vega near zeroDeep in or out of the moneyImplied volatility cannot be recovered from such an option
Very short maturity, tiny priceCorrect behaviourTime value goes to zero; only intrinsic value remains
Volatility entered as 25 rather than 0.25Percent versus decimalThe commonest input error by a wide margin

Common mistakes

Where to read this properly

See also

Merton distance to default, which applies the same option logic to a firm's equity. GARCH, for volatility that changes over time.

Related Finance & risk

Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · CAPM / beta estimation · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Time value of money & NPV/IRR · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)

All analyses

Charts

Line chart · Area chart · Bar chart · Stacked bar · Scatter plot · Bubble chart · Histogram · Box plot · Pie chart · Heat map · Rebased to 100 · Lorenz curve and Gini

Maps

World map · Bivariate map · Flow map · India - state map · India - district map

Explore

Descriptive statistics · Summary by group · Two-way table · Classical statistical tests

Regression

Multiple regression (OLS) · Logit / Probit · Tobit (censored) · Truncated regression · Multinomial logit · Ordered logit / probit · Quantile regression · Poisson / Negative binomial

Time series - one series

Time-varying coefficients (Kalman) · Unit root tests · Correlogram (ACF / PACF) · ARIMA / SARIMA · Rolling-origin cross-validation · Theta method · Unobserved components · STL forecasting · Forecast combination · Markov regime switching · Change frequency (resample) · ARCH / GARCH volatility · Decompose & filter · Spectral analysis · Exponential smoothing · Forecast accuracy

Time series - several series

Yield curve (Nelson–Siegel / Svensson) · Dynamic factor model · Dynamic regression (ARIMAX) · Structural VAR · VAR · Granger causality · Cointegration · VECM · ARDL & bounds test

Panel data

Panel regression · Panel cointegration tests · Heterogeneous panel: Mean Group & PMG · Gravity model of trade · Dynamic panel GMM · Panel diagnostics · Panel unit-root tests

Multivariate statistics

Principal components (PCA) · Factor analysis · Cluster analysis

Marketing research

Conjoint analysis · MaxDiff (best–worst scaling) · TURF - reach of a product line · Price sensitivity (Van Westendorp) · Market basket analysis · Perceptual map · Scale reliability (Cronbach’s alpha) · Key driver analysis

Causal

Spatial autocorrelation · Spatial regression · Heckman selection · Instrumental variables (2SLS) · Difference-in-differences · Staggered difference-in-differences · Regression discontinuity · Matching & weighting · Oaxaca–Blinder decomposition

Finance & risk

Black–Scholes option pricing · Bond price, duration & convexity · Merton distance to default · EMI / home loan planner · CAPM / beta estimation · Multi-factor model · Portfolio optimization · Value at Risk & Expected Shortfall · Performance & drawdown · Time value of money & NPV/IRR · Equity valuation (DDM, FCF, residual income) · Cost of capital (WACC) · Binomial option pricing · Option strategies (payoff & profit) · Forwards, futures & swaps · Credit risk & Basel capital · Extreme value theory (tail risk)

Actuarial

Life table · Life annuity · Life insurance pricing · Chain ladder reserving · Buhlmann credibility · Survival analysis · Mortality graduation · Aggregate loss model · Ruin probability · Multi-state Markov model · Loss severity fitting

Tests & breaks

Monte Carlo experiment · F-test, Wald & Chow · Structural breaks & stability

Machine learning

Regression vs machine learning · Ridge / Lasso / Elastic Net · Random forest · Gradient boosting

Open the workspace →

Starting engine…

EconStatsCraft rigorous, plain-spoken econometrics

Econometrics that explains itself.

Regression, panel data, time series and the whole battery of tests. Every result is followed by a verdict you can defend.

Load a dataset to see it here.