Configure a strategy and run it against resolved prediction markets
Create a .json file with any of these fields:
| Field | Type | Description | Example |
|---|---|---|---|
name | string | Strategy name | "my_strategy" |
side | string | "YES" or "NO" | "YES" |
min_price | number | Min YES implied probability (0-1) | 0.60 |
max_price | number | Max YES implied probability (0-1) | 0.90 |
initial_capital | number | Starting USDC | 10000 |
position_size | number | Max per position ($) | 200 |
description | string | Strategy description | "..." |
bucketWidth | string | Breakdown 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"
}
| Bucket | Trades | Avg Return | Exp Win% | Win% | Edge | Std Dev | Total PnL |
|---|