Start with the trade count and costs, then risk-adjusted return (Sharpe and Sortino), then the worst loss from a peak (maximum drawdown), then how wins compare with losses (profit factor and win rate). No single metric is enough; a strategy is only as good as its weakest honest figure.
Read these first
- Number of trades. Below about 30 closed trades, every other figure is mostly noise.
- Costs used. A report run with zero commission, spread and slippage describes a market that does not exist. Check what was set before reading anything else.
- Period tested. Was it one kind of market, or several?
Return and risk-adjusted return
- Net profit and total return. What the account made after costs. Useful, but it says nothing about how bumpy the ride was.
- Sharpe ratio. Mean return divided by the standard deviation of returns, annualised. Above 1 on realistic costs is good for most retail strategies; above 2 is rare; above 3 on daily bars usually means something is wrong. It depends heavily on how returns are sampled and annualised, so compare Sharpe ratios only when they were computed the same way.
- Sortino ratio. Like Sharpe, but only downside volatility counts. Higher than the Sharpe ratio when the upside swings are larger than the downside ones.
- Calmar ratio. Annual return divided by maximum drawdown. A quick read on how much pain each unit of return cost.
Drawdown
- Maximum drawdown. The largest fall from a peak in equity to a later low, as an amount and as a share of the peak. This is the figure that decides whether you would have kept trading the strategy.
- Recovery factor. Net profit divided by maximum drawdown. Below 1 means the strategy never earned back its worst fall.
- Expect worse live. The backtest's drawdown is one path. A Monte Carlo resample shows the range.
Trade quality
- Win rate. The share of trades that made money. Meaningless alone: a 30% win rate can be very profitable with large winners, and a 90% win rate can lose money with rare large losses.
- Profit factor. Gross profit divided by gross loss. Above 1 is profitable; 1.5 to 2 is solid on realistic costs; very high values on few trades are fragile.
- Average profit per trade. Compare it with the cost of a round trip. A strategy averaging less than a few times its cost per trade is very sensitive to fill quality.
- Consecutive losses and holding time. The longest losing streak tells you what you must sit through; holding time tells you how much overnight and weekend risk you carry.
How Reamer Research handles it
Every Reamer Research run returns these figures on the result object:
import reamer_research as rr
r = rr.backtest(MyStrategy(), 'SPY.bin', spread=0.01, commission_per_unit=0.005, periods_per_year=252)
print(r.closed_trades_count, r.sharpe_ratio, r.sortino_ratio, r.calmar_ratio,
r.profit_factor, r.win_rate, r.equity_drawdown_relative, r.recovery_factor)
MyStrategy can be a class, a configured object or a function on_bar(data). The result also includes gross profit and loss, net profit per trade, the longest winning and losing streaks, minimum, average and maximum holding time, total commission, slippage and swap, and order counts by outcome. result.json() holds every fill, the order log and the equity curve; results and metrics lists every field.
How each figure is measured is documented in the kit's result schema. The Sharpe and Sortino ratios use each trade's net profit over account equity at entry. They are annualised from the median gap between closed trades unless you pass periods_per_year, such as 252, for a fixed convention. Drawdown is measured on realised equity, one point per closed trade.
Limits to know
- Drawdown is measured trade to trade. A loss inside an open trade that recovers before it closes does not appear in maximum drawdown; check the trade's own excursion in the visual trade diagnostics tool.
- Set
periods_per_yearto compare with other tools. The inferred figure suits irregular strategies but may not match a calendar convention.
A $20 month includes the full kit and the result schema, so you can read your own strategy's report against these definitions.