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

Theory of storage: convenience yield and the canonical-storage price kink

MathFin.Models.Forwards.TheoryOfStorageMSC 91G20JEL Q02JEL G13 source

The theory of storage (Kaldor 1939, Working 1949) models the commodity spot price as a kinked function of "availability" A (current stock plus expected supply). For availability below the kink point A* (scarcity) the price tracks the inverse demand-for-storage curve f⁻¹(A), which falls as availability rises; at and above A* storage is profitable and the market sits at the investment-regime price floor Sbar = E[S_{t+1}] − C:

S(A) = max(Sbar, f⁻¹(A)) (canonical-storage price) Y(A) = max(f⁻¹(A) − Sbar, 0) (convenience yield)

By definition the convenience yield is positive exactly where f⁻¹(A) > Sbar and zero elsewhere; for a decreasing f⁻¹ that is where scarcity bites, below the kink. The definitions here take any f⁻¹ : ℝ → ℝ: no monotonicity of f⁻¹ is assumed, and nothing is proved about A below or above A*. The two functions are two faces of the same kink: Y(A) = S(A) − Sbar always.

The forward is derived, not posited, from the library's no-arbitrage forward (forward_price_from_no_arbitrage, Pricing/NoArbitrageDerivations.lean). In a finite-state market with state prices q and discount factor DF = ∑ q, suppose holding one unit of the stored commodity to the delivery date is priced at the spot S₀: it delivers the commodity S_T, the convenience yield Y, and costs the storage C, both Y and C deterministic and paid at delivery (∑ q·(S_T − C + Y) = S₀). Then the forward strike with zero value is F = S₀/DF + C − Y (storageForward_from_no_arbitrage). With zero rates (DF = 1), spot S₀ = S(A) and Y = Y(A), this gives F = Sbar + C at every availability (storageForward_at_availability), and the cost-of-carry identity — the spot price S(A) plus the finance/storage cost C net of the convenience-yield benefit — is the kink identity rearranged:

F − S(A) = C − Y(A)

