How to use Walk-Forward Validator
Upload a returns CSV. Rolling or expanding in-sample / out-of-sample windows, per-window Sharpe, walk-forward efficiency, and a concatenated OOS equity curve — the honest backtest a single in-sample fit hides.
What It Does
Use the calculator with intent
Upload a returns CSV. Rolling or expanding in-sample / out-of-sample windows, per-window Sharpe, walk-forward efficiency, and a concatenated OOS equity curve — the honest backtest a single in-sample fit hides.
Backtesters who already know the single in-sample Sharpe overstates real-world performance and need a defensible OOS report for an allocator or themselves.
Interpreting Results
Walk-forward efficiency is the headline — OOS Sharpe ÷ IS Sharpe. Below 0.4 means most of the apparent edge died OOS; above 0.7 is genuinely robust. The concatenated OOS curve is what you'd have actually traded.
Input Steps
Field by field
- 1
Upload data
Upload data and pick the strategy specification.
- 2
Set parameters
Set training and testing window lengths and minimum number of windows (≥ 5).
- 3
Run calculation
Run the validator. It computes per-window OOS metrics and stability statistics.
- 4
Read outputs
Read pass/fail across the three thresholds: median OOS Sharpe ≥ 50% of in-sample, parameter stability across windows, no single window destroys lifetime P&L.
- 5
If
If validation fails, do not iteratively re-tune until it passes — that defeats the purpose. Reformulate the strategy from first principles instead.
Common Scenarios
Use realistic starting points
Short rolling windows
Window length
6 months IS / 1 month OOS
Strategy frequency
daily
More windows = more samples = more stable efficiency estimate. Watch for windows where OOS Sharpe goes negative — those are the regimes the strategy doesn't survive.
Long expanding window
Window length
expanding, starting at 2 years IS
Strategy frequency
daily
Expanding mode shows whether the edge persists as the IS sample grows; collapsing efficiency suggests overfitting to recent data.
Try These Tools
Run the numbers next
Walk-Forward Validation Visualizer
Paste a strategy returns CSV, get per-window in-sample vs out-of-sample Sharpe and the IS→OOS drop. Rolling and anchored window modes. Browser-only.
Backtest Overfitting Score
Upload a backtest trade log and compute Probability of Backtest Overfitting (PBO), Deflated Sharpe Ratio, and the odds your edge survives live trading.
Deflated Sharpe Ratio Calculator
Bailey & López de Prado deflated Sharpe — corrects observed Sharpe for selection bias across K trials. Reports deflated Sharpe, PSR (probability of skill).
FAQ
Questions people ask next
The short answers readers usually want after the first pass.
Related Content
Keep the topic connected
Walk-Forward Optimization
Walk-forward optimization: rolling-window train/test that mimics live deployment. Why anchored vs sliding matters and the gotchas in window sizing.
Overfitting
Overfitting in trading-strategy backtests: how multiple-testing inflates apparent edges and the diagnostics that catch it.
Bailey-Lopez de Prado PBO
Probability of Backtest Overfitting: a combinatorial test that estimates how likely your best in-sample strategy is to underperform out-of-sample.