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

Black–Scholes digital option pricing formulas

MathFin.Models.BlackScholes.DigitalMSC 91G20JEL G13 source

Two digital (a.k.a. binary) European derivatives:

  • Cash-or-nothing call pays $1 at maturity T iff S_T > K. Price: V_cash = e^{-rT} · Φ(d_2).
  • Asset-or-nothing call pays S_T at maturity T iff S_T > K. Price: V_asset = S_0 · Φ(d_1).

Both are derived directly from the BS hypothesis via the same machinery as the vanilla call: HasLaw transfer to standard normal, 1_{S_T > K} on Ioi(-d_2), then either gaussianReal_Ioi_toReal (cash case) or integral_exp_mul_gaussianPDFReal_Ioi (asset case).

The standard decomposition Call = AssetDigital − K · CashDigital is also proved as a corollary.

Main results

  • bs_cash_or_nothing_formula: under BSCallHyp, the discounted expected payoff of the cash-or-nothing call (1 if S_T > K) is e^{−rT} · Φ(d₂).
  • bs_asset_or_nothing_formula: under BSCallHyp, the discounted expected payoff of the asset-or-nothing call (S_T if S_T > K) is S_0 · Φ(d₁).
  • bs_call_eq_asset_minus_K_cash: under BSCallHyp, the discounted expected call payoff is the asset-or-nothing value minus K times the cash-or-nothing value.

References

  • J. C. Hull, Options, Futures, and Other Derivatives [Hull], 26.1

Tags

digital option, binary option, cash-or-nothing, asset-or-nothing, Black–Scholes, MSC 91G20, JEL G13

Import neighbourhood

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

Corpus entries

mf-cash-or-nothing · black_scholes.json · full statement
Cash-or-Nothing Digital Call

Cash-or-nothing digital pays $1 iff S_T > K. Price: V = e^{-rT} Phi(d_2).

mf-asset-or-nothing · black_scholes.json · full statement
Asset-or-Nothing Digital Call

Asset-or-nothing digital pays S_T iff S_T > K. Price: V = S_0 Phi(d_1).

Declarations 3

theoremMathFin.bs_cash_or_nothing_formulasource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {S_0 K r σ T : ℝ} {Z : Ω → ℝ}, BSCallHyp Q S_0 K r σ T Z → ∫ (ω : Ω), Real.exp (-r * T) * (Set.Ioi K).indicator (fun x => 1) (bsTerminal S_0 r σ T (Z ω)) ∂Q = Real.exp (-r * T) * Phi (bsd2 S_0 K r σ T)

Cash-or-nothing call pricing formula.

Pays $1 at maturity iff S_T > K. Its discounted expected payoff under the risk-neutral measure is V_cash = e^{-rT} · Φ(d_2) where d_2 = (log(S_0/K) + (r - σ²/2)T) / (σ√T).

Real derivation: HasLaw transfer to standard normal, identify {S_T(z) > K} = Ioi(-d_2) via bsTerminal_gt_K_iff, then ∫ 1_{Ioi(-d_2)}(z) · pdf(0,1,z) dz = (gaussianReal 0 1 (Ioi(-d_2))).toReal = Φ(d_2) via gaussianReal_Ioi_toReal.

theoremMathFin.bs_asset_or_nothing_formulasource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {S_0 K r σ T : ℝ} {Z : Ω → ℝ}, BSCallHyp Q S_0 K r σ T Z → ∫ (ω : Ω), Real.exp (-r * T) * (Set.Ioi K).indicator (fun s => s) (bsTerminal S_0 r σ T (Z ω)) ∂Q = S_0 * Phi (bsd1 S_0 K r σ T)

Asset-or-nothing call pricing formula.

Pays S_T at maturity iff S_T > K. Its discounted expected payoff under the risk-neutral measure is V_asset = S_0 · Φ(d_1).

Real derivation: HasLaw transfer + identify {S_T > K} = Ioi(-d_2) + integral_exp_mul_gaussianPDFReal_Ioi for the exp(ν_log · z) · pdf integrand on the exercise region. The BS martingale algebra (r - σ²/2)T + σ²T/2 = rT and ν_log - (-d_2) = d_1 close the proof.

theoremMathFin.bs_call_eq_asset_minus_K_cashsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {Q : Measure Ω} [IsProbabilityMeasure Q] {S_0 K r σ T : ℝ} {Z : Ω → ℝ}, BSCallHyp Q S_0 K r σ T Z → ∫ (ω : Ω), Real.exp (-r * T) * max (bsTerminal S_0 r σ T (Z ω) - K) 0 ∂Q = ∫ (ω : Ω), Real.exp (-r * T) * (Set.Ioi K).indicator (fun s => s) (bsTerminal S_0 r σ T (Z ω)) ∂Q - K * ∫ (ω : Ω), Real.exp (-r * T) * (Set.Ioi K).indicator (fun x => 1) (bsTerminal S_0 r σ T (Z ω)) ∂Q

The vanilla European call decomposes as AssetDigital − K · CashDigital: C = (S_0 · Φ(d_1)) − K · (e^{-rT} · Φ(d_2)).

A direct algebraic consequence of bs_call_formula, bs_asset_or_nothing_formula, and bs_cash_or_nothing_formula.