Back to Articles
Volume Guides

Backtesting vs Forward Testing: How to Know a Strategy Works

By Volume Team12 min read

Backtesting shows how a set of rules would have performed on past data. Forward testing shows how the same rules perform on data they have never seen. A strategy only earns trust once it passes both: a good backtest is a hypothesis, and the forward test is the experiment that confirms or kills it.

Most traders stop after the first half. The backtest looks good, the equity curve slopes up, and the strategy gets treated as proven. Then the next 30 trades look nothing like the last 100. This guide explains what each kind of test actually proves, why a strong backtest can fall apart on new data, how to run a forward test without waiting months for real time to pass, and how many trades you need before either result means anything.

If you are still deciding whether to start with paper trading or backtesting, read paper trading vs backtesting first. This guide picks up once you have a rule set and want to know whether to trust it.


What Backtesting Proves (and What It Doesn't)

Backtesting means applying fixed rules to historical price data and recording every trade they would have triggered. You can do it with code or by hand. Our guide on how to backtest a strategy manually walks through the manual method step by step.

What a backtest proves: that a clearly defined set of rules had a positive expectancy over one particular stretch of history, and roughly how deep its losing streaks got there.

What it cannot prove: that the edge will still be there on the next stretch. A backtest is measured on the same data you looked at while you built and tuned the rules. That makes it a description of the past, not a forecast.

So, does backtesting work? Yes, for what it is designed to do. It is the fastest way to collect a large sample of trades, and it is very good at killing bad ideas cheaply: if your rules lose money on history you have already seen, they are unlikely to do better on history you haven't. What it can't do on its own is tell a real edge apart from a pattern that only existed in the data you tested.

Is backtesting necessary? For any rule-based strategy, yes. Skipping it means judging the idea on a handful of trades. But it is necessary, not sufficient. The forward test is what turns "this worked" into "this keeps working."


What Forward Testing Proves

Forward testing means running the same, unchanged rules on data the rules have never seen. Strictly, "never seen" can mean two things:

  • Real-time paper trading: trading the rules on a practice account as the market unfolds today.
  • Out-of-sample testing on historical data: holding back a period of history you did not use while building the rules, then running the frozen rules through it. This is the idea behind walk-forward testing.

Some guides also define forward testing as trading a strategy with a small amount of real money. This guide does not. The aim here is to measure whether your rules and your execution hold up, and a practice account is where that measurement happens.

What a forward test proves: whether the edge survives contact with new data. Because you are deciding without knowing what comes next, it also tests a second thing a backtest can't: whether you actually follow the rules when the outcome is uncertain.

What it doesn't prove: anything quickly. A forward test needs as many trades as a backtest to mean anything, and in real time that can take months.


Backtesting vs Forward Testing at a Glance

BacktestingForward testing
DataHistory you have seen and built the rules onData the rules have never seen (real-time or held-out history)
Question it answersDid these rules have an edge on this stretch of data?Does the edge hold up on new data, and can I execute it?
SpeedFast: years of history in hoursSlow in real time; faster with out-of-sample replay
Sample sizeEasy to make largeSmall unless you plan for it
Main riskRules fitted to the data you testedJudging the result on too few trades
Rule changes allowed?Yes, this is where you develop and adjustNo. Changing rules mid-test restarts the test
What a failure tells youThe idea probably has no edge. Rework or drop itThe backtest edge was likely fitted, or the market changed

Neither column replaces the other. The backtest gives you a hypothesis worth testing; the forward test checks it.


Why a Good Backtest Can Fail Forward

Expect forward results to be somewhat worse than the backtest. That is normal. What you are watching for is a result that is not just worse but different: expectancy that flips from positive to negative, or losing streaks far deeper than anything the backtest showed. The usual causes:

  1. The rules were fitted to the data. Every time you adjust a parameter because it made last year's results look better, the backtest gets more flattering and less informative. This is overfitting, and a forward test is the most direct way to catch it. Hindsight and look-ahead mistakes inflate a manual backtest in the same way; the backtesting biases section of our manual backtesting guide covers each one and how to avoid it.
  2. The sample was too small. A 40-trade backtest can show a strong edge purely by chance. The forward test is then just the luck running out.
  3. The market changed. A strategy built during a strong trend may simply have no edge in a choppy, range-bound market. If your backtest covered one kind of market, your forward test may be the first time the rules meet another.
  4. Execution differs from the record. In a backtest you write down the price you wanted. In a forward test you have to act on it in the moment, and hesitation, early exits and skipped signals all show up in the numbers.

One more reason applies to every simulator, including Volume: fills are idealized. Volume fills orders instantly at the displayed price, and slippage and fees are not modeled. Your results, backtest or forward, are a measure of your decisions, not a forecast of what any strategy will return. Read a thin edge as thinner than it looks. How Volume trading works explains exactly how orders fill.


How to Forward Test Without Waiting Months

Real-time forward testing is honest but slow. A strategy that triggers twice a week needs a year to produce 100 trades. Out-of-sample replay gets you most of the same information much faster.

Out-of-sample replay

The idea is simple: freeze your rules, then run them through stretches of real market history that you did not use to build them.

Volume replays real market data, and the chart only draws bars up to the current game clock, so you cannot scroll ahead and see what happens next. That makes a replay session a forward test on historical data: you are deciding without knowing the outcome, on data your rules have not been tuned to. You control the clock, so you can play at Very Fast (360x by default) through stretches where your setup can't form, use the D/H/M skip inputs to jump forward (up to 30 days per skip), and drop back to realtime when a setup is close. For a tour of every control, see time controls in Volume.

Be clear about what this is and isn't. Out-of-sample replay is not live data, and it can't test whether your strategy works in today's market regime; it can only test it on other parts of history. It is also not perfectly blind. The ticker and the dates are visible, so if you land in a period you remember (a famous crash or a well-known earnings gap), your memory is a form of hindsight. When you recognize a period, note it in your log or skip that session.

Walk-forward in practice

A walk-forward test splits your work into two phases that never mix:

  1. Build phase. Develop and adjust your rules on one set of sessions. Change whatever you need to here, one rule at a time.
  2. Freeze. Write the final rules down, word for word, and give them a version name such as "Breakout v1".
  3. Forward phase. Run the frozen rules on fresh sessions you have never played. No rule changes. If you find you must change something, the forward test is over: return to the build phase and start a new forward test with a new version name.

In Volume, every new session on a free account starts on a random ticker and random date, which gives you a steady supply of unseen history for the forward phase. Pro members can also choose the ticker and start date. That lets you run a true chronological split, for example building on sessions from one year and forward testing on a later one, as long as you stick to the split once you've chosen it.

Keep the results separate

The cleanest way to keep the build and forward phases apart is one practice account per phase. Create one account for "Breakout v1 build" and another for "Breakout v1 forward", each with whatever virtual balance you choose between $100 and $50,000 (use the same balance for both so position sizes stay comparable).

Then, on the Stats tab of Journal and Stats, filter by account to see each phase on its own. Two details matter here:

  • The date range filter is by when you closed the trade, not by market history. "Last 30 days" means trades you closed in the last 30 real-life days, whatever historical date the session was set in. It can't separate your build sessions from your forward sessions; the account filter can.
  • The Strategy breakdown groups trades by the strategy name you journaled. Tag every trade with the same strategy and version in the journal, and you can see that rule set's results side by side with others further down the Stats tab. Use the Deviated from Plan and Stuck to Plan attributes honestly. A forward test full of deviations has tested something other than your rules.

Volume Stats tab filtered to a single account and All time, with the Strategy breakdown card highlighted

What you're seeing:

  1. Account filter: pick the build account or the forward account to see that phase on its own.
  2. Range filter: filters by the real-life date you closed each trade. Set it to All time when comparing phases.
  3. Strategy breakdown: results grouped by the strategy name you journaled.

Keep it honest

  • Act on closed candles only, if your rules are written that way.
  • Log every signal, including the ones you skipped.
  • Don't stop early because the forward results look great or terrible. Decide the trade count first.
  • Slow down to realtime as a setup forms. High speed is for dead time, not for decisions.

How Many Trades Before You Trust the Result

Both tests need a sample. The thresholds from our guide to expectancy, profit factor and win rate apply to each phase on its own: under 30 trades tells you almost nothing, 30 to 50 gives a first read, and 100 or more gives a reasonable estimate.

That means a 100-trade backtest followed by a 15-trade forward test has not been forward tested yet. Aim for at least 30 forward trades before you draw any conclusion, and more if the strategy trades rarely.

When you compare the two phases, look at the same numbers side by side:

  • Expectancy (average result per trade) is the main test. Did it stay positive?
  • Profit factor shows whether winners still outweigh losers. On small samples it is fragile: one big winner can carry it, so check whether it holds without your single best trade.
  • Payoff ratio and win rate explain why the result changed. A forward test with the same win rate but smaller average wins points to exits; a lower win rate with the same payoff points to entries or market conditions.
  • Worst losing streak. The Stats tab doesn't report streaks, so count this from your journal. If the forward phase loses more in a row than the backtest ever did, take that seriously even if overall expectancy is still positive.

Write your pass/fail rule down before the forward phase starts. For example: "pass if forward expectancy is positive after 50 trades and the worst losing streak is no longer than the backtest's." The exact numbers are your call. What matters is that you set them in advance, so the results can't talk you into moving the goalposts.

A forward test that clearly underperforms isn't a waste. It tells you the backtest edge was probably fitted to the data, and it saves you from building on it. Go back to the build phase, change one thing, and run a fresh forward test under a new version name.


Backtest and Forward Test Checklist

  • Rules written down in full before the build phase
  • Build-phase backtest of at least 30 trades, ideally 100+
  • Rules frozen and given a version name
  • Separate practice accounts for the build and forward phases
  • Forward phase run only on sessions not used to build the rules
  • Recognizable historical periods noted or skipped
  • Trade count and pass/fail rule set before the forward phase
  • No rule changes during the forward phase
  • Every trade journaled with the strategy name and version
  • Phases compared on the Stats tab, filtered by account: expectancy first, then profit factor and payoff ratio, with losing streaks counted from the journal

Ready to run your first forward phase? Open the gameroom, pick your forward-test account, and play your frozen rules through history you haven't seen.


FAQ

What is the difference between backtesting and forward testing? Backtesting runs rules on historical data you built them on; forward testing runs the same, unchanged rules on data they have never seen.

Does backtesting work? Yes, for collecting a large sample quickly and rejecting bad ideas, but a good backtest can't on its own show that an edge will continue.

Is backtesting necessary? For any rule-based strategy, yes: it is the fastest way to get a meaningful sample. It just isn't sufficient without a forward test.

Is forward testing the same as paper trading? Real-time paper trading is one way to forward test. Out-of-sample replay on historical data is another, and much faster.

How long should a forward test run? Measure it in trades, not weeks: at least 30 forward trades, and 100 or more for a reliable read.

What does it mean if my forward test is worse than my backtest? Some drop is normal. If expectancy turns negative or losing streaks run much deeper, the backtest edge was likely fitted or the market changed, so go back to the build phase.

Tags

IntermediateStrategyBacktestingStats