FREE FINANCIAL EDUCATION
Backtest metrics
Calculate net return and profit factor with their correct denominators.
What you will learn
Prerequisites: Net trade P&L, equity curves and percentage returns.
- Calculate net return and profit factor with their correct denominators.
- Interpret drawdown, exposure and trade count alongside a headline return.
- Identify undefined or unstable metrics in small samples.
Mechanism and decision rules
A backtest needs several views of the same simulated process. Net return measures change in capital after modeled costs and cash-flow adjustments. Profit factor divides total positive trade P&L by the absolute total negative trade P&L. Maximum drawdown measures the worst peak-to-trough equity decline. Exposure time, turnover, number of independent opportunities and concentration explain how those outcomes were produced.
No single metric is sufficient. A high profit factor from two trades can be fragile, and an annualized return over a few days can look extreme without providing long-horizon evidence. Sharpe-type ratios require consistent return frequency, risk-free treatment and assumptions about dependence for annualization. Report definitions and avoid silently dropping losing or open positions.
Worked example · synthetic data
A synthetic net trade sequence is +₹300, −₹100, +₹200 and −₹150. Total profit is ₹250. Gross positive net-trade amounts sum to ₹500 and absolute negative amounts to ₹250, giving profit factor 2.0. Starting equity ₹10,000 ends at ₹10,250, a 2.5% return before any external cash flows.
The equity path is 10,300, 10,200, 10,400 and 10,250. The largest observed drawdown is 150/10,400 ≈ 1.44%, not 150/10,000. This tiny sample does not establish a reliable strategy despite its positive metrics.
Failure modes and limits
A profit factor with no losses has a zero denominator and should be reported as undefined or unbounded under the convention, not as proof of safety. Closed-trade curves can omit open drawdowns. Annualization can mislead with irregular observations and serial dependence. Include costs, sample period and data limitations prominently.
Practice case
Net trades are +500, −200, −100 and +400 on initial equity ₹20,000. Compute total P&L, simple return and profit factor.
Reveal the worked answer
Total is ₹600, simple return 600/20,000 = 3%, and profit factor is (500 + 400)/(200 + 100) = 3.0. These describe the sample only; the four trades provide limited information about tails, stability and future execution.
Check your understanding
Sources and next steps
The lesson, calculations and synthetic cases are original educational material. References explain underlying contract or chart conventions; none validates the profitability of a trading rule. Actual contract specifications, settlement obligations and charges must be checked before trading.
Explore OHLCV data in the chart lab · Explore volume-at-price and TPO data · Practice library
