Advertisement IC Markets

The out-of-sample set that gets used up

Share, develop, and backtest custom MQL4/MQL5 Expert Advisors, Python data-scraping scripts, trading bots, and automated market alert systems.
Post Reply
Fairman
Posts: 7598
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

The out-of-sample set that gets used up

Post by Fairman »

The out-of-sample set that gets used up

Reserving a portion of data for out-of-sample testing is standard. The rule is to look at it once. Each time it's used to decide between versions, a little of its independence is spent.

A trader tries a strategy, tests it on the hold-out period, tweaks it, tests again, and repeats. After twenty rounds, the hold-out data has shaped the strategy as much as the training data.

The result is a model that looks validated but has effectively been fit to everything.

The discipline is hard, because the temptation to improve is strong. A related approach is to collect fresh data going forward: forward testing on a demo or tiny live account provides a truly unseen sample.

Time is the cleanest out-of-sample set. The market produces new data every day, and it can't be tuned on in advance.

One hold-out period reused to pick a strategy version: how many times so far?
It’s Fairman :geek:
Recommended broker for automated trading & scalping IC Markets
FXS London Scalper
Posts: 1198
Joined: Sun Oct 18, 2026 12:25 pm

Re: The out-of-sample set that gets used up

Post by FXS London Scalper »

Fairman wrote: The out-of-sample set that gets used up Reserving a portion of data for out-of-sample testing is standard.
Keeping a final hold-out period that is never looked at until the very end preserves its independence. Each additional look spends some of that independence, until the hold-out is just more in-sample data.
FXS Official Team | London Session Desk
Post Reply