Saltar al contenido
◆ ARIA
  • Metodología
  • Precios
  • Blog
  • Glosario
Iniciar sesiónEmpieza gratis
Menú
  • Metodología
  • Precios
  • Blog
  • Glosario
  • Iniciar sesión
  1. Home
  2. /
  3. Glossary
  4. /
  5. Walk-Forward Analysis
Quant & Machine Learning

Walk-Forward Analysis

A backtesting procedure that retrains the model on a rolling window and tests on the next out-of-sample period.

Definition

Walk-Forward Analysis (also called rolling-origin evaluation) trains a strategy on a fixed-length window, tests it on the immediately subsequent out-of-sample window, then rolls forward one step and repeats. The concatenated out-of-sample results approximate how the strategy would have actually been deployed in real time. Walk-forward is the gold standard for evaluating strategies because it eliminates retrospective overfitting that plagues single-split backtests. Combined with Deflated Sharpe and Probability of Backtest Overfitting (PBO), it forms the modern rigour toolkit.

Formula

For each step s in {0, step, 2*step, ...}:
  Train window = [s, s+TRAIN]
  Test window  = [s+TRAIN, s+TRAIN+TEST]
  Train model, evaluate on test
Concatenate test results across all steps
Anchored variant: Train window = [0, s+TRAIN] (expanding)

Worked example

15 years of S&P 500 data. Train window = 3 years, test window = 6 months, step = 6 months. This produces 24 out-of-sample test segments concatenated into a single live-like equity curve. The walk-forward Sharpe (e.g. 0.9) is far more credible than the in-sample Sharpe (e.g. 1.6) — and the gap quantifies overfitting.

How ARIA Analyst uses it

ARIA's Premium tier runs walk-forward backtesting on user-defined strategies and reports Deflated Sharpe, PBO and walk-forward Calmar to flag overfitted strategies.

Related terms

  • Sharpe Ratio

    Risk-adjusted return measured as excess return per unit of total volatility.

  • Calmar Ratio

    Annualised return divided by maximum drawdown, favouring strategies with shallow losses.

  • Purged K-Fold Cross-Validation

    A cross-validation scheme that removes overlapping training samples to prevent look-ahead leakage.

  • Monte Carlo Simulation

    A probabilistic technique that simulates thousands of random scenarios to estimate the distribution of outcomes.

See Walk-Forward Analysis in action on any asset

ARIA Analyst computes Walk-Forward Analysis automatically as part of a hybrid multi-agent investment report — 5 deterministic scoring agents plus AI augmentation (ML ensemble, Bull vs Bear debate, 10 Deep Search agents on Premium). Get yours in seconds.

Try ARIA Analyst free →
← Back to full glossary
◆ ARIA Analyst

Análisis de mercados con agentes de IA para acciones, cripto, divisas, materias primas, renta fija y fondos. Investigación, no asesoramiento.

Producto

  • Empieza gratis
  • Precios
  • Metodología
  • Cómo funciona
  • Novedades

Recursos

  • Blog
  • Glosario
  • Comparativas
  • Acción contra acción
  • Listas
  • Preguntas frecuentes

Empresa

  • Quiénes somos
  • Por qué ARIA
  • Opiniones
  • Prensa
  • Seguridad
  • Hoja de ruta

Legal

  • Términos
  • Privacidad
  • Aviso de riesgo
  • Cookies
  • Contacto

ARIA Analyst es una herramienta de análisis e investigación. La información es educativa y no constituye asesoramiento financiero ni de inversión. ARIA no está registrada como asesora de inversiones en ninguna jurisdicción. Las rentabilidades pasadas y los scores no garantizan resultados futuros. Invertir conlleva riesgo de pérdida parcial o total del capital.

© 2026 ARIA Analyst · Todos los derechos reservadosaria · ariaanalyst.pro