Performance Metrics Reference

Complete reference for all backtesting performance metrics including formulas, interpretations, and benchmarks.

Returns Metrics

Total Return

The total percentage gain or loss over the entire backtest period.

(Final Equity - Initial Capital) / Initial Capital × 100

Example: $100,000 → $125,000 = 25% Total Return

CAGR (Compound Annual Growth Rate)

The rate of return that would compound to produce the final equity. More accurate than simple annualized return.

(Final Equity / Initial Capital) ^ (1/Years) - 1

Good: >10% per year | Great: >15% per year

Risk-Adjusted Metrics

Sharpe Ratio

Measures return per unit of risk. Higher is better.

(Return - Risk-Free Rate) / Volatility

< 0: Poor
0-1: Subpar
1-2: Good
>2: Excellent

Sortino Ratio

Like Sharpe, but only penalizes downside volatility (losses), not upside.

Typically higher than Sharpe since it ignores positive volatility. Good: >1.0

Calmar Ratio

Return per unit of maximum drawdown. Measures return vs worst-case loss.

Annualized Return / Max Drawdown

Good: 1-3 | Excellent: >3

Risk Metrics

Maximum Drawdown

The largest peak-to-trough decline in equity. Critical for risk assessment.

Good: <15% | Acceptable: 15-25% | High Risk: >30%

Volatility (Annualized)

Standard deviation of returns. Measures how much returns fluctuate.

Low: <15% | Medium: 15-30% | High: >30%

Trading Statistics

Win Rate

Percentage of profitable trades. Important but not definitive.

Good: >50% | Note: Can be profitable with <50% if winners are larger

Profit Factor

Total gains divided by total losses. Must be >1.0 to be profitable.

Sum of All Wins / Sum of All Losses

Acceptable: 1.2-1.5 | Good: 1.5-2.0 | Excellent: >2.0

Average Trade Duration

How long positions are held on average. Helps classify strategy type.

  • Day trading: <1 day
  • Swing trading: 2-10 days
  • Position trading: >10 days