StrategyVersionMetricDelta
One metric on both sides, with the direction already resolved.
improved exists so no caller has to remember that LOWER drawdown is better
and HIGHER Sharpe is better. It is null when either side lacks the metric, when
the two runs are not comparable (a return delta across two different time
ranges is a different question, not an improvement), and for TRADE_COUNT, which
has no direction — more trades is context for the other four, not a verdict.
type StrategyVersionMetricDelta {
metric: StrategyVersionMetric!
base: Float
target: Float
delta: Float
improved: Boolean
}
Fields
StrategyVersionMetricDelta.metric ● StrategyVersionMetric! non-null enum
StrategyVersionMetricDelta.base ● Float scalar
StrategyVersionMetricDelta.target ● Float scalar
StrategyVersionMetricDelta.delta ● Float scalar
target − base. Null when either side lacks the metric.
StrategyVersionMetricDelta.improved ● Boolean scalar
Member Of
StrategyVersionComparison object