Forward Walk
Trader and Quant
Forward Walk is part of the Trader and Quant plans. On Free, starting one is refused and says so.
A backtest can look good because its settings were picked after seeing the same months it is scored on. A forward walk takes that out of the result. It tunes the strategy on one stretch of history, then runs the settings it picked on the next stretch, which the tuning never saw, and moves forward. The tested stretches are joined end to end and scored as one run.
What the strategy needs
The strategy needs at least one parameter with a sweep list in its PARAMS: those
are the settings the walk tries. A strategy without one is refused at submission. See
Parameters & forward-walk
for how to declare them. The walk previews which parameters it will try and how many
combinations they make before you start it.
What a walk does
Each step of the walk is a window, and a window has two parts:
- Tuning (in-sample). Every combination of the strategy's parameters is backtested on the tuning months. A model then ranks the combinations by expected profit per trade, favouring settings that sit on a broad plateau over an isolated peak, and the top-ranked settings are kept.
- Testing (out-of-sample). Those settings trade the months right after the tuning months. This is the part that counts.
You choose two lengths, each from 1 to 24 months:
| Setting | Default | Meaning |
|---|---|---|
| In-sample window | 4 months | How much history each step tunes on. |
| Out-of-sample window | 2 months | How much unseen history each step is tested on. |
| Anchored | off | Rolling keeps the tuning window the same length and slides it forward by the testing length. Anchored always tunes from the first day and grows. |
The testing windows follow each other without gaps. If the last one would run past the end of your dates, it is cut short, and dropped when it is shorter than a quarter of a full testing window or under 7 days. Testing windows trade on a running balance: the account at the end of one window is the start of the next. Fills in the testing windows can use order-book or tick data where it exists, which the tuning does not. The fill model says which.
The walk uses your usual run settings (market, dates, capital, leverage, sizing) and the same costs as a backtest. It cannot start trading on a later day than it loads, because every testing window has to trade.
What your plan allows
| Trader | Quant | |
|---|---|---|
| Walks running at once | 1 | 1 |
| How far back the start date can be | 365 days | no limit in practice |
| Combinations in the parameter grid | 150 | 200 |
Going over a limit is refused before anything runs. The message names the limit and the plan that allows more.
What a refusal means
A refusal comes at submission, so nothing has run and no walk is saved. The cases:
- Not available on your plan. Free cannot run walks.
- Concurrent limit reached. You already have a walk queued or running. Wait for it, or cancel it.
- Lookback. The start date is further back than the plan allows. The message gives the earliest date it accepts.
- Grid too big. The parameters make more combinations than the plan caps at. Narrow the sweep lists.
- The strategy cannot be walked. It has no sweepable parameter, or a parameter
value outside what its
PARAMSdeclares. - Not enough history. The strategy asks for more bars of history (
HISTORY) than the first tuning window holds, or the market's data doesn't cover the dates you asked for. - Window shorter than a day. The dates are snapped to whole UTC days, and what is left must be at least one day. Today is still in progress and doesn't count.
Reading the report
WFO efficiency is the headline. It compares the average daily return the settings made on months they never saw with the average daily return they made while being tuned. 1.0 means the strategy kept all of its tuned edge. Each window is turned into a return per day, so a 2-month test can be compared with a 4-month tune. The score reads:
| Efficiency | Reads as |
|---|---|
| 0.70 or more | Strong |
| 0.40 to 0.70 | Acceptable |
| 0 to 0.40 | Curve-fit risk |
| below 0 | Failed: it lost money on months it never saw where tuning had made some |
Above 1 means it earned more per day on unseen months than it did while tuning. That can simply be a small tuning return, so it isn't proof of anything.
Some walks can't be rated by the score alone, and the page says so instead of showing a tier:
- Too few trades. Fewer than 10 trades across all testing windows.
- Thin evidence. One window earned all of the profit, or half or fewer of the windows traded at all.
- No profit. The score was good but the tested windows made nothing overall.
- Not scored. The walk had a Max drawdown limit. The limit changes both sides of the ratio, so the walk gets no score on purpose. That says nothing against the strategy.
- Insufficient data. No window could be scored.
- Older score. The walk is from before the score was worked out the current way, as the average of each window's ratio. Run the walk again for the current score.
The rest of the report:
- Out-of-sample totals: profit, trades, win rate and worst drawdown over all testing windows.
- Stitched equity curve: only the testing windows, joined. The closest thing to how the strategy would have done.
- Per-window table: for each window, the settings it picked and how they did on the unseen months. If the picked settings jump around, the strategy's edge may not sit on any one setting.
- Windows that didn't trade as configured. A line such as 2 of 6 windows didn't trade as configured means the engine skipped or cut entries in those windows: a stop on the wrong side of the entry price, an order below the market's minimum lot, an order a risk limit refused, a size cut because the account couldn't fund it, or a Max drawdown stop. Open the window to see which, with counts.
- A window with no settings picked. Nothing was traded in it, and the window says why: every parameter set that ran lost money, no set made a trade, or the size was below the market's minimum lot. A window that sat out neither made nor lost money, and the report says how many windows the verdict rests on.
- Crashed parameter sets. If some combinations crashed during tuning, the window says how many and shows the first error. They were left out of the tuning.
A walk shows no trade list. To look at individual trades, backtest the settings it picked.