run_backtest
Run a backtest on a StrategySpec to validate performance. Obtain Sharpe, drawdown, win rate, and P&L to assess risk-adjusted returns.
Instructions
Run a backtest on a StrategySpec using the Rust engine. Returns Sharpe, drawdown, win rate, P&L.
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": {
"spec": "<spec>"
},
"name": "run_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| capital | No |