Data Store  /  TWAP-Settled 5-minute Crypto Order Books
TWAP-settled 5-minute crypto order books

TWAP-Settled 5-minute Crypto Order Books

30s TWAPJune 2026All 6 coinsCounterfactual

On 2026-08-07 Polymarket’s crypto up/down markets stop settling on a closing snapshot and start settling on a time-weighted average price. This dataset is the real June 2026 order flow — every book actually observed — re-priced and re-labelled as if that rule had already been in force. It lets you backtest the new regime on history that never traded under it.

Cycle
5-minute markets
New settlement
30-second TWAP
Effective
2026-08-07 00:00 UTC
Winners that flip
6.2% of cycles
Coverage
Jun 1 to Jun 30, 2026
Days
30
Cycle
5-minute
TWAP window
30 seconds
Coins
All 6 (BTC–DOGE)
Cycles
51,797
Tick
1-second, full depth
Size
5.4 GB · Parquet

What changed

The order flow is untouched. The settlement value it is priced against is not.

Until 2026-08-07

Closing snapshot

The market resolves on the underlying price at a single instant — the close. One print decides the cycle, and the last seconds carry all the settlement risk.

From 2026-08-07

30-second TWAP

The market resolves on the average price over the final 30 seconds. Single prints stop deciding cycles, and 6.2% of June 2026’s 5-minute cycles resolve to the other side.

What’s in the download

Re-priced order books

Every Up/Down level, re-quoted against the TWAP settlement value at 1-second cadence. price_shift ships alongside, so subtracting it recovers the original observed book exactly.

Both winner labels

Each cycle resolves under the snapshot rule and the TWAP rule, so you can isolate the cycles the change actually flips instead of guessing at them.

Both price sources

Labels from Polymarket's own RTDS settlement feed, plus Binance spot as *_binance columns and a source_disagrees flag on every cycle where the two differ.

Read this before you buy

This is simulated counterfactual data. It is honest about what it can and cannot tell you, and so are we.

What this is

  • Real order flow. Every book in here was actually observed on Polymarket during June 2026. Nothing is synthesised.
  • Re-priced, not re-simulated. Quotes are shifted to the TWAP settlement value; price_shift recovers the original exactly.
  • Settlement-feed labels. Winners come from Polymarket’s own RTDS feed — the feed the markets actually resolve against.
  • Validated. The structural validation report ships in the ZIP: zero tick, bounds, crossed-book, duplicate or ordering defects.

What this is not

  • Not a live capture. No TWAP-settled market had traded when this was built. The rule starts 2026-08-07.
  • No behavioural response. Spreads and depth are held at observed values. They do not tighten under TWAP, because nobody traded under TWAP.
  • Not a forecast. The fair-value calibration is in-sample and is not evidence of predictive skill.
  • Not tick-perfect at the edges. Re-rounding to the 0.001 grid removes most sub-$1.00 two-leg moments — use the standard dataset for those.
  • Not an independent second opinion, mostly. Our own capture ran to 2026-06-25; only 5 of this dataset’s 30 days were captured independently of the settlement feed. Over the earlier span the two sources track each other to ~0.006bp of cycle move, so the 0.5% headline disagreement rate understates the real gap — on the independently captured days alone it is 3.2%. Don’t read the June-vs-July difference as a change in the market.
The two assumptions, stated up front

Polymarket published the TWAP window lengths (30s for 5-minute markets). It did not publish the window edge: Chainlink states it does not publish the custom feed’s sampling boundaries, weighting, rounding or missing-input behaviour, and warns against reproducing the value without a spec. We assume the last 30 seconds strictly before close. Whether the market open also becomes an average is unstated; we assume a single snapshot at open, unchanged — if it averages too, the winner-change rate rises materially. Both assumptions are recorded in every manifest, and the generator that produced this dataset ships inside the ZIP so you can re-run it under your own.

Get this dataset

TWAP-Settled 5-minute Crypto Order Books — June 2026
Jun 1 to Jun 30, 2026 · all 6 coins · 51,797 cycles · 5.4 GB
  • Re-priced full-depth order books (30s TWAP)
  • Resolution table: both rules, both price sources
  • Methodology, validation report & the generator

The other TWAP datasets

Same treatment, other cycle and month. Each is sold separately.

Order-book columns

Every row is one outcome token per second — the 19 standard order-book columns, plus price_shift (the probability-units shift applied to that row; subtract it to recover the original observed price exactly):

FieldTypeDescription
timetimestampSnapshot time (UTC, 1-second cadence)
slugstrMarket cycle slug (e.g. btc-updown-5m-…)
outcomestr"Up" or "Down"
market_idstrPolymarket market (condition) id
asset_idstrCLOB token id for this outcome
bidslist<{price,size}>Full bid book, best first
askslist<{price,size}>Full ask book, best first
best_bidfloatTop-of-book bid
best_askfloatTop-of-book ask
mid_pricefloat(best_bid + best_ask) / 2
spreadfloatbest_ask − best_bid
n_bidsintBid level count
n_asksintAsk level count
top_bid_sizefloatSize at best bid
top_ask_sizefloatSize at best ask
sum_bid_sizefloatTotal size across bid levels
sum_ask_sizefloatTotal size across ask levels
micropricefloatSize-weighted mid price
ob_imbalancefloatBid/ask depth imbalance

Resolution table columns

One row per cycle, in resolution/<COIN>.parquet. This is where both settlement rules and both price sources sit side by side:

FieldTypeDescription
coinstrUnderlying (BTC/ETH/SOL/XRP/BNB/DOGE)
daydateUTC day the cycle belongs to
tsintCycle open timestamp
openfloatOpening reference price (RTDS settlement feed)
close_snapshotfloatClosing price under the OLD snapshot rule
twap_closefloatClosing price under the NEW TWAP rule
winner_snapshotstrUp / Down under the snapshot rule
winner_twapstrUp / Down under the TWAP rule
winner_changedboolTrue where the two rules disagree
move_bpfloatCycle move in bp, snapshot rule
move_bp_twapfloatCycle move in bp, TWAP rule
open_binancefloatOpening price from Binance spot (alternate source)
close_snapshot_binancefloatSnapshot close, Binance spot
twap_close_binancefloatTWAP close, Binance spot
winner_snapshot_binancestr?Snapshot winner per Binance; null where Binance has no data
winner_twap_binancestr?TWAP winner per Binance; null where Binance has no data
source_disagreesboolTrue where RTDS and Binance disagree on winner_twap
TWAP-Settled 5-minute Crypto Order Books · June 2026 · Data Store | PR&R