Candlesview Open charts
Learn › Testing strategies › Lesson 1 of 3

Backtesting basics

Testing strategies · lesson 1 of 3 · 1 minute read · 3 questions at the end

A backtest replays a rule on past data to see how it would have done, with costs.

1

A rule you can write down

Entry, stop, target or exit, and size, with no judgement calls. If two people can read the rule and place the same trades, it can be tested.

2

Include costs

Fees, spread and slippage on every entry and exit. Many classic strategies stop being profitable once realistic costs are included.

3

Enough trades

Twenty trades say very little. Look for at least a hundred, across different market conditions, before trusting any number.

Try it

Check what you took from it

3 questions on this lesson. With at most one wrong answer the lesson is marked as done in this browser; nothing is sent anywhere.

1. When is a rule clear enough to be tested?
2. Why include fees, spread and slippage in a backtest?
3. How many trades should a backtest have before you trust its numbers?

Terms in this lesson

Education only. Nothing here is financial advice or a recommendation to buy or sell anything; trading involves a high risk of losing money.