what_if_backtest
Backtest a trading strategy with custom parameters to evaluate performance metrics before live deployment.
Instructions
Run a backtest on a strategy. Async, may take 30-120 seconds. Returns full performance metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 3m | |
| symbol | No | BTC/USDT | |
| exchange | Yes | Exchange account ID (use list_exchanges to find) | |
| timeframe | No | Candle timeframe (e.g. 1h, 4h, 1d) | 1h |
| strategyId | Yes | Strategy ID to backtest | |
| initialBalance | No |