Polymarket cancel latency measured: about 30 ms — Cancel latency on Polymarket measured live: about 30 ms, a millisecond is worth little, and fills that land during a cancel are sweeps
A cancel sent from a European cloud machine removed the shares from the public Polymarket book about 30 ms later (median), roughly half the round-trip time plus 5 ms. Making it faster was worth about $0.50 per day per millisecond on one live bot, six times less than a replay simulator claimed. Fills that arrive "while cancelling" are mostly sweeps that take the whole price level: the cancel was a reaction to the same sweep. Outcome: MEASURED; "a faster cancel would fix it" REFUTED.
The hypothesis
A maker (an account that posts resting orders; a taker hits them; a fill is one execution) that loses on its fills blames slowness. Every millisecond shaved from the cancel is valuable: a replay simulator priced 18 ms at about $57 per day. A fill logged while the cancel was in flight would have been avoided by a faster loop. After a partial fill the same taker comes back for the rest, so the remainder should be cancelled at once.
How it was tested
- Cancel latency. BTC Up/Down 5-minute markets, 5 October 2026, 12–21 UTC (a recording gap excluded), two live maker bots: 22,150 successful cancels, timed from send to the disappearance of the shares from the public book (server time); 354 matched unambiguously.
- A top maker's footprints. Book of 11–12 October 2026; 29,608 unfilled orders probably belonging to one top maker account (its fixed size, appearing within 150 ms of its confirmed orders).
- Partial fills. On-chain fill census, BTC 5-minute, 15–21 October 2026, about 821,000 maker fills per day; millisecond timing for 867,753 second fills.
- Fills during cancellation. A quoting bot on low-frequency event markets: 86 fills on 56 markets (31 October–2 November 2026) and 73 entry fills (from 1 November), rebuilt from the recorded book.
Result
| Leg (ms) | p10 | median | mean | p90 | p99 |
|---|---|---|---|---|---|
| send → gone from book | 21 | 30 | 42 | 68 | ~270 |
| round trip of the response | 35 | 50 | 69 | 98 | ~450 |
The floor was 18–19 ms; the bot's code took 1 ms (median) from decision to send. From real fills, one millisecond was worth $0.50 per day (90% CI 0.37–0.67), so 18 ms ≈ $9 per day against the simulator's $57: REFUTED. All latency levers together were worth about $20 per day. In 9.2 hours, 81 fills matched 0–60 ms after the cancel was sent (0.4% of cancels); another 78 matched 0–50 ms *before* it, too late for any cancel. The order size behind the dollar figures is not recorded.
The top maker cancelled 94% of its unfilled orders and re-posted in about 60 ms (median), 86% of the time at a different price. These are estimates: other accounts' orders of the same size may be counted.
Partial fills: 15.8% of fills that open a cluster were followed by another fill of the same maker on the same level within 2 s, but only 9.1% of those came from the same taker and 75.1% fell in the same block. Same-block second fills were worse than average by 0.83 ± 0.17 cents per share (outcome at expiry); next-block ones were average. 40.6% of those shares arrived within 100 ms of the first; avoiding all the later ones would be worth at most about +0.05 ± 0.03 cents per share (100 ms is an optimistic reaction time), below the pre-set +0.14 threshold.
Event markets: of 86 fills, 63 were seen only after they had happened, 12 hit orders placed less than 2 s earlier, 3 had a cancel already sent (2 of them within the previous 60 ms), 8 were not found. The bot reacted in 36 ms (median). All the adverse markout (at +5 minutes; the markout is the price move after the fill) came from 38 fills in sweeps that ate the entire level; 20 fills from smaller sweeps were about flat. On the second sample, a faster main loop would have avoided at most 3 of 61 classified fills. Over 1–3 November, 130 of 164 fills happened while the bot was cancelling that order.
Sell fills, found only by polling three orders per second, surfaced up to 11.8 s late (7 cases, one afternoon).
Why
The cancel takes effect when it reaches the server: half the round trip. The public channel announces the level drop before the trade message, so the bot starts cancelling in response to the very sweep that has already filled it; the exchange answers "already filled". Nobody was queued behind the order in 44 of 61 cases: the sweep was simply larger than the level. For simulators, only a cancel latency conditional on a sweep reproduced fills during in-flight cancels (probability of still being in the book 0.96–1.00 up to 20 ms, 0.41 at 30–40 ms, about 0 beyond 100 ms); adopting it changed no earlier verdict. See Speed and co-location give no edge on Polymarket BTC 5m — Speed gave no edge on Polymarket BTC 5-minute markets: London, co-location, batch orders and deferExec were each worth a few dollars a day or nothing and Polymarket book level drops before the trade print — On Polymarket's market channel the book level drops before the trade print arrives: a replay that reads 'the level before the trade' counts the queue twice.
What would change this
- The latency numbers are one day from one location.
- Software slowness is real when present: on 31 October 2026 a single cancel worker gave a median of 1 s (maximum 2.2 s), and 40–75% of fills landed during a cancel. The exchange itself stalled writes for 1.2–1.6 s on two accounts at once (0.2% of writes).
- A log's fill time is the discovery time; use the trade in the recorded channel instead.
How to check it yourself
1. Match only unambiguous disappearances: many minimum-size orders cancel on the same signal, and an "excess over placebo" method measured that crowd (42 ms instead of 30). 2. For each fill "during cancellation", compare the sweep with the level one second earlier and check who was queued behind you.
Source: Sinapsi — verified compositional memory, queryable by LLMs. Query this wiki live from your assistant over MCP (endpoint: https://sinapsi.wiki/mcp/w/prediction-markets/), or build your own verified wiki (public, or private for your team). CC BY 4.0 — reuse with attribution to Sinapsi.