Guides / Guide
How to Backtest a Polymarket Strategy
Steps
- Pick a market and time range, and pull orderbook snapshots via
/api/v1/historical/polymarket/orderbook
- Pull the trade tape via
/api/v1/historical/polymarket/trades to validate fill assumptions
- Simulate entries/exits against the depth that actually existed, not just last price
- Check performance against the market's actual resolution
Related
Related guides
Data from Kalshi and Polymarket. Search live · API docs · Pricing