MathFin
Map / Valuation · Black–Scholes and Bachelier / MathFin.Models.BlackScholes.DeltaHedge

The Black–Scholes delta hedge replicates the call

MathFin.Models.BlackScholes.DeltaHedgeMSC 91G20MSC 60H05JEL G13 source

In the risk-neutral Black–Scholes model S_t = S₀·exp((r − σ²/2)t + σ B_t) the call is replicated by the delta hedge (the self-financing equation is europeanCall_selfFinancing; no strategy structure is defined). With C(t, S) = bsV K r σ S (T − t) the call price at time t, the discounted price e^{−rt} C(t, S_t) is the initial price plus the gains of holding Δ(s, S_s) = Φ(d₁(S_s, T − s)) shares:

e^{−rt} C(t, S_t) = C(0, S₀) + ∫₀ᵗ Δ(s, S_s) · σ e^{−rs} S_s dB_s (bs_delta_hedge_replication)

almost surely, for all t ≤ T' at once, for every horizon T' < T. The integrand is the delta times the diffusion coefficient σ e^{−rs} S_s of the discounted stock (discountedGBM_eq_itoIntegral), so the right side is the initial price plus the hedge's gains from trade ∫ Δ d(e^{−rs} S_s); the integral is the library's predItoIntegral.

The proof applies Itô's formula as an identity of processes (ItoFormulaAdapted.ito_formula_adapted_unbounded_process) to the discounted call value in the Brownian coordinate f(t, x) = e^{−rt} C(t, S(t, x)) of Models/BlackScholes/PDEFromIto: its drift f_t + ½ f_xx vanishes by the Black–Scholes PDE (discountedCallBrownian_heat_equation) and its x-derivative is the hedge integrand (hasDerivAt_discountedCallBrownian_x). The call price is singular at t = T, while the formula needs partials continuous on all of ℝ × ℝ; so f is composed with a smooth cap of time timeCap, equal to the identity up to T' and below T everywhere, and the identity is read at t ≤ T'.

At maturity the hedge pays the call: along any path continuous at T, C(t, S_t) → (S_T − K)⁺ as t → T⁻ (tendsto_bsV_gbm_payoff, the analytic core in tendsto_bsV_payoff).

Not proved here: the identity up to t = T itself (the hedge's gain integral is stated only on [0, T'] for T' < T; the two theorems together say the discounted value converges to the payoff, not that the integral identity extends to T); that the strategy is admissible or self-financing in the sense of a trading-strategy structure; that the stochastic integral ∫ Δ σ S̃ dB equals ∫ Δ d S̃ as an integral against the semimartingale S̃.

Main definitions

  • deltaHedgeIntegrand: the integrand σ · e^{−rs}S · Φ(d₁) with S = gbmValue S₀ r σ s x.
  • timeCap: a smooth map equal to the identity up to a and bounded by b everywhere.

Main results

  • bs_delta_hedge_replication: e^{−rt} C(t, S_t) = C(0, S₀) + ∫₀ᵗ Δ σ e^{−rs}S_s dB_s, almost surely, for all t ≤ T' < T.
  • tendsto_bsV_payoff: bsV K r σ S τ → (S* − K)⁺ as S → S* > 0, τ → 0⁺.
  • tendsto_bsV_gbm_payoff: the call value along a continuous path converges to the payoff at T.

References

  • F. Black and M. Scholes, The pricing of options and corporate liabilities [BlackScholes1973]
  • S. E. Shreve, Stochastic Calculus for Finance II: Continuous-Time Models [ShreveSCFII], §4.5
  • J. C. Hull, Options, Futures, and Other Derivatives [Hull], 15.6

Tags

Black–Scholes, delta hedging, replication, Itô formula, Black–Scholes PDE, MSC 91G20, MSC 60H05, JEL G13

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

