2003issue C041-4
Walk-forward construction of rule-based market-position systems
A mechanical trading system can be built from scored market-state inputs, discrete weights, and explicit buy, sell, and stay-out rules. Weights are locked only after unused later historical input is checked to see whether the same action rules still generalize.
- A complete market-position procedure can be built from three scored inputs, three discrete weights, a summed output, and explicit buy, sell, and stay-out rules.
- Entry, exit, and abstention are one procedure: a summed output of +30 buys, -30 sells, and any value between those bounds stays market-neutral.
- Several discrete weight triples can satisfy the same stay-out interval on one case, so a single agreement is not enough to lock the procedure.
- Training ends when the training-sample cannot be improved further. The locked rules then need an out-of-sample-check on unused later input.
One procedure for entry, exit, and abstention
A complete market-position procedure can be built from three scored inputs, three discrete weights, a summed output, and explicit buy, sell, and stay-out rules. That package is a mechanical trading system: a complete, testable procedure that turns scored market-state inputs into buy, sell, or stay-out actions under explicit execution constraints.
Entry, exit, and abstention are one procedure. The rule-based entry is a discrete decision rule that fires a long, short, or abstention signal only when a summed, weighted output reaches a stated threshold. A summed output of +30 buys, -30 sells, and any value between those bounds stays market-neutral.
A first case can be met by more than one weight set
When an initial all-ones weighting of the first historical case produced +30 but the recorded outcome was market-neutral, changing the third weight from 1 to -1 moved the output to +10 and satisfied the stay-out rule. A weight is a discrete multiplier applied to each scored input so the procedure can change how strongly that input contributes to the summed signal.
Several different discrete weight triples can satisfy the same stay-out interval on one case, so a single agreement is not enough to lock the procedure. Construction continues by feeding additional historical input-outcome pairs and adjusting weights until the procedure gives consistently matching actions.
Lock the procedure only after the later check
Training is finished only when the earlier sample has been run repeatedly and the responses cannot be improved further. That weight set is then treated as locked. Those earlier historical cases are the training-sample.
After the weights are locked, the same procedure must be checked on unused later historical input to test whether the learned action rules still generalize. That unused later set is the out-of-sample-check. Walk-forward analysis is this two-stage construction check: first adjust the procedure on an earlier sample until it cannot be improved, then verify the same locked rules on unused later data.
A hidden-layer form uses the same adjustment logic
A three-layer construction with input, hidden, and output stages still uses the same weight-adjustment and signal-output logic as the single-layer example. A hidden-layer is an intermediate processing stage that does not receive raw outside inputs and does not emit the final action, but still participates in the same weight-adjustment process.
Training and testing cases should span a wide variety of market conditions so the procedure does not lock onto a spurious co-occurrence that is not the intended decision rule.
All readings on this track · 50 readings
- 1990Three-window walk-forward system evaluation
- 1990Building the construction layer of a mechanical trading system
- 1991Constructing walk-forward neural trading rules
- 1991Constructing neural trading systems from facts to walk-forward
- 1992Walk-forward evaluation of stop overlays on average crossovers
- 1992Audit mechanical system tests for fills and regimes
- 1993Walk-forward evaluation of monthly yield and real-rate forecasts
- 1993Constructing walk-forward forecasts with linear and moving-average baselines
- 1993Walk-forward hybrid rules for intermarket forecast stacks
- 1994Neural-net construction as a mechanical trading-system problem
- 1995Constructing an intermarket neural net trading system
- 1996Weekly market breadth as one procedure on an unused window
- 1996Walk-forward evaluation of gold-index bond-fund rules
- 1996Evaluating weekday-in-month filters for index day trades
- 1996Require both a trend filter and a cycle oscillator before entry
- 1997Walk-forward windows as a diagnostic of parameter instability
- 1997Walk-forward validation of a market-breadth timing rule
- 1997Sunspot spikes and walk-forward evaluation of an adaptive cycle rule
- 1997A walk-forward check for bond-breadth timing
- 1998Walk-forward audit of regression trend forecasts
- 1998Evaluating a cubic least-squares currency trend with walk-forward segments
- 1998Walk-forward evaluation of recursive yen trend signals
- 1999Personal system design under crowd psychology
- 1999Walk-forward evaluation of a polynomial price forecast
- 2000Walk-forward optimization of regression-slope-angle rules
- 2001Construct a winter seasonal window as one procedure
- 2001Inspectable rules when system write-ups dry up
- 2002Evaluating mechanical systems before position sizing
- 2003Walk-forward construction of rule-based market-position systems
- 2007Evaluating metal seasonal windows across regimes
- 2007Evaluating mechanical timing systems against hold baselines
- 2011Walk-forward reoptimization as a system design gate
- 2011Evaluate generated systems on holdouts, then add stops
- 2012Walk-forward analysis and out-of-sample tests for a mechanical trading system
- 2012Personality-first trading system design
- 2012Scorecard-first mechanical system construction
- 2012Constructing an advancer-decliner moving average for market breadth
- 2012Formula search as mechanical system construction
- 2013Identity-first system construction
- 2013Construct a swing system from bias rules to walk-forward
- 2014Evaluate mechanical stock systems with stops and walk-forward
- 2014Walk-forward velocity filters on noisy intraday trends
- 2015Event-predictability versus position-constrained rules
- 2015Constructing mechanical systems for walk-forward tests
- 2016When a tested system must be retired
- 2016Walk-forward metric filters and chance-level checks for selected inputs
- 2018Evaluate mechanical trading systems without catalog rankings
- 2019Phased stop construction from entry risk to trailing exit
- 2020Stockpiling simple ideas for mechanical system construction
- 2020A pretty first draft is not a walk-forward waiver