Polymarket FLB Backtester

Configure a strategy and run it against resolved prediction markets

Strategy

| |

Custom Strategy JSON Format

Create a .json file with any of these fields:

FieldTypeDescriptionExample
namestringStrategy name"my_strategy"
sidestring"YES" or "NO""YES"
min_pricenumberMin YES implied probability (0-1)0.60
max_pricenumberMax YES implied probability (0-1)0.90
initial_capitalnumberStarting USDC10000
position_sizenumberMax per position ($)200
descriptionstringStrategy description"..."
bucketWidthstringBreakdown granularity"5"

Only include fields you want to override — omitted fields keep their current values.

Example file:

{
  "name": "tight_favorites",
  "side": "YES",
  "min_price": 0.60,
  "max_price": 0.85,
  "initial_capital": 25000,
  "position_size": 200,
  "description": "Conservative favorites 60-85c",
  "bucketWidth": "5"
}
Lower bound of YES implied prob range
Upper bound of YES implied prob range
Granularity for breakdown table

Log

Results —

Total Trades
Total PnL
Avg Return / Trade
Win Rate
Sharpe Ratio
Max Drawdown

Win Rate vs Expected (by Bucket)

Bucket Breakdown

Bucket Trades Avg Return Exp Win% Win% Edge Std Dev Total PnL