run_strategy_backtest
Backtest built-in trading strategies (ma_crossover, rsi_reversal, macd_trend, breakout_volume) on historical data to evaluate performance metrics like win rate, P&L, and drawdown.
Instructions
Backtest a built-in strategy (ma_crossover | rsi_reversal | macd_trend | breakout_volume) on historical data. Returns trades, win rate, P&L, drawdown.
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": {
"strategy_name": "<strategy_name>",
"symbol": "<symbol>"
},
"name": "run_strategy_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy_name | Yes | ||
| symbol | Yes | ||
| timeframe | No | ONE_DAY | |
| start_date | No | ||
| end_date | No | ||
| initial_capital | No |