run_backtest
Execute a MetaTrader 5 Strategy Tester backtest for a specified strategy and symbol, storing the results under a unique run ID for later analysis and comparison.
Instructions
Run one official MT5 Strategy Tester backtest and store it under a unique run_id.
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": "<strategy>",
"symbol": "<symbol>",
"timeframe": "<timeframe>",
"from_date": "<from_date>",
"to_date": "<to_date>"
},
"name": "run_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | ||
| inputs | No | ||
| symbol | Yes | ||
| deposit | No | ||
| to_date | Yes | ||
| currency | No | BRL | |
| leverage | No | 1:100 | |
| strategy | Yes | ||
| from_date | Yes | ||
| timeframe | Yes | ||
| timeout_sec | No |