What is forward testing?

By Oalgo · Last reviewed

Forward testing runs your rules on live prices, from now on, with simulated funds. No real order is placed. It shows how your rules behave on prices they have never seen.

How does a forward test differ from a backtest?

#
Diagram: a backtest covers prices before today; a forward test covers prices from today on.Backtest:past pricesTodayForward test: newprices as they arrive
Both use simulated funds only.
BacktestForward test
PricesPastNew, as they arrive
SpeedFast: the whole period at onceReal time
FundsSimulatedSimulated
Best forChecking an idea quicklyChecking it on prices it has never seen

When should you forward test?

#
  • After a backtest you are happy with, to see whether the rules hold up on new prices.
  • Before you decide to Go Live.
  • When you change a rule, to compare the new version with the old one.

What to look for

#

Compare the forward test with the backtest. If the rules behave very differently on new prices, they may have been tuned too closely to the past (overfitting).

In Oalgo you can tell Oalgo AI your idea in your own words, check the rules it builds, and run a forward test on them with simulated funds only. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

Read next