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=...).
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 | |||