Backtesting vs paper trading: which should come first?
By Oalgo · Last reviewed
Backtesting runs fixed rules on past prices in one go. Paper trading follows live prices with simulated funds and no real order. Backtest first, to check what the rules do on past prices. Then paper trade them on live prices.
Which should come first, and why?
#The backtest, because it is fast. In minutes it shows whether the rules do what you meant, whether they trade far too often or hardly at all, and how large a fall they went through. Paper trading takes real time, so it is worth spending on rules that passed the first check.
| Question | Backtest | Paper trading |
|---|---|---|
| Do the rules do what I meant? | Yes. Read the simulated trades one by one. | Yes, on live prices as they happen. |
| How often do they trade? | Known within minutes, for the past stretch you chose | Known only as trades arrive |
| Can it show rules tuned to one stretch? | Only if you also test other date ranges | Yes. New prices arrive after the rules are set. |
| How long does it take? | Minutes | As long as the market takes |
| Is a real order placed? | No | No |
Is paper trading the same as a forward test?
#In Oalgo, yes: paper trading is called a forward test. The rules run on new prices as they arrive, with simulated funds only. Elsewhere the term can also mean practice trades placed by hand, which tests you and not a fixed set of rules.
What happens if you skip one?
#- Skip the backtest and you may wait weeks to learn that the rules do something you did not mean.
- Skip paper trading and the rules have only met prices they could have been tuned on (overfitting).
What can neither one tell you?
#No real order is placed in either, so neither shows a real fill or how you would feel with real money at stake. Neither says what prices will do next. The backtest page and the paper trading page cover the details of each.
In Oalgo you can tell Oalgo AI your idea in your own words, check the rules it builds, and run a backtest and then a forward test on them. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.
Read next
- Backtesting vs forward testing: what is the difference?A backtest runs rules on past prices in one go. A forward test runs them on new prices as they arrive, with simulated funds. See the differences.
- What is paper trading? Practice with simulated fundsPaper trading is trading on live prices with simulated funds and no real order. Learn what it shows, what it cannot, and how Oalgo's forward test does it.