MathFin
Map / Valuation · Forwards, FX and commodities / MathFin.Models.Forwards.SchwartzOneFactor

Schwartz one-factor commodity futures

MathFin.Models.Forwards.SchwartzOneFactorMSC 91G20MSC 60J60JEL Q02 source

In the Schwartz (1997) one-factor model the log spot price of a commodity is mean-reverting under the pricing measure:

d ln S_t = κ(θ − ln S_t) dt + σ dB_t.

This is the Ornstein–Uhlenbeck dynamics of the Vasicek short rate, so, carrying ln S_T in its Wiener representation (the SDE bridge is cited, not proven — see schwartzFuturesPrice_eq_integral), it has the Gaussian law N(m_T, v_T) with m_T = vasicekSDEMean and v_T = vasicekSDEVariance (vasicekShortRate_hasLaw_gaussian), for κ > 0. The futures price is F(0,T) = E[S_T] = E[e^{ln S_T}], the Gaussian moment-generating function at 1:

F(0,T) = exp(m_T + v_T / 2).

In the Lean, E is the expectation under an arbitrary probability measure μ carrying the Brownian motion: μ is read as the pricing measure, and that the futures price is E^Q[S_T] is the textbook identification, not proved here. schwartzFuturesPrice is the closed form, defined; schwartzFuturesPrice_eq_integral proves it equals E[S_T].

As T → ∞ (for κ > 0) the closed form flattens to exp(θ + σ² / (4κ)), independent of the current spot.

This formalizes only the constant-parameter Schwartz (1997) model; Hull's time-dependent level q(t) (the Hull–White-form drift calibrated to the quoted futures curve) is out of scope.

Main definitions

  • schwartzFuturesPrice: the Schwartz one-factor futures price, defined as the closed form exp(m_T + v_T / 2) from the initial log spot x₀, long-run log level θ, speed κ, volatility σ and maturity T.

Main results

  • schwartzFuturesPrice_eq_integral — it equals E[S_T] for the log spot in its Wiener representation (the SDE bridge is cited, not proven).
  • tendsto_schwartzFuturesPrice_atTop — for κ > 0, the long-maturity flattening limit exp(θ + σ²/(4κ)).

References

  • E. S. Schwartz, The Stochastic Behavior of Commodity Prices: Implications for Valuation and Hedging [Schwartz1997].
  • J. C. Hull, Options, Futures, and Other Derivatives [Hull] (the time-dependent q(t) extension).

Tags

Schwartz model, commodity futures, mean-reverting spot, Ornstein-Uhlenbeck, convenience yield, futures curve, MSC 91G20, MSC 60J60, JEL Q02

Import neighbourhood

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

Corpus entries

mf-schwartz-futures-price · commodities.json · full statement
Schwartz One-Factor Commodity Futures Price

For κ > 0 and the log spot carried in its Ornstein–Uhlenbeck Wiener representation ln S_T = m_T + σ∫₀ᵀ e^{−κ(T−s)} dB_s (the solution form of the Schwartz (1997) log-price SDE d ln S = κ(θ − ln S)dt + σ dB; that this representation solves the SDE is cited, not derived here), E[S_T] = E[exp(ln S_T)] = exp(m_T + v_T/2) with m_T = vasicekSDEMean and v_T = vasicekSDEVariance, the expectation taken under the given probability measure. Read as the pricing measure, this is the Schwartz one-factor futures price F(0,T) = E^Q[S_T]; that identification of the futures price is textbook, not proved here. Proved by composing Mathlib's Gaussian MGF (mgf_gaussianReal at 1) with the derived Gaussian law of that representation (vasicekShortRate_hasLaw_gaussian).

Declarations 3

defMathFin.schwartzFuturesPricesource
ℝ → ℝ → ℝ → ℝ → ℝ → ℝ

Schwartz one-factor futures price with initial log spot x₀, long-run log level θ, mean-reversion speed κ, volatility σ and maturity T, defined as the closed form exp(m_T + v_T / 2); schwartzFuturesPrice_eq_integral proves it is the mean E[S_T] of the terminal spot (for κ > 0, the log spot in its Wiener representation).

theoremMathFin.schwartzFuturesPrice_eq_integralsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {μ : Measure Ω} [IsProbabilityMeasure μ] {B : NNReal → Ω → ℝ} (hB : IsPreBrownianReal B μ) (x₀ θ σ : ℝ) {κ : ℝ} (hκ : 0 < κ) (T : NNReal), ∫ (ω : Ω), Real.exp (vasicekSDEMean x₀ θ κ ↑T + σ * ↑↑((wienerIntegralLp B hB T) (vasicekKernelLp κ ⋯ T)) ω) ∂μ = schwartzFuturesPrice x₀ θ κ σ ↑T

Schwartz futures price = expected terminal spot. With the log spot carried in its Wiener representation ln S_T = m_T + σ ∫₀ᵀ e^{−κ(T−s)} dB_s (the OU solution representation of vasicekShortRate_hasLaw_gaussian — the modelling bridge from the SDE is cited, not proven here) and κ > 0, E[S_T] = schwartzFuturesPrice, the expectation taken under the given probability measure μ.

theoremMathFin.tendsto_schwartzFuturesPrice_atTopsource
∀ (x₀ θ σ : ℝ) {κ : ℝ}, 0 < κ → Filter.Tendsto (schwartzFuturesPrice x₀ θ κ σ) Filter.atTop (nhds (Real.exp (θ + σ ^ 2 / (4 * κ))))

Long-maturity flattening: as T → ∞ the Schwartz futures price tends to exp(θ + σ² / (4κ)), independent of the initial spot.