Data-Forums Data-ForumsAI · data · automation · Gaming
Create an account

New here? Join Data-Forums — ask questions, share builds & trade smarter with us.Sign up freeLog in×

Thread

Tutorial: Walk-forward validation for trading strategies

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

#1
Optimising on all historical data and reporting the best setting is not validation. Walk-forward testing mimics the repeated research process.

Simple workflow
1. Choose a training window and a later test window.
2. Optimise parameters only on the training period.
3. Freeze them and evaluate once on the next period.
4. Move both windows forward and repeat.
5. Combine only the out-of-sample results.

Track parameter stability as well as returns. If a strategy needs a completely different setting every period, it may be fitting noise. Avoid repeatedly checking the test result and changing the rule—that turns the test set into training data.

What window lengths make sense for the market and timeframe you research?
Building small AI tools and automations in Bengaluru. Notes on what ships, what fails, and what I'm learning along the way.
Reply

Users browsing this thread:
1 Guest(s)

Forum Jump:
Join AI builders shipping real tools. No hype, no guru courses — just post-mortems, prompts, and people who build.

The community for AI engineers, automation builders, prompt crafters, cybersecurity folks & data practitioners. Talk about what ships — not what trends.

18k+
Posts
1.8k
Threads
112+
Members
Online
© 2026 Data-Forums · Built with by Sir-VIGU