Black–Scholes call and put prices as risk-neutral expectations #
In the constant-coefficient Black–Scholes market with interest rate r and volatility σ, the
spot price after a remaining maturity τ ≥ 0, started from spot s, has under the risk-neutral
measure the law of
S_τ = s * exp ((r - σ² / 2) * τ + σ * √τ * Z), Z ∼ N(0, 1).
This file works in that standard Gaussian coordinate. It defines S_τ as a function of Z
(TauCeti.BlackScholes.terminalSpot), the discounted risk-neutral expectation
exp (-r τ) * E[h (S_τ)] of a payoff h (TauCeti.BlackScholes.riskNeutralPrice), and the
closed-form Black–Scholes prices
C = s Φ(d₊) - K e^{-rτ} Φ(d₋), P = K e^{-rτ} Φ(-d₋) - s Φ(-d₊),
with d₊ = (log (s / K) + (r + σ² / 2) τ) / (σ √τ) and d₋ = d₊ - σ √τ, where Φ is the
cumulative distribution function cdf (gaussianReal 0 1) of the standard Gaussian law.
The main results identify the two: the risk-neutral price of the call payoff (x - K)⁺ is C
and that of the put payoff (K - x)⁺ is P, for s, K, σ, τ > 0. Along the way the discounted
stock has risk-neutral price s, and the closed forms satisfy put–call parity
C - P = s - K e^{-rτ}.
The computation splits the call payoff on the in-the-money event {-d₋ < Z}. The strike part is
a Gaussian tail; the stock part is an exponentially weighted Gaussian tail, which is evaluated by
exponential tilting N(0, 1) ↦ N(σ √τ, 1)
(TauCeti.Probability.setIntegral_exp_mul_gaussianReal), the change to the stock numéraire.
Main declarations #
TauCeti.BlackScholes.terminalSpot— the risk-neutral terminal spot as a function of the standard Gaussian coordinate.TauCeti.BlackScholes.riskNeutralPrice— the discounted risk-neutral expectation of a payoff.TauCeti.BlackScholes.dPlus,TauCeti.BlackScholes.dMinus— the Black–Scholesd₊,d₋.TauCeti.BlackScholes.mul_gaussianPDFReal_dPlus— the density identitys φ(d₊) = K e^{-rτ} φ(d₋), whereφis the standard Gaussian density.TauCeti.BlackScholes.callPrice,TauCeti.BlackScholes.putPrice— the closed-form prices.TauCeti.BlackScholes.riskNeutralPrice_id— the discounted stock is priced ats.TauCeti.BlackScholes.callPrice_sub_putPrice— put–call parity.TauCeti.BlackScholes.riskNeutralPrice_call— the risk-neutral price of a call iscallPrice.TauCeti.BlackScholes.riskNeutralPrice_put— the risk-neutral price of a put isputPrice.TauCeti.BlackScholes.callPrice_nonneg,TauCeti.BlackScholes.callPrice_le,TauCeti.BlackScholes.putPrice_nonneg,TauCeti.BlackScholes.putPrice_le_mul_cdf,TauCeti.BlackScholes.putPrice_le— the no-arbitrage bounds0 ≤ C ≤ sand0 ≤ P ≤ K e^{-rτ} Φ(-d₋) ≤ K e^{-rτ}.ContDiffAt.callPrice,ContDiffAt.putPrice— smooth composition of the closed forms with spot and remaining maturity wherevers ≠ 0andτ > 0, forK, σ ≠ 0.
References #
- F. Black, M. Scholes, The pricing of options and corporate liabilities, J. Polit. Econ. 81 (1973), 637–654.
- S. E. Shreve, Stochastic Calculus for Finance II: Continuous-Time Models, Springer, 2004, §5.2.5.
The risk-neutral terminal spot and the pricing functional #
The risk-neutral spot price after remaining maturity τ, started from spot s, in a market
with interest rate r and volatility σ, written as a function of a standard Gaussian
coordinate z: s * exp ((r - σ² / 2) * τ + σ * √τ * z).
Instances For
At zero remaining maturity the terminal spot is the current spot.
The terminal spot is positive when the current spot is.
The terminal spot is a measurable function of the Gaussian coordinate.
The terminal spot is integrable against the standard Gaussian law.
The discounted risk-neutral expectation exp (-r τ) * E[h (S_τ)] of a payoff h of the
terminal spot S_τ = terminalSpot s r σ τ Z, Z ∼ N(0, 1). For a non-integrable payoff the
Bochner integral, and hence this value, is zero.
Instances For
Unfolding lemma for riskNeutralPrice.
At zero remaining maturity a payoff is priced at its value at the current spot.
The risk-neutral price of a measurable payoff is a measurable function of the spot.
The stock itself, as a payoff, is priced at the current spot: the discounted risk-neutral
expectation exp (-r τ) * E[S_τ] of the terminal spot equals s.
The Black–Scholes formulas #
The Black–Scholes quantity d₊ = (log (s / K) + (r + σ² / 2) τ) / (σ √τ).
Instances For
The Black–Scholes quantity d₋ = d₊ - σ √τ.
Instances For
The Gaussian coordinate d₊ is jointly measurable in spot and remaining maturity.
The Gaussian coordinate d₋ is jointly measurable in spot and remaining maturity.
d₋ = (log (s / K) + (r - σ² / 2) τ) / (σ √τ), for every τ: if σ √τ ≠ 0 then τ > 0,
since √τ = 0 for τ ≤ 0. Lean subtlety: when σ √τ = 0 (that is, σ = 0 or τ ≤ 0) both sides
are 0, by Lean's convention x / 0 = 0.
The density identity #
The closed-form Black–Scholes price s Φ(d₊) - K e^{-rτ} Φ(d₋) of a European call with
strike K and remaining maturity τ, where Φ = cdf (gaussianReal 0 1).
Instances For
Unfolding lemma for callPrice.
The closed-form Black–Scholes price K e^{-rτ} Φ(-d₋) - s Φ(-d₊) of a European put with
strike K and remaining maturity τ, where Φ = cdf (gaussianReal 0 1).
Instances For
Unfolding lemma for putPrice.
Risk-neutral prices of calls and puts #
No-arbitrage bounds #
The Black–Scholes put price is at most its strike leg K e^{-rτ} Φ(-d₋).
Smooth composition #
The Black–Scholes normal argument is smooth under composition wherever its logarithm and denominator are nonsingular.
The lower Black–Scholes normal argument is smooth under composition on the same domain.
The closed-form call price is smooth under composition in spot and remaining maturity wherever the normal arguments are nonsingular.
The closed-form put price is smooth under composition in spot and remaining maturity wherever the normal arguments are nonsingular.
The Black–Scholes normal argument is continuous under composition wherever its logarithm and denominator are nonsingular.
The lower Black–Scholes normal argument is continuous under composition on the same domain.
The closed-form call price is continuous under composition in spot and remaining maturity wherever the normal arguments are nonsingular.
The closed-form put price is continuous under composition in spot and remaining maturity wherever the normal arguments are nonsingular.