My progressOpen Stolo

Backtesting basics

Test an idea honestly on the past.

Why it matters

Testing an idea on past data is cheap and informative, but only if it is done honestly.

The intuition

A basic backtest defines the rule exactly, applies it to historical data, includes costs and realistic fills, and reports the results: number of trades, win rate, average win and loss, drawdown and total return.

A strategy that looks great on a chart but has no written, mechanical rule cannot be backtested honestly. Start by writing the rule so clearly that another person could trade it.

Check yourself

The first requirement of a backtest is…

Common mistakes

  • Leaving out costs.
  • Testing a rule that you adjusted by looking at the results.

In Stolo

Run a backtest in Stolo's backtester.On live data in the Stolo app
Open in Stolo

Recap

  • Write the rule exactly.
  • Include costs.
  • Keep data aside to test on.
Finished reading?Mark it complete to keep your place and your streak.