Polymarket backtesting

Backtest Polymarket strategies using historical trade data

Backtesting a Polymarket strategy means replaying real historical trade data through your rules to see how an idea would have behaved, instead of guessing from a few chart screenshots. TruthTickTerminal is an independent, real-time terminal for prediction markets where you write backtest logic in TypeScript and run it against historical Polymarket trades. You get time candles from 1-minute to daily, tick candles that close every N executed trades, built-in indicators like EMA, RSI, MACD, VWAP and cumulative delta, and a scanner that runs your strategy across 20,000+ markets ranked by net P&L. A continuous collector ingests trades in the background so candles are ready the moment you open a market. Backtesting, the scanner, custom indicators and the Resolved-markets tab are part of the Pro tier at $19.99/month.

Start free →

Free to use · No credit card required

Why backtesting matters in prediction markets

Prediction markets behave differently from equities or crypto. Prices are bounded between 0 and 1, they resolve to a known outcome, and liquidity can be thin and bursty around news. That makes eyeballing a chart a poor way to judge an edge: a setup that looks clean on one election market may fall apart on the next sports contract.

Backtesting forces the question that screenshots never answer: across many markets and many trades, did this rule actually make money, or did you just remember the times it worked? Replaying historical trade data through explicit logic turns a hunch into a measurable result you can compare, refine, and stress-test.

  • Bounded prices mean payoff and risk are shaped by distance to 0 or 1, not unlimited upside.
  • Resolution gives every market a known ground truth, so you can score outcomes precisely.
  • Thin, news-driven liquidity makes single-screenshot judgment unreliable.

Historical Polymarket trade data

Backtests are only as honest as the data underneath them. TruthTickTerminal runs a continuous background collector that ingests executed trades across more than 20,000 Polymarket markets, so historical candles are built and ready the moment you open a market rather than loading cold.

Because the raw material is the actual stream of executed trades, you can reconstruct both time-based and trade-based candles from the same source. That matters for backtesting: your strategy sees the sequence of fills the market really printed, including the quiet stretches and the bursts around news, not a smoothed-over summary.

  • Trades collected across 20,000+ Polymarket markets, binary and multi-outcome.
  • Candles ready on open instead of loading cold from scratch.
  • Resolved markets remain available for study via the Resolved-markets tab (Pro).

Candle resolutions and tick candles

You can aggregate the same trade history two ways. Time candles run from 1-minute up to daily, where each bar covers a fixed span of clock time. Tick candles run at 1T, 5T, 10T, 25T, 50T and 100T, where each bar closes after a fixed number of executed trades regardless of how long that takes.

Tick candles are useful in prediction markets precisely because activity is uneven. A 5T candle prints a new bar every five trades, so quiet hours compress and busy moments around a headline expand into detail. Live trades fold into the currently forming candle, so what you see building in real time is the same construction your backtest replays historically.

  • Time candles: 1m through daily, each bar a fixed span of clock time.
  • Tick candles: 1T, 5T, 10T, 25T, 50T, 100T — each bar is N executed trades, not N minutes.
  • Flip between YES and NO sides to test a rule from either direction of a binary market.

Indicator logic and strategy rules

A strategy is indicator readings plus rules that act on them. TruthTickTerminal ships built-in indicators you can reference directly: EMA, SMA, RSI, MACD, Bollinger Bands, VWAP with sigma bands, high-volume-node (HVN) zones, Volume Profile with a POC line, naked swing levels, and cumulative delta.

When the built-ins are not enough, you can write your own indicator in JavaScript and it runs live on the chart, then express your entry and exit rules in TypeScript inside the strategy lab. The same indicators that render on the chart are the ones your backtest evaluates, so what you reason about visually and what you test programmatically stay in sync.

  • Built-ins: EMA, SMA, RSI, MACD, Bollinger Bands, VWAP +/- sigma, HVN zones, Volume Profile + POC, swing levels, cumulative delta.
  • Custom indicators written in JavaScript run live on the chart.
  • Backtest logic is written in TypeScript in the strategy lab.

Example strategy concepts

These are conceptual starting points to illustrate how rules map onto prediction-market data, not recommendations and not claims of profit. Every idea has to be tested on your own data and judged on its own results.

Think in terms of conditions you can state precisely: a momentum idea might enter when price crosses above a moving average while cumulative delta is positive; a mean-reversion idea might fade a move that pokes outside a VWAP sigma band; a level idea might react when price interacts with a naked swing level or a high-volume node. The point of the strategy lab is to take any such concept, write it down as code, and find out what the history actually says.

  • Momentum: act on a moving-average cross confirmed by cumulative delta.
  • Mean reversion: fade extensions beyond a VWAP sigma band back toward fair value.
  • Level interaction: respond when price meets a swing level or HVN zone.