mf-bs-delta-hedge-replication · black_scholes.json · full statement
Black-Scholes Delta Hedge Replicates the Call (Discounted Identity on [0, T'])

Let B be a Brownian motion with continuous paths (pre-Brownian under a probability measure, every path continuous), S_t = S_0 exp((r - sigma^2/2) t + sigma B_t) the risk-neutral stock, K, sigma, S_0 > 0, and T' < T. Writing C(t, S) = bsV K r sigma S (T - t) for the Black-Scholes call price, almost surely and for all t in [0, T'] at once, e^{-rt} C(t, S_t) = C(0, S_0) + I_t, where I is the library's predictable Ito integral predItoIntegral on [0, T'] of the predictable integrand sigma e^{-rs} S_s Phi(d_1(S_s, T - s)), the delta Phi(d_1) of the call times the diffusion coefficient of the discounted stock. So the discounted call value is the initial price plus the gains from holding the delta of shares. The identity is on [0, T'] for T' strictly below T (the delta is discontinuous at maturity); the behaviour at T is the separate statement mf-bs-call-value-tends-to-payoff. Not proved: the identity up to t = T, that the hedge is an admissible self-financing strategy as a structure, or that I equals the integral of the delta against the discounted stock as a semimartingale integrator.

mf-bs-call-value-tends-to-payoff · black_scholes.json · full statement
Black-Scholes Call Value Tends to the Payoff at Maturity

For K, sigma, S_0 > 0 and any path x : R>=0 -> R continuous at T, the Black-Scholes call value bsV K r sigma S_t (T - t) at the stock S_t = S_0 exp((r - sigma^2/2) t + sigma x_t) tends, as t -> T from below, to the call payoff max(S_T - K, 0). A deterministic statement about the closed-form call value along a path: no probability measure and no hedge are involved. Together with mf-bs-delta-hedge-replication (identity on [0, T'] for T' < T) it is the maturity half of the delta-hedge picture; neither statement says the replication identity extends to t = T.

Declarations 17

defMathFin.deltaHedgeIntegrandsource
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ → ℝ → ℝ

The delta-hedge integrand of the discounted Black–Scholes call in the Brownian coordinate: σ · (e^{−rs} S) · Φ(d₁(S, T − s)) with S = gbmValue S₀ r σ s x, the delta Φ(d₁) times the diffusion coefficient σ e^{−rs} S of the discounted stock. It is the x-derivative of discountedCallBrownian for s < T (hasDerivAt_discountedCallBrownian_x).

defMathFin.deltaHedgeIntegrandDerivsource
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ → ℝ → ℝ

The x-derivative of deltaHedgeIntegrand (product and chain rule through the gamma formula hasDerivAt_Phi_bsd1_S), written as the rules produce it.

theoremMathFin.hasDerivAt_deltaHedgeIntegrand_xsource
∀ {K r σ S₀ T s : ℝ}, 0 < K → 0 < σ → 0 < S₀ → s < T → ∀ (x : ℝ), HasDerivAt (fun y => deltaHedgeIntegrand K r σ S₀ T s y) (deltaHedgeIntegrandDeriv K r σ S₀ T s x) x

The x-derivative of the hedge integrand, for s < T: deltaHedgeIntegrandDeriv.

theoremMathFin.hasDerivAt_discountedCallBrownian_tsource
∀ {K r σ S₀ T t : ℝ}, 0 < K → 0 < σ → 0 < S₀ → t < T → ∀ (x : ℝ), HasDerivAt (fun s => discountedCallBrownian K r σ S₀ T s x) (-(1 / 2) * deltaHedgeIntegrandDeriv K r σ S₀ T t x) t

The time derivative of the discounted call in the Brownian coordinate: f_t = −½ f_xx, the Black–Scholes PDE (discountedCallBrownian_heat_equation) with f_xx = deltaHedgeIntegrandDeriv.

defMathFin.timeCapsource
ℝ → ℝ → ℝ → ℝ

A smooth cap of time: timeCap a b is C^∞, equal to the identity on (−∞, a] and below b everywhere (for a < b). It is a + (b − a)·h((t − a)/(b − a)) with h(u) = (1 − θ(u))u + θ(u)/2, θ Mathlib's smooth transition from 0 (for u ≤ 0) to 1 (for u ≥ 1).

theoremMathFin.contDiff_timeCapsource
∀ {a b : ℝ} (n : ℕ∞), ContDiff ℝ (↑n) (timeCap a b)

timeCap a b is smooth.

theoremMathFin.timeCap_of_lesource
∀ {a b t : ℝ}, a < b → t ≤ a → timeCap a b t = t

timeCap a b is the identity on (−∞, a].

theoremMathFin.timeCap_ltsource
∀ {a b : ℝ}, a < b → ∀ (t : ℝ), timeCap a b t < b

timeCap a b stays below b.

theoremMathFin.deriv_timeCap_of_ltsource
∀ {a b t : ℝ}, a < b → t < a → deriv (timeCap a b) t = 1

timeCap a b has derivative 1 on (−∞, a): it is the identity nearby.

theoremMathFin.deriv_timeCap_of_lesource
∀ {a b t : ℝ}, a < b → t ≤ a → deriv (timeCap a b) t = 1

timeCap a b has derivative 1 on (−∞, a] (at a by continuity of the derivative).

theoremMathFin.continuous_bsd1_compsource
∀ {K r σ : ℝ} {X : Type u_1} [TopologicalSpace X] {g τ : X → ℝ}, 0 < K → 0 < σ → Continuous g → (∀ (x : X), 0 < g x) → Continuous τ → (∀ (x : X), 0 < τ x) → Continuous fun x => bsd1 (g x) K r σ (τ x)

d₁ is continuous in any continuous positive price and time to maturity.

theoremMathFin.continuous_deltaHedgeIntegrand_compsource
∀ {K r σ S₀ T : ℝ} {ψ : ℝ → ℝ}, 0 < K → 0 < σ → 0 < S₀ → Continuous ψ → (∀ (t : ℝ), ψ t < T) → Continuous fun p => deltaHedgeIntegrand K r σ S₀ T (ψ p.1) p.2

The hedge integrand is jointly continuous after a continuous time change below T.

theoremMathFin.continuous_deltaHedgeIntegrandDeriv_compsource
∀ {K r σ S₀ T : ℝ} {ψ : ℝ → ℝ}, 0 < K → 0 < σ → 0 < S₀ → Continuous ψ → (∀ (t : ℝ), ψ t < T) → Continuous fun p => deltaHedgeIntegrandDeriv K r σ S₀ T (ψ p.1) p.2

Its x-derivative is jointly continuous after a continuous time change below T.

theoremMathFin.deltaHedgeIntegrand_isStronglyPredictablesource
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {B : NNReal → Ω → ℝ} (hBmeas : ∀ (t : NNReal), Measurable (B t)), (∀ (ω : Ω), Continuous fun t => B t ω) → ∀ (K r σ S₀ T : ℝ), IsStronglyPredictable (natFiltration hBmeas) fun s ω => deltaHedgeIntegrand K r σ S₀ T (↑s) (B s ω)

The delta-hedge integrand along the Brownian path is predictable (for every T, with the junk value of bsd1 at and after maturity).

theoremMathFin.bs_delta_hedge_replicationsource
∀ {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ}, IsPreBrownianReal B μ → ∀ (hBmeas : ∀ (t : NNReal), Measurable (B t)) (hBcont : ∀ (ω : Ω), Continuous fun t => B t ω) {K r σ S₀ T : ℝ}, 0 < K → 0 < σ → 0 < S₀ → ∀ (T' : NNReal), ↑T' < T → ∀ᵐ (ω : Ω) ∂μ, ∀ t ∈ Set.Icc 0 T', Real.exp (-(r * ↑t)) * bsV K r σ (gbmValue S₀ r σ (↑t) (B t ω)) (T - ↑t) = bsV K r σ S₀ T + predItoIntegral T' hBmeas ⋯ t ω

The Black–Scholes delta hedge replicates the call. Let B be a Brownian motion with continuous paths, S_t = S₀·exp((r − σ²/2)t + σ B_t) the risk-neutral stock, and T' < T. Almost surely, for every t ≤ T' at once, the discounted call value is the initial price plus the gains of the delta hedge:

e^{−rt} · C(t, S_t) = C(0, S₀) + ∫₀ᵗ Δ(s, S_s) · σ e^{−rs} S_s dB_s,

with C(t, S) = bsV K r σ S (T − t), Δ(s, S) = Φ(d₁(S, T − s)), and the integral the Itô integral predItoIntegral of the predictable integrand deltaHedgeIntegrand. The integrand is the delta times the diffusion coefficient σ e^{−rs} S_s of the discounted stock, so the right side is the initial price plus the gains from holding Δ(s, S_s) shares of the stock. No bound on T' < T beyond strictness: the horizon cannot reach T since the delta is not continuous there.

theoremMathFin.tendsto_bsV_payoffsource
∀ {α : Type u_1} {l : Filter α} {K r σ S' : ℝ} {S τ : α → ℝ}, 0 < K → 0 < σ → 0 < S' → Filter.Tendsto S l (nhds S') → Filter.Tendsto τ l (nhdsWithin 0 (Set.Ioi 0)) → Filter.Tendsto (fun a => bsV K r σ (S a) (τ a)) l (nhds (max (S' - K) 0))

The Black–Scholes call value converges to the call payoff at maturity. If S → S* > 0 and the time to maturity τ → 0⁺ along a filter, then bsV K r σ S τ → (S* − K)⁺. Write V = S(Φ(d₁) − Φ(d₂)) + (S − Ke^{−rτ})Φ(d₂): the first term is at most S σ √τ (Phi_sub_le, d₁ − d₂ = σ√τ), and Φ(d₂) → 1 or 0 according as S* > K or S* < K, while at S* = K the factor S − Ke^{−rτ} tends to 0.

theoremMathFin.tendsto_bsV_gbm_payoffsource
∀ {K r σ S₀ : ℝ} (T : NNReal), 0 < K → 0 < σ → 0 < S₀ → ∀ {x : NNReal → ℝ}, ContinuousAt x T → Filter.Tendsto (fun t => bsV K r σ (gbmValue S₀ r σ (↑t) (x t)) (↑T - ↑t)) (nhdsWithin T (Set.Iio T)) (nhds (max (gbmValue S₀ r σ (↑T) (x T) - K) 0))

The hedge pays the call. Along a path x continuous at T, the call value C(t, S_t) = bsV K r σ S_t (T − t) of the stock S_t = gbmValue S₀ r σ t (x t) converges, as t → T⁻, to the call payoff (S_T − K)⁺.