run_backtest_matrix
Execute saved Pine strategies across defined symbol, timeframe, and input combinations, returning per-job results or a resolved execution plan. Preserves chart state and never places orders.
Instructions
Run a bounded, serial matrix of saved Pine strategies across explicit symbol, timeframe, and input combinations. The matrix is limited to 24 jobs and a soft runtime budget. Each strategy is temporarily added, bound to a full-ledger SHA-256 id, removed, and the original chart state is restored after every job. Failures and insufficient samples remain as rows; results are never ranked. Without confirm=true this only returns the resolved execution plan. It never places orders.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expected_symbol": "<expected_symbol>",
"expected_timeframe": "<expected_timeframe>",
"jobs": "<jobs>"
},
"name": "run_backtest_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | ||
| confirm | No | Must be true to change the chart and run the matrix. Default: false | |
| minimum_trades | No | Closed trades required per job. Default: 30 | |
| expected_symbol | Yes | Exact active-chart symbol before and after the matrix | |
| expected_timeframe | Yes | Exact active-chart timeframe before and after the matrix | |
| max_runtime_seconds | No | Do not start another job after this soft deadline. Default: 600, maximum: 1800 |