Backtesting limitations

A backtest is a model of the past, not a promise about the future. Historical results can flatter a strategy that was overfit to a handful of markets, and prediction markets carry frictions a naive replay can miss: slippage in thin books, fees, and the gap between a signal firing and a fill actually happening.

Resolution adds its own wrinkle. Markets settle to a known outcome, so survivorship and selection effects matter — testing only on markets that resolved a certain way will mislead you. Treat the scanner's net-P&L ranking as a way to surface candidates worth deeper scrutiny, not as a guarantee. TruthTickTerminal is a research and analysis tool; there is no guaranteed alpha, and execution still happens on Polymarket itself.

  • Past performance does not predict future results.
  • Thin liquidity means real slippage and fees can erode backtested edges.
  • Selection and survivorship effects can inflate results if you cherry-pick markets.

How TruthTickTerminal helps

TruthTickTerminal brings the data, the candles, the indicators and the backtester into one place so the loop from idea to evidence is short. Write a strategy in TypeScript, replay it over collected historical trades, and then point the scanner at the universe: it runs your strategy across 20,000+ markets and ranks them by net P&L so you can see where a concept holds up and where it does not.

The free tier covers real-time candlestick charts, the full indicator set, and live trades with no credit card. The Pro tier at $19.99/month unlocks the backtester, the scanner, custom indicators and the Resolved-markets tab. Polymarket is supported first; Kalshi is on the roadmap, and automated execution is planned but not live — for now the terminal is for research, and you place trades on Polymarket yourself.

  • Strategy lab: backtest TypeScript logic against historical Polymarket trades.
  • Scanner: run one strategy across 20,000+ markets, ranked by net P&L.
  • Free charts and indicators; Pro at $19.99/mo for backtester, scanner, custom indicators and Resolved markets.

Why it matters

For quant-minded traders and builders, the difference between a story and a system is testing. A backtester that runs on real trade history, across thousands of markets, replaces gut feel with something you can measure, falsify, and improve — which is exactly what separates a durable process from a lucky streak.

TruthTickTerminal is an independent terminal, not affiliated with or endorsed by Polymarket. Its job is to give you honest tools: the same data the market printed, candles you can trust, and a place to find out whether your idea survives contact with history before you risk anything on it.

Frequently asked

How do I backtest a Polymarket strategy?

Write your entry and exit logic in TypeScript inside TruthTickTerminal's strategy lab, then run it against historical Polymarket trade data. You can replay it on a single market or use the scanner to run it across 20,000+ markets ranked by net P&L. The backtester is part of the Pro tier.

Where does the historical Polymarket trade data come from?

A continuous background collector ingests executed trades across more than 20,000 Polymarket markets, so candles are built and ready the moment you open a market. Your backtest replays the actual sequence of trades the market printed.

What are tick candles and why use them for backtesting?

A tick candle closes after a fixed number of executed trades rather than a fixed amount of time. TruthTickTerminal offers 1T, 5T, 10T, 25T, 50T and 100T. They make uneven prediction-market activity easier to read — quiet stretches compress and news bursts expand into detail.

Which indicators can I use in a strategy?

Built-ins include EMA, SMA, RSI, MACD, Bollinger Bands, VWAP with sigma bands, HVN zones, Volume Profile with a POC line, naked swing levels and cumulative delta. You can also write custom indicators in JavaScript that run live on the chart and reference them in your TypeScript backtest.

Can the backtester guarantee profit?

No. A backtest models the past, not the future, and prediction markets carry slippage, fees and selection effects that can flatter results. TruthTickTerminal is a research and analysis tool with no guaranteed alpha; treat scanner rankings as candidates for deeper study, not a promise.

Does TruthTickTerminal place trades for me?

No. Automated execution is on the roadmap but not live. The terminal is for charting, analysis and backtesting; you place trades on Polymarket yourself. TruthTickTerminal is independent and not affiliated with or endorsed by Polymarket.

Is backtesting free?

Charts, the full indicator set and live trades are free with no credit card. The backtester, the 20,000+ market scanner, custom indicators and the Resolved-markets tab are part of the Pro tier at $19.99/month.

Does it support Kalshi?

Not yet. Polymarket is supported first. Kalshi is planned and on the roadmap, but it is not live today.

Related

Test the idea before you trade it

Write your strategy in TypeScript, replay it on real Polymarket trade history, and scan 20,000+ markets ranked by net P&L. Start free, upgrade to Pro for the backtester.