top_passes
Retrieve top optimization passes from MetaTrader backtest results, ranked by criteria like profit, and filter by symbol, period, or expert.
Instructions
DEPRECATED (removed in 0.6.0): use read_optimization(criterion=..., top_n=...).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "top_passes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | How many passes to return. | |
| expert | No | Expert name to select the cache. | |
| period | No | Timeframe to select the cache. | |
| symbol | No | Symbol to select the cache. | |
| opt_path | No | Absolute path to a .opt cache. | |
| criterion | No | Pass field to rank by. | profit |
| descending | No | true = highest first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||