Data quality6 min read
Polymarket CLOB WebSocket vs Hourly Archives: Why Resolution Decides Your Backtest
The difference between a Polymarket backtest you can trade on and one that lies is usually not how much data you have — it's how it was sampled.
Polymarket CLOB updates and stored archive observations are different layers. An hourly archive may miss most of a short-dated market, but an event-driven upstream feed alone does not prove that an archive retained every event. Inspect the actual stored cadence, timestamp semantics and gaps before choosing data for a backtest.
What 'resolution' actually means
Resolution is how often a book observation is stored. A source may publish event-driven updates while an archive deduplicates or records selected observations. Fixed-interval samples select observations on a clock. Distinguish the source update frequency from the timestamps and cadence actually available in the archive.
The two can produce files of similar size and yet carry completely different information. An interval sample of a quiet market wastes rows on an unchanging book; an interval sample of a fast market misses the moves that matter.
The short-dated market problem
Polymarket's up/down crypto markets settle in 5 to 60 minutes. Consider a 5-minute BTC market. An hourly archive might capture it zero or one times — you may not even have a single book from the market's entire life. A per-minute archive gives you about five frames, none of them aligned to the moments your strategy would actually have acted.
A denser archive can reveal more of the market's changing spread and depth. Its actual timestamps and gaps still determine what can be replayed; neither an upstream WebSocket connection nor a headline row count guarantees a complete event history.
Side by side
| Hourly archive | Per-minute sample | Recorded depth (DepthFeed) | |
|---|---|---|---|
| 5-minute market coverage | 0–1 frames | ~5 frames | Inspect stored timestamps |
| Captures spread widening | No | Rarely | Yes |
| Slippage measurable | No | Approximate | Yes |
| Aligns to spot moves | No | Coarsely | ASOF where available |
| Live delivery | n/a | n/a | No latency commitment |
Why almost nobody keeps event-driven depth
Maintaining an order-book archive requires live capture, persistent storage and coverage checks. DepthFeed serves stored full-depth observations at the documented venue-specific cadence. Gaps remain gaps: a missing historical book cannot be recreated simply from a later last price.
Key takeaways
- 01Resolution is about sampling method, not file size.
- 02Fixed-interval archives miss the life of 5–60 minute markets.
- 03Stored cadence and gaps determine which book observations can be replayed.
- 04Order-book history can't be backfilled — it's only available if someone captured it live.
DepthFeed serves the full Polymarket & Kalshi order book over a REST API and live WebSocket. Free Explorer tier, no card.
Start freeView pricing