Polymarket Backtest

28 posts

Polymarket Backtest

Polymarket Backtest

@polybaktest

Open-source backtester for Polymarket prediction market strategies. 10,800+ markets. 18 strategies. 180-day backtests in less 5s. MIT License.

Katılım Mayıs 2026
19 Takip Edilen3 Takipçiler
Polymarket Backtest
Polymarket Backtest@polybaktest·
Entry conditions are evaluated as Python expressions against these variables: price - current YES probability (0–1) price_drop_pct - % drop over lookback_days volume - avg daily volume in the window So you can write: condition: price < 0.3 and volume > 5000
English
1
0
0
5
Polymarket Backtest
Polymarket Backtest@polybaktest·
Why this matters: In prediction markets, the difference between take_profit=0.80 and take_profit=0.85 can be huge. Markets resolve to exactly 0 or 1. Exiting too early means leaving most of the edge on the table. Sweep helps you find the right threshold empirically.
English
1
0
0
3
Polymarket Backtest
Polymarket Backtest@polybaktest·
Strategy optimization usually looks like this: Run backtest → tweak take_profit → run again → tweak stop_loss → run again → repeat 30 times. There's a better way. Parameter Sweep 🧵
Polymarket Backtest tweet media
English
1
0
0
3
Polymarket Backtest
Polymarket Backtest@polybaktest·
Step 4: Analyze. You get: → Interactive equity curve → PnL, ROI, Sharpe, Max Drawdown, Win Rate → Every trade with entry date, exit date, fill prices, PnL, and exit reason → CSV export for further analysis 5 seconds start to finish. #Polymarket #PredictionMarkets
English
0
0
0
3
Polymarket Backtest
Polymarket Backtest@polybaktest·
Step 3: Run. The engine replays every matching market from your historical window. Each trade is filled at: price ± spread/2 ± slippage × 1.02 commission No synthetic data. No assumptions. Real Polymarket prices from the Gamma API.
English
1
0
0
4
Polymarket Backtest
Polymarket Backtest@polybaktest·
Most people trade @Polymarket on intuition. Here's how to trade on data instead. A walkthrough of Polymarket Backtest 🧵
Polymarket Backtest tweet media
English
1
0
2
6
Polymarket Backtest
Polymarket Backtest@polybaktest·
the strategies that didn't work: → Sports Arb: -10.1% ROI → Arb Hunt: -9.0% ROI Common pattern: trying to arb small mispricings gets eaten by spread + commission. Lesson: in prediction markets, patience and holding to resolution beats active trading.
English
1
0
0
3
Polymarket Backtest
Polymarket Backtest@polybaktest·
I backtested 18 strategies on 10,814 @Polymarket markets. Same dataset. Same rules. Same 2% commission per trade. Here's what actually worked 🧵
Polymarket Backtest tweet media
English
1
0
1
3