Run and save a historical trading strategy backtest
run_backtestRun the reviewed exact strategy with its preview fingerprint and a stable request UUID, save the canonical result, compare against same-security buy and hold, report drawdown, trades, cost stress and coverage. Use identical ID on retry. No live 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": {
"symbol": "<symbol>",
"config": "<config>",
"request_id": "<request_id>",
"preview_fingerprint": "<preview_fingerprint>"
},
"name": "run_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | ||
| symbol | Yes | ||
| request_id | Yes | ||
| preview_fingerprint | Yes | ||
| accept_partial_coverage | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| metadata | Yes |