Backtest Metrics

The indispensable metrics when we backtest and their definitions everything into a real backtest conditions.

KEY RATIOS

Click to see formula & definition

WINRATE

--

WINRATE

Percentage of winning trades over total trades executed

(Winning Trades / Total Trades) × 100
Click to see formula & definition

PROFIT FACTOR

--

PROFIT FACTOR

Ratio of gross profit to gross loss. Above 1.0 indicates a profitable strategy

Gross Profit / Gross Loss
Click to see formula & definition

SHARPE RATIO

--

SHARPE RATIO

Risk-adjusted return. Higher values indicate better risk-reward balance

(Return - Risk-Free Rate) / Std Dev
Click to see formula & definition

CALMAR RATIO

--

CALMAR RATIO

Annual return divided by maximum drawdown. Measures risk-adjusted performance

Annual Return / Max Drawdown
Click to see formula & definition

AVG DURATION

--

AVG DURATION

Average time a trade remains open from entry to exit

Σ(Trade Duration) / Total Trades

RISK MANAGEMENT

Risk Per Trade

1.0%

Maximum capital risked on a single trade

Risk Reward Ratio (RR)

2.5:1

Expected profit relative to risk taken

Break-even Win Rate by Risk-Reward Ratio (Excluding Fees)

Formula: Win Rate = 1 ÷ (1 + RR) × 100

PERFORMANCE METRICS

Click to see formula & definition

TOTAL RETURN

--

TOTAL RETURN

Percentage gain or loss on the initial investment over the backtest period

((Final Capital - Initial Capital) / Initial Capital) × 100
Click to see formula & definition

P&L TOTAL

--

P&L TOTAL

Total profit and loss in absolute monetary value across all trades

Σ(Profit) - Σ(Loss)
Click to see formula & definition

INITIAL CAPITAL

--

INITIAL CAPITAL

Starting capital used at the beginning of the backtest period

Starting Account Balance
Click to see formula & definition

FEES

--

FEES

Total trading fees including commissions, spreads, and slippage costs

Σ(Entry Fee + Exit Fee) × Trades
Click to see formula & definition

MAX DRAWDOWN

--

MAX DRAWDOWN

Largest peak-to-trough decline in account value during the backtest

((Trough Value - Peak Value) / Peak Value) × 100
Click to see formula & definition

LONG WINRATE

--

LONG WINRATE

Percentage of profitable long (buy) trades over total long trades

(Winning Long Trades / Total Long Trades) × 100
Click to see formula & definition

SHORT WINRATE

--

SHORT WINRATE

Percentage of profitable short (sell) trades over total short trades

(Winning Short Trades / Total Short Trades) × 100
Click to see formula & definition

NET PROFIT

--

NET PROFIT

Total profit after deducting all fees, commissions, and losses

Gross Profit - Fees - Losses
Click to see formula & definition

EXPECTANCY

--

EXPECTANCY

Average amount expected to win or lose per trade based on historical data

(Win Rate × Avg Win) - (Loss Rate × Avg Loss)
Click to see formula & definition

MAX WINNING STREAK

--

MAX WINNING STREAK

Highest number of consecutive winning trades during the backtest

Max(Consecutive Wins)
Click to see formula & definition

MAX LOSING STREAK

--

MAX LOSING STREAK

Highest number of consecutive losing trades during the backtest

Max(Consecutive Losses)
Click to see formula & definition

TOTAL TRADES

--

TOTAL TRADES

Total number of trades executed during the backtest period

Count(All Trades)

GRAPHICS

Equity Curve vs Buy & Hold

Strategy Performance vs Market Benchmark

Rolling Winrate (60 Trades)

Winrate calculated over sliding 60-trade window

Winrate Evolution

Cumulative winrate recalculated after each trade

Sharpe Ratio Evolution

Cumulative Sharpe ratio recalculated after each trade

Monthly Returns

Performance breakdown by month