How to Detect Steam Moves with Real-Time Odds Data

What a steam move is, how to detect synchronized moves across sportsbooks in real time, a working JavaScript detector, and the false positives to filter out.

A steam move is a fast, synchronized price change across many books in the same direction. The classic pattern is a sharp group or a piece of news hitting one or two market-leading books, which move first, followed within seconds or minutes by the rest of the market adjusting to match. It's worth being able to detect steam moves for two reasons: steam carries information about where the price is going, and the books that move last briefly offer prices the rest of the market has already abandoned.

This post turns that description into a definition precise enough to code, walks through a detector you can run on real-time odds data from the stream, and lists the patterns that look like steam but aren't.

A working definition

"The line moved a lot" is not a definition. Steam detection needs four parameters:

Put together: a steam move on a market is N or more books moving the same outcome's fair probability by at least X within T seconds, with at least one sharp book among them.

Measure moves in no-vig probability

Raw price changes are a poor unit. Going from -105 to -115 and from +300 to +310 are both "ten cents", but the first changes the implied probability by about 2.3 points and the second by about 0.6. Instead, de-vig each book's two-way market and track the fair probability of the first outcome. (The no-vig fair odds guide covers the method.)

Per-book de-vigging also cancels out each book's margin, so a book with a wide margin and a book with a thin one move on the same scale. For example, a moneyline going from -150 / +130 to -165 / +145 moves the favorite's fair probability from 0.5798 to 0.6040, a move of 2.4 points.

Why weight sharp books

Not all books move for the same reasons. Sharp books move because they took informed money or because their traders reacted to information. Recreational books often move because the sharp books moved, or to balance their own liability, or because they share a pricing supplier with other books. A move that begins at a sharp book and spreads outward is the textbook pattern. A move that appears only at recreational books is often something else.

The detector below gives sharp sources double weight and, by default, requires at least one of them in any alert. The sharp set in the example is pinnacle, circa, bookmaker, novig and prophetx; adjust it to the books you trust as market leaders. It also records the order in which books crossed the threshold, so you can see who led.

The detector: code to detect steam moves

The class consumes market updates one at a time. For each event and market key it keeps a short time series of fair probabilities per book, trims it to the window, and checks whether enough books have moved in the same direction.

const SHARP = new Set(['pinnacle', 'circa', 'bookmaker', 'novig', 'prophetx']);

const toProb = (a) => (a < 0 ? -a / (-a + 100) : 100 / (a + 100));

// No-vig probability of the first outcome (home / over) for one book's market.
function fairFirst(market) {
  const implied = market.outcomes.map((o) => toProb(o.price));
  return implied[0] / implied.reduce((a, b) => a + b, 0);
}

export class SteamDetector {
  constructor({ windowMs = 90_000, minMove = 0.01, minBooks = 3, minWeight = 4, sharpWeight = 2, requireSharp = true, cooldownMs = 600_000, onSteam }) {
    Object.assign(this, { windowMs, minMove, minBooks, minWeight, sharpWeight, requireSharp, cooldownMs, onSteam });
    this.series = new Map(); // groupKey -> Map<book, [{ t, p, line }]>
    this.lastFired = new Map(); // groupKey -> timestamp
  }

  // Call for every changed market from a delta. `event` is the current event object.
  update(event, book, market, now = Date.now()) {
    if (event.status !== 'scheduled') return; // in-play prices move constantly
    if (market.period !== 'full_game' || market.outcomes.length !== 2) return;
    const key = `${event.id}|${market.key}|${market.period}`;
    let books = this.series.get(key);
    if (!books) this.series.set(key, (books = new Map()));
    let pts = books.get(book);
    if (!pts) books.set(book, (pts = []));

    if (market.suspended) {
      pts.length = 0; // a reopen after suspension is not a move
      return;
    }
    const line = market.line ?? null;
    const last = pts[pts.length - 1];
    if (last && last.line !== line) pts.length = 0; // line changed: restart this book's baseline
    pts.push({ t: now, p: fairFirst(market), line });

    this.evaluate(key, books, now);
  }

