Can historical prediction market price charts support an execution backtest?
No. Candles can test signal timing, but they cannot establish executable fills. An execution backtest needs timestamped order-book snapshots and deltas, depth-aware fill logic, venue-specific fees and rebates, and contract resolution rules. Treat candle-only results as a hypothesis screen, not a P&L forecast.
Charts are signal data, not an execution engine
Historical candles answer a narrow question: what prices printed, and when. They can screen a forecast rule, but an execution backtest asks whether your order would have filled, at what size, and at what cost. A candle close is an observation, not a resting bid or ask. Candle-only P&L is therefore a hypothesis generator until it survives a book-aware replay; otherwise it silently assumes liquidity that may never have existed. The distinction matters most when spreads widen and depth thins.
Venue documentation makes the gap explicit. Kalshi’s REST orderbook is a point-in-time read, and its WebSocket channel tracks subsequent changes; the book returns bids only, with a YES bid at X equivalent to a NO ask at $1.00−X. Polymarket’s CLOB API reads prices and order books, while its public market WebSocket follows book, price, and lifecycle updates. A chart cannot reconstruct those states, so it cannot prove queue position or executable depth. That is why two venues need separate replay schemas.
What a book-aware replay must store
Store timestamped snapshots plus every delta, not just trade prints. For Kalshi, preserve ticker, market_id when present, clock, side arrays, and sequence; the changelog notes an empty orderbook_snapshot can have an empty market_id and clock 0, with the first delta carrying market_id. For Polymarket, retain CLOB book payloads and public market-channel updates. Without timestamp and sequence discipline, replay can silently reorder liquidity, turning a losing fill into an apparent winner. A replay that starts from midpoints can look profitable for the wrong reason.
Fill logic must walk the implied ladder and cap size at each level. On Kalshi, derive asks from opposite bids; on Polymarket, use the CLOB book. Apply venue-specific fees and rebates—for example, Polymarket US API taker trades use a 0.0695 coefficient with a 70% rebate through Dec. 31, 2026. Do not carry that US rebate into Polymarket international CLOB replay. Model order writes separately: Kalshi explicit-shard single writes, auto-routed writes, and batch REST writes hit different buckets. Event-contract rules are not perps rules. A single auto-routed order can consume capacity across every shard.
Worked example: candle versus ladder
Using Kalshi’s published sample book, the best YES bid is $0.42 for 13 contracts and the best NO bid is $0.56 for 17 contracts. The implied best YES ask is $1.00−$0.56=$0.44. A hypothetical candle print at $0.43 would let a naive backtest buy 30 YES at $0.43, or $12.90. That is not executable against the sample ladder, because the print does not establish 30 contracts of resting supply at $0.43. A trade print is evidence of a match, not a standing quote.
The book-aware fill buys 17 at $0.44 and the next 13 at the next implied ask, $0.55, for $14.63, an average of about $0.4877. The $1.73 difference is depth cost, before fees. This is synthetic arithmetic on the published sample, not a market forecast. The lesson is general: a candle close cannot tell you whether 30 contracts existed at that price, or what the next level cost. Add fees and the gap usually widens. For a 30-lot, the naive model is optimistic even before the fee schedule enters.
Sources: [1]
Decision checklist and failure cases
Require four checks before trusting an execution backtest: timestamped book snapshots and deltas; depth-aware fills; venue- and product-specific fees, rebates, and rate-limit rules; and resolution branches. Polymarket prediction markets resolve via UMA, while up-down markets use Chainlink TWAP with fixed inputs and no UMA proposal-dispute. UMA’s challenge path and Chainlink’s fixed comparison are not interchangeable settlement models. Kalshi perps use separate buckets from event contracts, so do not generalize event-contract write rules to perps. Resolution source belongs in the replay clock, not a footnote.
Separate locked capital—resting orders and open positions—from unresolved outcome exposure. A candle-only backtest collapses both into mark-to-market and can overstate available cash. Failure cases: sparse books, stale snapshots, missing deltas, fee-tier changes, and resolution-source ambiguity. If you cannot reconstruct the ladder and the settlement rule at each decision time, label the result a signal study, not an execution backtest. That label protects both research and trading capital. Record both, or your backtest will confuse liquidity with exposure.
| Replay layer | Candle-only backtest | Order-book-aware backtest |
|---|---|---|
| Fill price | Assumes trade or close price is available | Walks implied bid/ask ladder; caps size at depth |
| Size and partials | No queue or depth; all-or-nothing assumption | Fills against levels; leaves remainder |
| Fees and rebates | Usually omitted or flat | Applies venue/product schedule and tier timing |
| Settlement | Stops at last chart print | Adds resolution source and payout branch |
Assumptions and scope
- The strategy trades event contracts, not Kalshi perps or Hyperliquid outcome markets.
- Candle data is treated as trade or mark data, not as a substitute for order-book depth.
- Fees, rebates, and rate-limit buckets are applied at the venue and product level.
- Resolution replay uses the contract’s documented source, including UMA versus Chainlink TWAP distinctions.
Sources and verification
- Kalshi order book conventions
Source checked Nov 24, 2026. - Polymarket API surfaces
Source checked Nov 24, 2026. - Kalshi API changelog
Source checked Nov 24, 2026. - Polymarket US fee schedule
Source checked Nov 24, 2026. - Kalshi API rate limits
Source checked Nov 24, 2026. - Polymarket resolution mechanisms
Source checked Nov 24, 2026.
Prepared by Skybit Research with AI assistance and automated source checks. Examples and assumptions are identified in the article. No human reviewer is implied. Check the exact contract and current venue documentation before applying a method.