MathFin
Map / Choice · Market microstructure / MathFin.Markets.Microstructure.GlostenMilgromCondExp

Glosten–Milgrom quotes as conditional expectations

MathFin.Markets.Microstructure.GlostenMilgromCondExpMSC 91B26MSC 60G42JEL D82 source

MathFin.Markets.Microstructure.GlostenMilgrom writes the market maker's quotes as integrals against conditioned measures: the ask is ∫ V ∂μ[|B] on the buy event B, the bid ∫ V ∂μ[|Bᶜ] on the sell event. This file identifies the quote process with Mathlib's conditional expectation given the σ-algebra the trade direction generates, σ(B) = generateFrom {B}, and reads off the martingale property of one trade.

Main results

  • generateFrom_singleton_compl: a set and its complement generate the same σ-algebra.
  • condExp_payoff_eq_quote: μ[V | σ(B)] is, μ-a.e., the ask on B and the bid on Bᶜ. The two posited quotes are exactly the conditional expectation of the value given the order's direction (Mathlib's ProbabilityTheory.condExp_generateFrom_singleton).
  • measureReal_mul_ask_add_measureReal_mul_bid: P(B) · ask + P(Bᶜ) · bid = E[V]. The expected transaction price equals the expected value: the one-trade martingale property, from the tower property integral_condExp.
  • buyProb_mul_postBuy_add_sellProb_mul_postSell: the same statement for the closed-form posteriors of GlostenMilgrom: weighting postBuy and postSell by the probabilities of a buy and a sell, (1 ± p(2θ − 1))/2, returns the prior θ.

Scope

One trade. The quotes are posited as the conditioned integrals (as in GlostenMilgrom); the zero-profit derivation of the competitive market maker, and the sequence of trades along which Glosten–Milgrom prices form a martingale, are not formalized.

References

  • L. R. Glosten and P. R. Milgrom, Bid, ask and transaction prices in a specialist market with heterogeneously informed traders [GlostenMilgrom1985]

Tags

Glosten–Milgrom model, market maker quotes, conditional expectation, bid–ask spread, adverse selection, martingale, MSC 91B26, MSC 60G42, JEL D82

Import neighbourhood

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

Corpus entries

mf-glosten-milgrom-quote-condexp · market_microstructure.json · full statement
Glosten-Milgrom Quotes Are the Conditional Expectation Given the Trade

For a finite measure, a measurable value-high event H and a measurable buy event B, the conditional expectation of the two-valued asset V given the sigma-algebra generated by B is almost everywhere the ask E[V | B] on buys and the bid E[V | B^c] on sells, and P(B) * ask + P(B^c) * bid = E[V]: the expected transaction price is the expected value. One trade; the quotes are the conditioned integrals of the Glosten-Milgrom module, and the competitive market maker's zero-profit derivation and the multi-trade price sequence are not formalized.

Declarations 4

theoremMathFin.Execution.generateFrom_singleton_complsource
∀ {Ω : Type u_1} (B : Set Ω), MeasurableSpace.generateFrom {Bᶜ} = MeasurableSpace.generateFrom {B}

A set and its complement generate the same σ-algebra: observing a sell is observing that there was no buy.

theoremMathFin.Execution.condExp_payoff_eq_quotesource
∀ {Ω : Type u_1} [MeasurableSpace Ω] (μ : Measure Ω) [IsFiniteMeasure μ] {H B : Set Ω} [DecidablePred fun x => x ∈ B], MeasurableSet H → MeasurableSet B → ∀ (VL VH : ℝ), μ[payoff H VL VH | MeasurableSpace.generateFrom {B}] =ᵐ[μ] B.piecewise (fun x => ∫ (ω : Ω), payoff H VL VH ω ∂μ[|B]) fun x => ∫ (ω : Ω), payoff H VL VH ω ∂μ[|Bᶜ]

The quote is the conditional expectation given the trade direction. For a finite measure, μ[V | σ(B)] agrees μ-a.e. with the quote process: the ask ∫ V ∂μ[|B] on the buy event and the bid ∫ V ∂μ[|Bᶜ] on the sell event.

theoremMathFin.Execution.measureReal_mul_ask_add_measureReal_mul_bidsource
∀ {Ω : Type u_1} [MeasurableSpace Ω] (μ : Measure Ω) [IsFiniteMeasure μ] {H B : Set Ω}, MeasurableSet H → MeasurableSet B → ∀ (VL VH : ℝ), μ.real B * ∫ (ω : Ω), payoff H VL VH ω ∂μ[|B] + μ.real Bᶜ * ∫ (ω : Ω), payoff H VL VH ω ∂μ[|Bᶜ] = ∫ (ω : Ω), payoff H VL VH ω ∂μ

The expected transaction price is the expected value. For a finite measure, P(B) · ask + P(Bᶜ) · bid = E[V]: averaging the quote over the trade direction returns the unconditional mean, the tower property of condExp_payoff_eq_quote.

theoremMathFin.Execution.buyProb_mul_postBuy_add_sellProb_mul_postSellsource
∀ {θ p : ℝ}, 1 + p * (2 * θ - 1) ≠ 0 → 1 - p * (2 * θ - 1) ≠ 0 → (1 + p * (2 * θ - 1)) / 2 * postBuy θ p + (1 - p * (2 * θ - 1)) / 2 * postSell θ p = θ

One-step martingale identity for beliefs, in closed form. Weighting the posterior after a buy and after a sell by the probabilities of a buy and of a sell, (1 + p(2θ − 1))/2 and (1 − p(2θ − 1))/2 (spread_pos_of_model derives these), returns the prior θ.