addedOutput schema / properties / result / properties / avgLossR / description
Added value: +"Average R on losing trades (-1.0 with the default riskManagement; varies if the strategy overrides riskManagement.stopLoss)."
addedOutput schema / properties / result / properties / avgWinR / description
Added value: +"Average R on winning trades."
addedOutput schema / properties / result / properties / bothHit / description
Added value: +"Trades where both stop-loss and take-profit were hit on the same candle (resolved as stop-loss)."
addedOutput schema / properties / result / properties / conditionsDistributionPct / description
Added value: +"For each condition name (see strategySnapshotJson.conditions): fraction of candles where it was true."
addedOutput schema / properties / result / properties / direction / description
Added value: +"\"long\" or \"short\" — the direction the whole backtest traded."
addedOutput schema / properties / result / properties / expectancyR / description
Added value: +"Average expected R per trade — (winRate * avgWinR) + (lossRate * avgLossR). This is the metric to optimize a strategy on, not raw winRate or trade count: a low win rate with a high avgWinR/avgLossR ratio can still have a strongly positive expectancyR."
addedOutput schema / properties / result / properties / grossLossR / description
Added value: +"Sum of all losing trades, in R-units (negative)."
addedOutput schema / properties / result / properties / grossProfitR / description
Added value: +"Sum of all winning trades, in R-units."
addedOutput schema / properties / result / properties / pnlR / description
Added value: +"Net profit/loss in R-units (risk multiples) — sum of every trade's PnL. This is the headline result."
addedOutput schema / properties / result / properties / profitFactor / description
Added value: +"grossProfitR / abs(grossLossR). Greater than 1 means profitable."
addedOutput schema / properties / result / properties / scoreDistributionPct / description
Added value: +"For each possible total score value: fraction of candles that summed to it."
addedOutput schema / properties / result / properties / trades / description
Added value: +"Total number of closed trades."
addedOutput schema / properties / result / properties / winRate / description
Added value: +"wins / trades. Range 0–1."