run_backtest
Configure and run AlgoTest backtests by setting date range, underlying, entry/exit times, and risk controls. Requires confirmation to consume backtest quota; not for live trading.
Instructions
Configure and run AlgoTest Backtester. Requires confirm=true because it consumes a backtest quota. Never use for live trading.
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": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "run_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lots | No | ||
| expiry | No | Today | |
| target | No | ||
| confirm | No | ||
| endDate | Yes | ||
| exchange | No | Delta Exchange | |
| exitTime | No | 07:00 | |
| stopLoss | No | ||
| entryTime | No | 22:00 | |
| startDate | Yes | ||
| underlying | No | ETHUSD |