(convenience yield reduces net carry cost — high-yield, near-backwardation markets have Y(A) large relative to C. This is the standard sign convention in the literature: convenience yield is a benefit to the holder of physical stock, so it subtracts from the holder's net financing cost, i.e. from C).

For an isoelastic demand-for-storage curve f⁻¹(A) = p_ref · (a_ref / A) ^ ε (flexibility ε = −d ln p / d ln A, reference availability a_ref, reference price p_ref), a kink point A* with f⁻¹(A*) = Sbar is

A* = a_ref · (p_ref / Sbar) ^ {1/ε}

for a_ref, p_ref, Sbar > 0 and ε ≠ 0 (kinkPoint_spec); that it is the only crossing is not stated.

Main definitions

  • storageSpotPrice: the canonical-storage spot price max Sbar (invDemand A) at availability A, for any invDemand : ℝ → ℝ.
  • convenienceYield: max (invDemand A - Sbar) 0.
  • invDemandIsoelastic: the isoelastic inverse demand for storage p_ref * (a_ref/A)^ε.
  • kinkPoint: the availability at which the isoelastic curve meets the floor Sbar.

Main results

  • convenienceYield_eq_storageSpotPrice_sub : Y(A) = S(A) − Sbar.
  • carry_identity_at_availability : (Sbar + C) − S(A) = C − Y(A), the cost-of-carry identity at the kink functions (convenienceYield_eq_storageSpotPrice_sub rearranged).
  • storageForward_from_no_arbitrage : in a finite-state market whose stored commodity is priced with storage cost C and convenience yield Y paid at delivery, the zero-value forward strike is F = S₀/DF + C − Y.
  • storageForward_at_availability : with zero rates, spot S(A) and convenience yield Y(A), the zero-value forward strike is Sbar + C at every availability A.
  • invDemandIsoelastic, kinkPoint, kinkPoint_spec : the isoelastic demand-for-storage curve and a kink point solving f⁻¹(A*) = Sbar, for a_ref, p_ref, Sbar > 0 and ε ≠ 0.

References

  • N. Kaldor, Speculation and economic stability [Kaldor1939].
  • H. Working, The theory of price of storage [Working1949].
  • J. C. Hull, Options, Futures, and Other Derivatives [Hull], ch. 5

Tags

theory of storage, convenience yield, Kaldor–Working, cost of carry, backwardation, commodity forward, MSC 91G20, JEL Q02, JEL G13

Import neighbourhood

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

Corpus entries

mf-storage-forward-convenience-yield · commodities.json · full statement
Commodity Forward with Storage Cost and Convenience Yield from No-Arbitrage

In a finite-state market with state prices q, discount factor DF = Σq ≠ 0 and terminal commodity prices S_T, suppose the stored commodity is priced at the spot S₀ as the claim on S_T − C + Y (storage cost C and convenience yield Y, both deterministic and paid at delivery). Then a forward with strike F has zero value exactly when F = S₀/DF + C − Y. Derived from the library's no-arbitrage forward applied to the stored-commodity claim.

mf-storage-forward-kink-invariant · commodities.json · full statement
Theory-of-Storage Forward Is Sbar + C at Every Availability

In the canonical theory-of-storage model the spot price at availability A is S(A) = max(Sbar, f⁻¹(A)) and the convenience yield is Y(A) = max(f⁻¹(A) − Sbar, 0). With zero rates (state prices summing to 1) and the stored commodity priced at S(A) as the claim on S_T − C + Y(A), the forward with zero value has strike F = Sbar + C at every availability A: the convenience yield offsets exactly the spot's premium over the floor Sbar. The inverse demand-for-storage curve f⁻¹ is arbitrary; no monotonicity is assumed.

Declarations 9

defMathFin.storageSpotPricesource
ℝ → (ℝ → ℝ) → ℝ → ℝ

Canonical-storage spot price: the price sits at the investment-regime floor Sbar when the inverse demand-for-storage curve f⁻¹ would call for less, else tracks it.

defMathFin.convenienceYieldsource
ℝ → (ℝ → ℝ) → ℝ → ℝ

Convenience yield: positive exactly where scarcity pushes the demand-for-storage price above the investment-regime floor (f⁻¹(A) > Sbar), zero where it does not.

theoremMathFin.convenienceYield_eq_storageSpotPrice_subsource
∀ (Sbar : ℝ) (invDemand : ℝ → ℝ) (A : ℝ), convenienceYield Sbar invDemand A = storageSpotPrice Sbar invDemand A - Sbar

The convenience yield is exactly how far the canonical-storage price sits above the floor Sbar — the two kinks are one and the same.

theoremMathFin.carry_identity_at_availabilitysource
∀ (Sbar C : ℝ) (invDemand : ℝ → ℝ) (A : ℝ), Sbar + C - storageSpotPrice Sbar invDemand A = C - convenienceYield Sbar invDemand A

Carry identity at a given availability: at the forward F = Sbar + C (cost of carry off the investment-regime floor; derived from no-arbitrage in storageForward_at_availability), the carry spread against the canonical-storage spot price is exactly C − Y(A) — convenience yield subtracts from the carry cost C, the standard theory-of-storage sign convention (convenience yield is a benefit to the holder of physical stock). The identity is convenienceYield_eq_storageSpotPrice_sub rearranged.

theoremMathFin.storageForward_from_no_arbitragesource
∀ {ι : Type u_1} (s : Finset ι) (q S : ι → ℝ) (DF S₀ C Y F : ℝ), DF ≠ 0 → ∑ i ∈ s, q i = DF → ∑ i ∈ s, q i * (S i - C + Y) = S₀ → (∑ i ∈ s, q i * (S i - F) = 0 ↔ F = S₀ / DF + C - Y)

Cost of carry with storage cost and convenience yield, from no-arbitrage. In a finite-state market with state prices q, discount factor ∑ q = DF ≠ 0, terminal commodity prices S, and the stored commodity priced at the spot S₀ as the claim on S_T − C + Y (the commodity, less the storage cost C, plus the convenience yield Y, both deterministic and paid at delivery), the forward with strike F has zero value exactly when F = S₀/DF + C − Y. The library's forward forward_price_from_no_arbitrage applied to the stored-commodity claim, shifted by the deterministic carry Y − C.

theoremMathFin.storageForward_at_availabilitysource
∀ {ι : Type u_1} (s : Finset ι) (q S : ι → ℝ) (Sbar C F : ℝ) (invDemand : ℝ → ℝ) (A : ℝ), ∑ i ∈ s, q i = 1 → ∑ i ∈ s, q i * (S i - C + convenienceYield Sbar invDemand A) = storageSpotPrice Sbar invDemand A → (∑ i ∈ s, q i * (S i - F) = 0 ↔ F = Sbar + C)

The forward does not see availability. With zero rates (∑ q = 1), the spot at the canonical-storage price S(A) and the convenience yield Y(A) of the same kink, the zero-value forward strike is Sbar + C at every availability A: the convenience yield offsets exactly the scarcity premium of the spot over the floor. This derives the forward F = Sbar + C at which carry_identity_at_availability is stated.

defMathFin.invDemandIsoelasticsource
ℝ → ℝ → ℝ → ℝ → ℝ

Isoelastic inverse demand for storage: f⁻¹(A) = p_ref · (a_ref/A)^ε, flexibility ε = −d ln p / d ln A against reference availability a_ref and price p_ref.

used by 1: kinkPoint_spec
defMathFin.kinkPointsource
ℝ → ℝ → ℝ → ℝ → ℝ

Kink point: the availability A* at which the isoelastic demand-for-storage curve meets the investment-regime floor Sbar.

used by 1: kinkPoint_spec
theoremMathFin.kinkPoint_specsource
∀ (a_ref p_ref Sbar ε : ℝ), 0 < a_ref → 0 < p_ref → 0 < Sbar → ε ≠ 0 → invDemandIsoelastic a_ref p_ref ε (kinkPoint a_ref p_ref Sbar ε) = Sbar

Kink-point equation: f⁻¹(A*) = Sbar, i.e. the isoelastic demand-for-storage curve meets the floor at kinkPoint (uniqueness of the crossing is not stated).