MathFin
Map / Statistics / MathFin.Markets.Microstructure.RollSpread

Roll (1984): the bid-ask bounce spread estimator

MathFin.Markets.Microstructure.RollSpreadMSC 62P05MSC 91G70JEL G14 source

Roll's model of a mid-price m_t contaminated by bid-ask bounce: the observed trade price is

P_t = m_t + (s/2) * q_t,

where s ≥ 0 is the (constant) bid-ask spread and q_t ∈ {-1, +1} is the trade-direction indicator (buy/sell), modelled as a fair random sign (rademacher, from MathFin.Probability.Dependence.CorrelationFallacies). Roll's economic assumptions — stated here as explicit, named hypotheses, since the original note leaves them implicit — are:

  • the signs q_t have the rademacher law (pairwise independent fair coin flips across time — joint independence is never used);
  • every pair of the five variables drawn from the two consecutive price changes that splits across the two changes (one variable feeding ΔP_t, the other ΔP_{t-1}) is independent, except the sign shared by the two changes with itself; independence within a single price change is not assumed.

The mid-price increments are also assumed square-integrable, so that the covariances exist. Under these hypotheses the first-order autocovariance of the trade-price change ΔP_t = P_t - P_{t-1} is -(s/2)², nonpositive and strictly negative whenever s ≠ 0:

Cov(ΔP_t, ΔP_{t-1}) = -(s/2)².

This is covariance_rollPriceChange. Covariance is bilinear and translation-invariant, so the mean of the mid-price increments plays no role; only independence matters. Expanding the product and discarding every covariance between independent variables leaves exactly one surviving term: the own-covariance (variance) of the sign q_{t-1} shared between the two consecutive price changes, whose variance is 1 (variance_one_of_hasLaw_rademacher). The identity is usually inverted into the Roll estimator ŝ = 2 √(-γ̂₁) of the spread from the sample first-order autocovariance γ̂₁ of observed price changes; rollSpread_eq_two_mul_sqrt records the inversion at the level of the model's covariance (s = 2 √(-γ) whenever γ = -(s/2)² and s ≥ 0). No sample autocovariance, and no property of ŝ as an estimator, is formalized.

We state the result for three consecutive sign variables q0 q1 q2 (representing q_{t-2}, q_{t-1}, q_t) and two increments dm1 dm2 (Δm_{t-1}, Δm_t), rather than threading a time index through a stochastic process, since only these five variables and their pairwise independence ever enter the computation.

The inversion is only meaningful when the sample autocovariance γ̂₁ is nonpositive, as the model predicts. If γ̂₁ > 0 — which real data can and does produce, since the model is an approximation — no s satisfies the hypothesis γ = -(s/2)² of rollSpread_eq_two_mul_sqrt, and Real.sqrt of the negative argument -γ̂₁ returns 0 by Mathlib's junk-value convention, so naively evaluating 2 * Real.sqrt (-γ̂₁) at γ̂₁ > 0 silently yields a spread estimate of 0 rather than signalling that the estimator is undefined there.

Main definitions

  • rollPriceChange: the Roll trade-price change dm + (s/2) qNow - (s/2) qPrev from a mid-price increment dm, a spread s and two consecutive trade-direction signs.

Main results

  • variance_id_rademacher, variance_one_of_hasLaw_rademacher: a fair random sign has variance 1.
  • covariance_rollPriceChange: Cov(ΔP_t, ΔP_{t-1}) = -(s/2)² under the stated law, integrability and independence hypotheses.
  • rollSpread_eq_two_mul_sqrt: the algebraic inversion s = 2 * √(-γ) for s ≥ 0 and any real γ = -(s/2)²; with covariance_rollPriceChange it gives s = 2 * √(-Cov(ΔP_t, ΔP_{t-1})).

References

  • R. Roll, A simple implicit measure of the effective bid-ask spread in an efficient market [Roll1984].

Tags

Roll model, bid–ask bounce, effective spread, serial covariance, spread estimator, market microstructure, MSC 62P05, MSC 91G70, JEL G14

Import neighbourhood

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

Corpus entries

mf-roll-spread-autocovariance · market_microstructure.json · full statement
Roll Spread from the Autocovariance of Price Changes

In Roll's model P_t = m_t + (s/2) q_t with fair random trade signs q (Rademacher law), square-integrable mid-price increments, and independence of every pair of variables split across two consecutive price changes (except the shared sign with itself), the lag-one autocovariance of trade-price changes is Cov(dP_t, dP_{t-1}) = -(s/2)^2, so a nonnegative spread is s = 2 sqrt(-Cov(dP_t, dP_{t-1})). A population identity: the sample autocovariance and the statistical properties of the Roll estimator are not formalized.

Declarations 6

theoremMathFin.variance_id_rademachersource
variance id rademacher = 1

A fair random sign has variance 1.

theoremMathFin.memLp_id_rademachersource
∀ (p : ENNReal), MemLp id p rademacher

A fair random sign lies in every L^p: it is bounded by 1.

theoremMathFin.variance_one_of_hasLaw_rademachersource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ}, HasLaw X rademacher P → variance X P = 1

A fair random sign has variance 1, transported along its law.

defMathFin.rollPriceChangesource
{Ω : Type u_1} → (Ω → ℝ) → (Ω → ℝ) → (Ω → ℝ) → ℝ → Ω → ℝ

The Roll trade-price change built from a mid-price increment dm (Δm_t) and two consecutive trade signs qPrev qNow (q_{t-1}, q_t), following P_t = m_t + (s/2) q_t.

theoremMathFin.covariance_rollPriceChangesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} [IsProbabilityMeasure P] {q0 q1 q2 dm1 dm2 : Ω → ℝ} {s : ℝ}, HasLaw q0 rademacher P → HasLaw q1 rademacher P → HasLaw q2 rademacher P → MemLp dm1 2 P → MemLp dm2 2 P → IndepFun q2 q1 P → IndepFun q2 q0 P → IndepFun q1 q0 P → IndepFun dm2 dm1 P → IndepFun dm2 q0 P → IndepFun dm2 q1 P → IndepFun dm1 q1 P → IndepFun dm1 q2 P → covariance (rollPriceChange dm2 q1 q2 s) (rollPriceChange dm1 q0 q1 s) P = -(s / 2) ^ 2

Roll's (1984) autocovariance identity. Under the explicitly-stated hypotheses — q0, q1, q2 are fair random signs (rademacher law), dm1, dm2 are square-integrable, and every pair drawn from the five variables {q0, q1, q2, dm1, dm2} that is split across the two consecutive price changes (one variable feeding ΔP_t, the other ΔP_{t-1}) is independent, except q1 with itself — the lag-one autocovariance of the trade-price change is -(s/2)²: the own-covariance of the shared sign q1 is the only surviving term. Independence within a single price change (e.g. dm2 with q2, or dm1 with q0) is never used and so is not assumed: those pairs never get multiplied together by the covariance expansion.

theoremMathFin.rollSpread_eq_two_mul_sqrtsource
∀ {s γ : ℝ}, 0 ≤ s → γ = -(s / 2) ^ 2 → s = 2 * √(-γ)

Roll's (1984) spread estimator: inverting the covariance identity algebraically gives s = 2 √(-Cov(ΔP_t, ΔP_{t-1})) for s ≥ 0. Stated directly from the covariance value (rather than re-deriving it from the independence hypotheses) since the inversion is pure algebra on a real number γ standing for cov[ΔP_t, ΔP_{t-1}; P].