Skip to main content
Track Walk-forward analysis
10 / 50
Library

1994issue C121-11

Neural-net construction as a mechanical trading-system problem

This first of two parts treats a neural network as software that maps inputs to an output, then frames training as system optimization. Architecture, weight search, and pre-market mapping checks are locked so entry, exit, and abstention can stay one mechanical trading system.

  • A neural network maps independent inputs to a dependent output, including linear or nonlinear relationships learned from representative samples and later applied to new inputs.
  • Training is an optimization search that reduces the difference between desired and actual output by changing connection strengths and other internal characteristics.
  • Four search procedures are distinguished: exhaustive enumeration, stochastic retention of improving random guesses, gradient descent, and genetic algorithms that combine crossover with mutation.
  • Architecture was selected automatically, and the software was checked on known mapping problems before market use. Trading-system verification is reserved for the sequel.
Entries in this reading3 entries

A mapping from inputs to an output

The archive presents a neural network as software that maps independent inputs to a dependent output. The learned relationship may be linear or nonlinear. It is taken from representative samples and later applied to new inputs.

This installment is the first of two parts. It covers network definition, optimization methods, and software design. Buy and sell rules, data preparation, and a method for verifying trading-system performance are held for the sequel.

How a node computes its result

Each network node sums incoming signals plus an optional bias. It then applies a nonlinear transfer function, such as a sigmoid, a Gaussian, or a sine, before passing the result onward. The described networks end at a single output node.

Training as system optimization

Training is framed as an optimization search. The search reduces the difference between desired and actual output by changing connection strengths and other internal characteristics. The archive compares that search to least-squares curve fitting.

Four optimization procedures are distinguished. Exhaustive enumeration tries every candidate. Stochastic search keeps random guesses that improve the result. Gradient descent follows the error slope. Genetic algorithms combine crossover with mutation.

Gradient descent is said to reach a global minimum quickly when the error surface is smoothly concave. Local minima can still trap the search away from that minimum.

Stochastic weights and automatic architecture

The software used stochastic weight search instead of gradient descent. It kept randomly chosen weights that reduced output error, shrank the sampling range as error fell, and allowed transfer functions with zero slope or discontinuous jumps.

Network architecture, including layer count, node count, transfer-function mix, and bias use, was selected automatically. Unattended genetic-algorithm trials tested a small number of internal layers and mixed transfer functions. A complexity penalty was used to limit overfitting.

Checks before market use

Before market use, the software was checked on exclusive-or, circle area, trigonometric and polynomial maps, sunspot and Canadian lynx series, and a large input matrix in which only a few columns determined the output.

What this part leaves for the sequel

The sequel is reserved for data preprocessing, probability-based buy and sell rules, and a method for verifying trading-system performance. Editorial: that later verification step is where Walk-forward analysis would complete the single Mechanical trading system procedure. This part does not supply those rules or that verification.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
10 of 50 in the Walk-forward analysis track
19951-8 pp.Next on Walk-forward analysisConstructing an intermarket neural net trading systemDaily futures histories trained the network, while interpolated ticks were reserved for later hypothetical buy and sell tests.
All readings on this track · 50 readings
  1. 1990Three-window walk-forward system evaluation
  2. 1990Building the construction layer of a mechanical trading system
  3. 1991Constructing walk-forward neural trading rules
  4. 1991Constructing neural trading systems from facts to walk-forward
  5. 1992Walk-forward evaluation of stop overlays on average crossovers
  6. 1992Audit mechanical system tests for fills and regimes
  7. 1993Walk-forward evaluation of monthly yield and real-rate forecasts
  8. 1993Constructing walk-forward forecasts with linear and moving-average baselines
  9. 1993Walk-forward hybrid rules for intermarket forecast stacks
  10. 1994Neural-net construction as a mechanical trading-system problem
  11. 1995Constructing an intermarket neural net trading system
  12. 1996Weekly market breadth as one procedure on an unused window
  13. 1996Walk-forward evaluation of gold-index bond-fund rules
  14. 1996Evaluating weekday-in-month filters for index day trades
  15. 1996Require both a trend filter and a cycle oscillator before entry
  16. 1997Walk-forward windows as a diagnostic of parameter instability
  17. 1997Walk-forward validation of a market-breadth timing rule
  18. 1997Sunspot spikes and walk-forward evaluation of an adaptive cycle rule
  19. 1997A walk-forward check for bond-breadth timing
  20. 1998Walk-forward audit of regression trend forecasts
  21. 1998Evaluating a cubic least-squares currency trend with walk-forward segments
  22. 1998Walk-forward evaluation of recursive yen trend signals
  23. 1999Personal system design under crowd psychology
  24. 1999Walk-forward evaluation of a polynomial price forecast
  25. 2000Walk-forward optimization of regression-slope-angle rules
  26. 2001Construct a winter seasonal window as one procedure
  27. 2001Inspectable rules when system write-ups dry up
  28. 2002Evaluating mechanical systems before position sizing
  29. 2003Walk-forward construction of rule-based market-position systems
  30. 2007Evaluating metal seasonal windows across regimes
  31. 2007Evaluating mechanical timing systems against hold baselines
  32. 2011Walk-forward reoptimization as a system design gate
  33. 2011Evaluate generated systems on holdouts, then add stops
  34. 2012Walk-forward analysis and out-of-sample tests for a mechanical trading system
  35. 2012Personality-first trading system design
  36. 2012Scorecard-first mechanical system construction
  37. 2012Constructing an advancer-decliner moving average for market breadth
  38. 2012Formula search as mechanical system construction
  39. 2013Identity-first system construction
  40. 2013Construct a swing system from bias rules to walk-forward
  41. 2014Evaluate mechanical stock systems with stops and walk-forward
  42. 2014Walk-forward velocity filters on noisy intraday trends
  43. 2015Event-predictability versus position-constrained rules
  44. 2015Constructing mechanical systems for walk-forward tests
  45. 2016When a tested system must be retired
  46. 2016Walk-forward metric filters and chance-level checks for selected inputs
  47. 2018Evaluate mechanical trading systems without catalog rankings
  48. 2019Phased stop construction from entry risk to trailing exit
  49. 2020Stockpiling simple ideas for mechanical system construction
  50. 2020A pretty first draft is not a walk-forward waiver
All 95 readings tagged Walk-forward analysis
Also on Walk-forward analysis5 readings