  evaluate(key, books, now) {
    if (now - (this.lastFired.get(key) ?? 0) < this.cooldownMs) return;
    const movers = { up: [], down: [] };
    for (const [book, pts] of books) {
      while (pts.length > 1 && pts[1].t <= now - this.windowMs) pts.shift(); // keep one baseline point at/before window start
      if (pts.length < 2) continue;
      const first = pts[0];
      const lastPt = pts[pts.length - 1];
      const move = lastPt.p - first.p;
      if (Math.abs(move) < this.minMove) continue;
      // when did this book first cross the threshold?
      const crossed = pts.find((x) => Math.abs(x.p - first.p) >= this.minMove);
      (move > 0 ? movers.up : movers.down).push({ book, move, at: crossed.t, sharp: SHARP.has(book) });
    }
    for (const [direction, list] of Object.entries(movers)) {
      const weight = list.reduce((w, m) => w + (m.sharp ? this.sharpWeight : 1), 0);
      if (list.length < this.minBooks || weight < this.minWeight) continue;
      if (this.requireSharp && !list.some((m) => m.sharp)) continue;
      list.sort((a, b) => a.at - b.at);
      this.lastFired.set(key, now);
      this.onSteam?.({ key, direction, weight, ledBySharp: list[0].sharp, books: list.map((m) => ({ book: m.book, move: +m.move.toFixed(4), at: new Date(m.at).toISOString() })) });
      return;
    }
  }
}

With the defaults, an alert needs at least three books moving one point or more of fair probability in the same direction within 90 seconds, a combined weight of at least four, and at least one sharp book. Each market raises steam move alerts at most once every ten minutes.

We tested this on synthetic sequences. Pinnacle and Circa moving -150 / +130 to -165 / +145 is not enough on its own (two books). When DraftKings follows 20 seconds later, the alert fires with Pinnacle listed as the leader. Four recreational books moving together with no sharp book never fires. And a sharp move that happened three minutes ago does not count toward a new cluster, because the window trims it.

Wiring it to the stream

The detector plugs straight into the delta handler from the Node.js WebSocket tutorial:

const detector = new SteamDetector({
  onSteam: (s) => console.log(`STEAM ${s.direction} ${s.key}`, s.books.map((b) => b.book).join(' > ')),
});

// inside applyDelta(), for each { event_id, book, market } in msg.changes:
const event = events.get(event_id);
if (event) detector.update(event, book, market);

To detect steam moves, subscribe to the markets you want to watch with as many books as possible: breadth is the signal. A subscription like { "type": "subscribe", "leagues": ["nfl", "nba"], "markets": ["moneyline", "total"] } with no books filter includes every sportsbook and exchange covering those events. The WebSocket stream is part of the Syndicate plan; pricing compares the plans.

Pre-game markets only: the event.status !== 'scheduled' guard matters. In-play prices move on every possession, and every book moves together because the score changed, which is not steam.

Spreads and totals

The sketch handles price moves at a fixed line. Spreads and totals more often move by changing the line itself, which this version treats as a reset rather than a move. Two ways to extend it:

Be careful with key numbers in football. A move through 3 or 7 means much more than a move from 5.5 to 6.

False positives

Most alerts a naive detector produces are not steam. The common impostors:

Using steam signals

Learning to detect steam moves is the easy half. By the time three books have moved, the remaining slow books may still show the old price for seconds or minutes. Your app can treat steam as one input among several: highlight which books have moved and which still show the pre-move price, put the before and after prices side by side on an odds screen, or log each alert and review it later against the close from /v1/history (the line movement API page covers what it records). A detector describes what the market did; it is not a prediction, and outcomes vary.

If you prefer push alerts over running your own process, alert rules in the dashboard can deliver single-book line.moved events to a webhook, which you can aggregate with the same breadth logic. Either way, the line movement glossary entry and the odds alerts use case are good next reads, and the streaming docs cover the message formats used above.

Keep reading