The backtest result panel just got an upgrade.
Not because the old one was bad — but because win rate and CAGR alone aren't enough when you want to seriously evaluate a strategy.
What changed
After every backtest run you now see two tabs:
Summary (default) — the essentials at a glance:
- Total Return, CAGR, Win Rate, CAGR/Trade
- B&H comparison
Details (opt-in) — for those who want to go deeper:
- DSR (Deflated Sharpe Ratio, Pro feature)
- SQN, Expectancy, Profit Factor
- Monthly and yearly breakdown of every trade
The three new metrics
System Quality Number (SQN)
Developed by Van Tharp. Measures strategy stability relative to the number of trades:
SQN = (avg return / std dev of returns) × √n
Rule of thumb:
- < 1.6 → weak
- 2.0+ → good
- 3.0+ → suspect overfit (too good for real markets)
SQN penalizes strategies that are profitable but have wildly inconsistent trade results. A strategy with 50% win rate and small, consistent gains can outscore one with 80% win rate but massive losers.
Expectancy
Expectancy = win rate × avg win − loss rate × avg loss
How many percent return you can statistically expect per trade. Positive = the strategy has a real edge. Negative = you lose on average, regardless of how nice the win rate sounds.
Example: 60% win rate with +8% wins and −15% losses gives: 0.6 × 8 − 0.4 × 15 = 4.8 − 6.0 = −1.2% expectancy. A losing system.
Profit Factor
Profit Factor = sum of all wins / |sum of all losses|
- < 1.0 → the strategy loses overall
- 1.5+ → solid
- 2.0+ → strong
Simple and direct: how many dollars does the strategy earn per dollar it loses?
Period breakdown
The new Details tab also shows a table of all trades grouped by month or year — with profit, win rate, and profit factor per period.
This is more useful than it sounds. Many strategies work well for 4 out of 5 years, and then one bad year wrecks the overall CAGR. The monthly breakdown shows you exactly when.
Why a Details tab instead of always visible?
We moved three elements out of the main panel (DSR, affiliate links, strategy guide hint) and consolidated everything methodological in the Details tab.
The default panel after a run is now lean: six metrics plus B&H comparison. Those who want to go deeper click Details. No noise for casual users, all the tools immediately available for serious backtesting.
The metrics are purely client-side — no backend, no new DB fields, no schema change. The trade list was always there; we just put it to work.