BacktestComparison
2 to 4 completed backtests side by side (#4784). runs is the asked-for order
minus skipped; the first run is the baseline.
type BacktestComparison {
runs: [Backtest!]!
differences: [BacktestDigestDifference!]!
settingsDiff: [BacktestSettingDiff!]!
skipped: [ID!]!
}
Fields
BacktestComparison.runs ● [Backtest!]! non-null object
The compared runs, in the order asked for. The first is the baseline.
BacktestComparison.differences ● [BacktestDigestDifference!]! non-null enum
What the runs were not tested on in common, from the digest's own classifier (the run page's comparison), in enum order. A kind is listed when ANY two of the runs differ in it. Empty when they were tested on the same thing. UNKNOWN means a run's stored summary is too old to tell.
CONFIG compares the runs' own overrides only, so two strategy versions with different stored settings and no override do not report it. Read "the settings differ" from settingsDiff being non-empty, never from CONFIG.
BacktestComparison.settingsDiff ● [BacktestSettingDiff!]! non-null object
The settings whose values are not the same in every run, over each run's
effectiveConfig, sorted by key. Nested settings use dotted keys
(exchange.pair_whitelist); minimal_roi is one row. The pair whitelist
and blacklist compare as sets (a reordered list is not a difference), and
the platform keys dataformat_ohlcv and dry_run are left out. This, not a
CONFIG reason, says whether the settings differ. Empty when every setting
is the same.
BacktestComparison.skipped ● [ID!]! non-null scalar
Asked-for ids that are not compared: unknown, not readable, or not completed.
Returned By
backtestComparison query