Backtesting

BTC 24h Market Lifecycle Replay

Replay the full lifecycle of BTC 24h Polymarket Up/Down markets from open to settlement using historical order book snapshots.

BTC 24h market lifecycle replay helps traders study how a daily market changes from early positioning to final settlement. The full lifecycle can reveal liquidity regimes that short windows miss.

Lifecycle Phases

  • Open: first liquidity and initial probability
  • Middle: trend, mean reversion, and depth changes
  • Pre-close: spread widening and final positioning
  • Settlement: outcome and final PnL calculation

Replay Uses

Lifecycle replay is useful for understanding whether a strategy depends on early-market liquidity, late-market information, or settlement mechanics.

BTC 24h Markets at a Glance

DetailBTC 24h
Contract length24 hours
Scheduled markets per day1
Markets in a 31-day Pro windowup to 31
Order book snapshots per market (300ms)up to ~288,000
Free planLast 5 markets (free, no card)
Pro plan ($17/mo)31 days of BTC 24h history, extendable to 90 days

List resolved BTC 24h markets with one request, then pull snapshots for any slug it returns:

curl -H "X-API-Key: YOUR_API_KEY" "https://api.polyhistorical.com/v1/markets?coin=BTC&market_type=24h&resolved=true&limit=20"

Counts are upper bounds for a full calendar window; check the market count your query actually returns before drawing conclusions.

Related Resources

Core Polymarket Data Resources