1nTest · strategy backtester and trading bot builder

Net vs gross backtest result

Gross is a trade's result before costs; net is after commission, spread and swap. A strategy can be profitable gross and losing net — every 1nTest result is net.

What it means

Costs scale with the number of trades and shrink as the stop gets wider, so short-stop strategies with many trades lose the most to them.

Example from our library: the key-level sweep backtest made $1,738 gross over 749 trades, paid $3,572 in costs and ended at −18.3% net.

How 1nTest computes it

Each trade is charged commission, the spread at entry and swap for every night held, from the broker profile, and is executed at ask/bid rather than the mid price.

Net trade result = gross result − costs. Profit factor and drawdown are calculated on net results.

A result without costs is available only as an explicit experiment and is never shown as a library example.

Related concepts

← All concepts