compare_reports
Compare two MetaTrader tester reports to show absolute and percent changes per key, with optional guard thresholds to flag profit metrics below or drawdown/loss limits above.
Instructions
Diff two tester reports key by key (absolute and percent deltas), optionally checking guard thresholds.
With guards, a profit-style metric below its threshold or a drawdown/loss metric above it is a
violation. Accepting only improvements across many iterations is selection bias; treat guards as a
sanity gate, not proof of robustness. Replaces regression_check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guards | No | Optional percent thresholds per summary key, e.g. {"net_profit": -5, "profit_factor": -10, "max_drawdown": 25}; when given, `violations` and `ok` are added. | |
| baseline | Yes | Absolute path to the baseline tester report (.htm). | |
| candidate | Yes | Absolute path to the candidate tester report (.htm). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||