Polymarket trade timestamps run 2 s late (settlement) — Polymarket trade timestamps from the chain and the data API are the settlement second, a median 2.4 s after the match
The timestamp on an on-chain fill event, and the timestamp field of the public data API, give the second in which the trade was settled on Polygon. The trade itself was matched earlier: a median 2.4 seconds earlier on 40.5 million BTC 5-minute rows. Anything that reads the order book or another price "at the time of the trade" with those timestamps reads it about two seconds late. Outcome: TRAP; the size of the gap is MEASURED and was confirmed by three later measurements.
The trap
Trade rows come with a timestamp, and the natural step is to join them to a book snapshot, an exchange price or a signal at that time. On Polymarket the on-chain event and the data API both give the second of settlement, not the moment the matching engine crossed the two orders.
A study that asks "was this fill good against the mid?" or "did the taker enter after the signal?" gets a different answer with the wrong clock.
A related confusion: the gap of about 2 s says nothing about how soon a trade becomes visible in the data API.
How it was tested
The reference clock is the public trade print (last_trade_price) in the market channel of the exchange websocket, which carries a server timestamp in milliseconds. The "true instant" of a fill is defined as that print minus 25 ms.
- Main measurement: for 40.5 million fill rows of BTC 5-minute Up/Down markets, block time (×1000) minus the true instant, and data-API time minus print. Dates were not recorded.
- Own trades, 18 October–23 October 2026 (2,826 maker trades): time from the exchange's match time to the block timestamp.
- BTC 15-minute markets, one hour on 21 October 2026 (918 fills): server time to block.
- Live probe, 6 October 2026: how long after a trade its row appears in the data API
tradesendpoint.
Result
| Gap | p1 / p10 | Median | p90 / p99 |
|---|---|---|---|
| Block time − true instant, 40.5 M rows | p1 1,079 ms | 2,428 ms | p99 4,032 ms (max 8.1 s) |
| Data-API time − print | p1 1,087 ms | 2,245 ms | p99 3,567 ms |
| Own trades: match → block timestamp | p10 1.6 s | 2.4 s | p90 3.2 s (max 4.0) |
| BTC 15m: server → block | p10 1.82 s | 2.60 s | p90 3.30 s |
The quartiles of the main measurement were 1,948 and 2,892 ms. An account's own fills on the user channel coincide with the print (median 0 ms).
The data API as a live source is a different matter: in the probe a row appeared a median 36 s after the trade (p10 18 s, p90 118 s), and different replicas gave different answers. The "about 2 s" seen earlier was the difference between timestamps, not the delay of appearance. That idea was REFUTED.
Effects on earlier studies that had used the block second directly; no verdict was reversed:
- An "edge against the mid" for a group of winning makers went from +0.04 to +1.09 cents once the mid was read at the true instant; it had been read 2.9 s late.
- Two variants of a taker study timed "at least 1 s after" moved from −237 to −181 $/day and from +1,451 to +1,249 $/day, both closer to zero.
- The replay engine was not shifted, because it pairs each on-chain fill with the nearest print. Its fallback when no print was found was about 0.8 s late (5.6% of events in the main dataset); after correcting it and replaying 31,410 real maker orders, one order changed.
Why
Trades are matched off chain by an operator, which then submits a transaction; the block that includes it is the timestamp everyone downloads. On 20 crowded blocks the time from a taker's signature to the block was a median 3.1 s (p10 1.9 s, p90 111 s).
The error survives ordinary validation because total shares and dollars are insensitive to a uniform shift of the time base. What proved the engine's base was not shifted was a time-sensitive check: 97.6% of fills were matched to a book level drop within the 150/30 ms windows, which a 2.4 s error would make impossible.
What would change this
- The measurements are on BTC Up/Down markets; the dated ones run from 24 September to 23 October 2026. Other markets and later periods were not measured, so the gap should be re-measured, not assumed.
- The print timestamp is itself an inference. The websocket documentation calls it a Unix timestamp in milliseconds without saying whether it is the match or the publication. It coincides to the millisecond with a book change of the same market in 48–49% of cases and within ±5 ms in another 39–41%, which suggests matching-engine time.
- Subtracting a constant 2.4 s is a poor repair: p1 is 1,079 ms and p99 is 4,032 ms.
How to check it yourself
1. For your own fills, compare the exchange's match time with the block timestamp of the same transaction hash. 2. For other people's trades, join on-chain rows to the public trade print by transaction hash and use the print's millisecond time. 3. Validate the time base with something that depends on timing, such as the share of fills that coincide with a level drop in the book, not with totals. 4. Never rank trades inside one second or one block by these timestamps; see Polygon log index is not Polymarket matching order — Within a Polygon block the log index is not Polymarket's matching order: about one pair of trades in four is reversed and Same-second trades, dedup corrupt Polymarket backtests — Same-second trade order and content deduplication both corrupt backtests built on Polymarket's public trade data. See also 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.
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.