Strategy Stress Test
stress_test_strategyPaste a prediction-market trade history (or just trades, wins and average price) and get whether the edge is statistically real, how many trades would prove it, and where it leaks. The verdict reads net per dollar staked after fees, never a pooled win rate, with the bar raised for every strategy version tried. Accepts positions, a CSV, or Kalshi's realized P&L export (lots are grouped into positions). Nothing you paste is stored.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stress_test_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| csv | No | CSV text instead of trades: header price_c,contracts,won,fee_c,at,venue,maker (one row per position), or Kalshi's realized P&L export. Up to 10,000 lines. | |
| wins | No | Quick check: how many of the trades won. | |
| maker | No | Quick check: maker fills (Kalshi maker fee). | |
| venue | No | Venue for fees when none are given: kalshi (fee computed), polymarket or other (fee 0, flagged). One of: kalshi · polymarket · other. | |
| trades | No | EITHER an array of positions [{ price_c (1–99, price paid per contract), contracts?, won (true | false | null = closed before settlement, then give net_c), fee_c? (total fee, ¢), net_c?, at? (ISO), venue? (kalshi | polymarket | other), maker? }] OR, for a quick check, the number of trades (with wins and avg_price_c). | |
| avg_price_c | No | Quick check: average price paid per contract, ¢ (1–99). | |
| strategies_tried | No | How many versions you tried before this one (default 1). More tries raise the bar (Bonferroni). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| buckets | No | Per price bucket: n, win %, break-even %, net ¢/contract. | |
| sources | No | ||
| verdict | No | edge_confirmed / losing / not_proven_yet (net per dollar staked). | |
| headline | No | One plain sentence: the verdict. | |
| tell_user | No | Show this sentence to the user first. | |
| timestamp | No | ||
| needs_input | No | ||
| example_call | No | ||
| trades_needed | No | Trades that would settle it, or null. | |
| data_freshness | No |