Backtest Equity Curve
backtest_chartRun a strategy backtest and render its equity curve as an
interactive chart in the conversation (capital growth + drawdown,
with return / win-rate / Sharpe stats). Strategies: rsi, bollinger,
macd, ema_cross, supertrend, donchian, rsi_pullback,
keltner_breakout, triple_ema. period: 1mo|3mo|6mo|1y|2y,
interval: 1d|1h. Max drawdown is measured bar by bar, dips inside an
open trade included; the bars under the curve show drawdown at trade
exits, so they can be shallower. Clients without interactive app
support can read
the summary field.
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>"
},
"name": "backtest_chart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 1y | |
| symbol | Yes | ||
| interval | No | 1d | |
| strategy | No | ema_cross | |
| initial_capital | No |