markets

Line movement explained: the formula and a real read of price changes

By · Published · Updated · 4 min read

Line movement is the change of a price or of a line between two moments. A price that goes from -120 to -125 moved from 54.55% to 55.56% of implied probability, which is +1.01 points. This article gives the formula, the two kinds of move and a real read of price changes from the API.

What are the two kinds of line movement?

  • A price move: the line stays and the price changes, such as a total of 221.5 whose over goes from -110 to -120.
  • A line move: the number itself changes, such as a spread that goes from -2.5 to -3.5.

Moneylines only have the first kind. Spreads, totals and player props have both, and a line move usually comes with new prices on both sides.

How do you measure a price move?

In points of implied probability, so that moves at different prices can be compared.

implied = 100 / (american + 100)          for positive American odds
implied = -american / (-american + 100)   for negative American odds
move    = implied(new) - implied(old)
OldNewImplied beforeImplied afterMove
-120-12554.55%55.56%+1.01 points
+150+14040.00%41.67%+1.67 points
-110+10052.38%50.00%-2.38 points

A positive move means the price got shorter: the market now gives that side a higher chance. The implied probability calculator gives the implied probability of any price. A line move is measured in the units of the line, half a point or a point, next to the prices on each side.

What does line movement look like in real data?

GET /v1/changes returns every price change since a cursor, and each change carries the new price and the previous one. This script takes a cursor, waits 30 seconds and turns each change into a move. It needs Node 18 or later and no packages.

// line-movement.mjs: price changes of one league from GET /v1/changes, as a move in implied probability. Node 18 or later.
// Usage: PRICEDODDS_API_KEY=... node line-movement.mjs
const BASE = "https://api.pricedodds.com/v1";
const auth = { headers: { Authorization: `Bearer ${process.env.PRICEDODDS_API_KEY}` } };
const get = async (path) => (await fetch(BASE + path, auth)).json();
const implied = (american) => (american > 0 ? 100 / (american + 100) : -american / (-american + 100));

// 1. A first call with no cursor returns a starting cursor
const start = await get("/changes?league=nba");
await new Promise((resolve) => setTimeout(resolve, 30000));

// 2. The second call returns every change since that cursor
const res = await get(`/changes?league=nba&since=${encodeURIComponent(start.next)}`);
const moves = [];
for (const frame of res.data) {
  if (frame.type !== "price") continue;
  for (const c of frame.changes) {
    if (c.prev_american == null || c.american == null) continue;
    moves.push({ book: frame.book, market: c.market, period: c.period, side: c.side, line: c.line ?? "", from: c.prev_american, to: c.american, move: implied(c.american) - implied(c.prev_american) });
  }
}
moves.sort((a, b) => Math.abs(b.move) - Math.abs(a.move));
console.log("frames:", res.data.length, "| price changes with a previous price:", moves.length);
const points = (x) => (x > 0 ? "+" : "") + (x * 100).toFixed(2) + " points";
const middle = moves.slice(Math.floor(moves.length / 2), Math.floor(moves.length / 2) + 5);
for (const m of middle) console.log(m.book, m.market, m.period, m.side, m.line, m.from, "->", m.to, points(m.move));
console.log("median absolute move:", points(Math.abs(moves[Math.floor(moves.length / 2)]?.move ?? 0)));

Run it with PRICEDODDS_API_KEY=... node line-movement.mjs.

Our run on November 24, 2026, 00:38 UTC, as an example and not a current price:

frames: 522 | price changes with a previous price: 14471
hardrock player_pa game under 25.5 -125 -> -120 -1.01 points
hardrock player_points game over 12.5 -120 -> -125 +1.01 points
hardrock player_rebounds game over 5.5 -120 -> -125 +1.01 points
hardrock player_pr game over 28.5 -125 -> -120 -1.01 points
hardrock player_rebounds game over 3.5 -125 -> -120 -1.01 points
median absolute move: +1.01 points

That call returned 522 frames with 14,471 price changes for the NBA in 30 seconds, on a night with games in play. The script prints five changes from the middle of the list sorted by size, to show a typical move and not the extremes. It is one half minute of one evening, not a measure of volume.

Which fields describe a change?

  • american and decimal: the new price.
  • prev_american: the price before the change.
  • line, side, market and period: what the price is for. Props also carry player.
  • book and ts on the frame: the book and the time of the frame.
  • next on the response: the cursor for the following call, passed as since.

The endpoint takes league and books as filters. The same changes arrive over the WebSocket without polling, as the WebSocket docs show.

Does the API keep the history of a line?

No. The API returns current prices and the changes since your cursor. It has no historical endpoint, so a chart of a line over days comes from the changes you stored. The same applies to the closing price, covered in closing line value explained.

What are the limits of reading line movement?

A move at one book is not a move of the market: compare several books before you call it one. In play, prices follow the score and the clock, so most changes there say nothing about opinion. A small move is often a book adjusting its margin. And a move describes the past. It does not say where the price goes next. Nothing here is betting advice.

Where do I start?

The parameters are in the docs, and the books and leagues are on the coverage page. Every plan starts with a 3-day free trial with a $1 card verification that is refunded immediately. The plan you pick at signup is charged from day 4 unless you cancel before the trial ends. See pricing or create an account.

To follow movement by period, see NFL lines and periods as JSON. How much a move was worth to a bet you placed is what the closing line value calculator measures. A script that flags the same selection moving at several books within two minutes is in line movement and EV alerts in Node. To measure a move between two readings in cents and in no-vig probability, enter both prices in the line movement calculator. When the line moves after you bet, a cash-out offer moves with it; the cash out calculator compares the offer with the fair value of the bet at the new price. A move of the main line also shifts the alternate lines around it; the alternate line calculator gives fair odds at alternate spreads, run lines and puck lines from the main one.