Capstone 3 - Stochastic Calculus and Derivative Pricing
From Itô’s lemma and GBM to Black–Scholes and risk-neutral pricing - then confirm the closed form with a Monte Carlo estimate.
Leads to: The pricing engine and risk-neutral discipline here feed the volatility capstone (18.4) and the HFT sims.
Learning Objectives
Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.
- Apply Itô’s lemma to derive the SDE for \(\log S\) under GBM.
- State the risk-neutral pricing formula and explain the drift replacement \(\mu\to r\).
- Implement the Black–Scholes call/put price and its Greeks.
- Estimate the option price by risk-neutral Monte Carlo and reconcile it with the closed form within standard error.
- Explain why pricing uses the risk-neutral (not physical) measure and what that does and does not claim.
Key Vocabulary
- Itô’s lemma
- The chain rule for Itô processes: \(df=f_t\,dt+f_x\,dX+\tfrac12 f_{xx}\,d\langle X\rangle\), with the extra second-order term.
- Geometric Brownian motion
- The asset model \(dS=\mu S\,dt+\sigma S\,dW\), solving to a lognormal \(S_t\).
- Risk-neutral measure
- An equivalent measure \(\Q\) under which discounted asset prices are martingales; drift becomes \(r\).
- Black–Scholes formula
- Closed-form European option price under GBM with constant \(\sigma\) and \(r\).
- Greeks
- Sensitivities of price to inputs: delta \(\partial V/\partial S\), gamma, vega, theta, rho.
- Martingale
- A process whose conditional expected future value equals its current value; the mathematical form of ‘no arbitrage’.
Intuition & Motivation
The subtle, honest point: risk-neutral pricing does not say the stock actually drifts at \(r\). It says that, for the purpose of pricing by replication and no-arbitrage, we compute expectations under a measure where it does. Confusing this with a real-world forecast is the deepest conceptual error in the field.
The brief
Implement a European option pricer two ways - the Black–Scholes closed form and a risk-neutral Monte Carlo estimator - and show they agree within Monte Carlo standard error across a grid of strikes. Deliverable: code, a reconciliation table, and a short note on why the drift is \(r\), not \(\mu\).
Required theory recap
- Itô (Phase 9): for \(f(S)=\log S\) with \(dS=\mu S\,dt+\sigma S\,dW\), \(d\log S=(\mu-\tfrac12\sigma^2)dt+\sigma dW\).
- GBM solution: \(S_T=S_0\exp\big((\mu-\tfrac12\sigma^2)T+\sigma W_T\big)\), lognormal.
- Risk-neutral pricing (Phase 14): \(V_0=e^{-rT}\E^{\Q}[\text{payoff}(S_T)]\), with \(\mu\to r\) under \(\Q\).
- Monte Carlo (Phase 13): average discounted payoffs over simulated risk-neutral paths; error \(\propto1/\sqrt N\).
Itô’s lemma and the log transform
Because \(W\) has nonzero quadratic variation (Capstone 2), the chain rule gains a second-order term. Applying it to \(\log S\) removes the state-dependence and yields constant-coefficient dynamics:
Risk-neutral pricing and Black–Scholes
Under the risk-neutral measure \(\Q\) the drift is the risk-free rate \(r\). The price of a European claim is the discounted risk-neutral expected payoff:
For a call this integral has the closed form
Why the drift is r, not μ
Under replication, the option payoff can be hedged with the stock and the bond; no-arbitrage forces the price to equal the cost of the replicating portfolio, which depends on \(r\) and \(\sigma\) but not on the real-world drift \(\mu\). Equivalently, discounted prices are \(\Q\)-martingales. This is a pricing statement, not a prediction that stocks earn \(r\).
The BS module is the oracle; the MC module is the general engine; the check module enforces agreement within standard error - a reproducible, seeded test (17.2–17.3).
- Simulating the terminal with the real-world drift \(\mu\) instead of \(r\) for pricing - you price the wrong thing.
- Dropping the \(-\tfrac12\sigma^2\) Itô correction in the exponent, biasing \(S_T\) upward.
- Comparing MC to BS without a standard error and calling a within-noise gap a ‘bug’.
- Believing risk-neutral pricing forecasts that the stock grows at \(r\) - it does not.
- Forgetting to discount by \(e^{-rT}\), or discounting twice.
- Using too few paths and reporting three decimals of false precision.
- Price with the risk-neutral terminal \(S_0e^{(r-\sigma^2/2)T+\sigma\sqrt T Z}\); keep \(\mu\) out of the pricer entirely.
- Validate every Monte Carlo price against a closed form where one exists; treat BS as the oracle.
- Report price \(\pm1.96\,\text{SE}\); use antithetic or control variates to shrink SE cheaply (Phase 13).
- Sanity-check Greeks by finite-differencing the price (ties back to Capstone 1).
- State explicitly, in any writeup, that risk-neutral is a pricing device, not a forecast.
Interactive: Black–Scholes vs. risk-neutral Monte Carlo
Implement both pricers and the reconciliation check; the tests require agreement within a few standard errors.
Knowledge Check
Practical Exercise
A colleague’s Monte Carlo call price is consistently ~8% above your Black–Scholes value and does not converge to it as \(N\) grows. (a) List the three most likely bugs, in order. (b) Describe the single diagnostic that isolates the drift bug from the discounting bug. (c) State the validation criterion that should have caught this before it shipped.
(a) Most likely, in order: (1) simulating with the real-world drift \(\mu\gt r\) instead of \(r\) (systematic upward bias that does not vanish with \(N\)); (2) dropping the \(-\tfrac12\sigma^2\) Itô correction, biasing \(S_T\) up; (3) a discounting error (missing or mis-signed \(e^{-rT}\)).
(b) Diagnostic: check \(\E^{\Q}[S_T]\) from the simulation. It should equal the forward \(S_0e^{rT}\). If the simulated mean terminal is \(S_0e^{\mu T}\) instead, the drift is wrong; if the mean terminal is correct but the price is off by a constant factor, the discounting is wrong.
(c) The reconciliation test: \(|C_{\text{MC}}-C_{\text{BS}}|\lt 3\,\text{SE}\) across a strike grid. A bias that persists as \(N\) grows (SE shrinks but the gap doesn’t) fails this test decisively - exactly the oracle check from 17.2.
Lesson Summary
Retrieval Practice
Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.
A: Because the option is priced by replication/no-arbitrage: the price equals the cost of the hedging portfolio, which is independent of \(\mu\). Equivalently, discounted prices are martingales under the risk-neutral measure where the drift is \(r\). It is a pricing device, not a forecast.
A: Reconcile it with the Black–Scholes closed form (the oracle): require \(|C_{\text{MC}}-C_{\text{BS}}|\) within a few standard errors \(\hat s/\sqrt N\), checking that a persistent bias (not shrinking with \(N\)) is absent.
Completion Checklist
- I can explain the core ideas in my own words
- I worked the derivations/examples by hand
- I completed the interactive workbench(es)
- I passed the knowledge check
Source References
This lesson synthesizes and paraphrases concepts from the sources below. No copyrighted text, problem sets, or solutions are reproduced. Return to the originals for full depth.
- Stochastic Calculus for Finance II (Steven Shreve, 2004) foundational - Ch. 4-5 - Itô’s lemma, GBM, risk-neutral pricing, and the Black–Scholes formula.
- Monte Carlo Methods in Financial Engineering (Paul Glasserman, 2004) foundational - Ch. 1, 4 - Risk-neutral Monte Carlo estimation of option prices and variance reduction.
- Methods of Mathematical Finance (Karatzas & Shreve, 1998) foundational - Ch. 1-2 - Martingale/no-arbitrage foundations of the risk-neutral measure.