Technique reference and sources
Picture the mid as a tide mark on a wall. A buy is a wave pushing it up the wall and a sell is a wave pulling it down. The size of the push depends on how informative the wave is: a buy that arrives almost only on high values shoves the mark hard, while an uninformative coin-flip fill barely moves it.
When this method fits
- A trade hits your quote and you must re-center before quoting again.
- You know the prior and the direction likelihoods for each state.
- An interviewer asks for the posterior and the new fair value after a buy or sell.
- You need the size of the mid move to check whether a quote update was large enough.
- Start from the prior mid. Compute E[V] = p × V_H + (1 - p) × V_L as the pre-trade center.
- Apply Bayes to the direction. Posterior = prior × direction likelihood, divided by total direction probability across both states.
- Recompute the mid. New mid = posterior × V_H + (1 - posterior) × V_L.
- Move both quotes. Shift bid and ask together to the new posterior mean as the new belief anchor. Then recompute each side's conditional price from the updated prior: the next buy is priced off E[V | next buy] and the next sell off E[V | next sell], since the posterior mean alone does not price one-sided flow.
- p = 0.5, buys 0.8 / 0.2: 0.40 / 0.50 = 0.8
- p = 0.5, buys 0.75 / 0.25: 0.375 / 0.50 = 0.75
- p = 0.5, buys 0.8 / 0.2: 0.10 / 0.50 = 0.2, mid 94
- p = 0.5, buys 0.75 / 0.25: 0.125 / 0.50 = 0.25, mid 95
- p = 0.5, buys 0.8 / 0.2: prior odds 1:1 × ratio 4 = 4:1, p = 4/5, mid 90 + 20 × 4/5 = 106
- p = 0.5, buys 0.75 / 0.25: prior odds 1:1 × ratio 3 = 3:1, p = 3/4, mid 90 + 20 × 3/4 = 105
Common traps
Leaving the quote centered at 100 after a buy that moves the posterior to 0.8. The old center is 6 below the updated mean of 106. Evaluate each resting price against the relevant conditional value: a resting ask at 100 + h keeps edge h - 6 against 106, so with a half-width of 10 it still earns +4 if lifted, while with a half-width of 1 it sells 5 too cheap.
Moving the mid by a fixed 1 tick regardless of how informative the fill was. The move equals posterior mean minus prior mean: +6 after the 0.8-posterior buy, -6 after the 0.2-posterior sell. Token moves underreact to strong signals.
Updating only the touched side, raising the ask after a buy while leaving the bid at the old level. Beliefs changed about value, not about one side. Both bid and ask re-center on the new mid of 106 as the new belief anchor; then re-derive each side's conditional spread from the updated prior before quoting size.
- Prior mid: 0.25 × 110 + 0.75 × 90 = 27.5 + 67.5 = 95
- Total buy probability: 0.25 × 1.0 + 0.75 × 0.5 = 0.25 + 0.375 = 0.625
- Posterior: 0.25 / 0.625 = 0.4
- New mid: 0.4 × 110 + 0.6 × 90 = 44 + 54 = 98
Source notes
These explanations and questions are written for QuantArc. Links show the underlying mathematics and learning design.
Harvard Stat 110: Probability (Joe Blitzstein)
Free course site with videos and the open companion book Introduction to Probability; the topic spine for counting, Bayes, and linearity. Lesson examples and questions are original.
Jane Street: Probability & Markets Trading Interview Guide
Interview preparation guide (page 9) testing optimal stopping and market making on a d6 with one optional reroll. Lesson examples and questions are original.
IES: Organizing Instruction and Study to Improve Student Learning
Supports worked examples, retrieval, explanations and spaced study. Does not establish QuantArc's exact lesson length, mastery threshold or review intervals.