Back to knowledge
Data & research8 min read

Machine learning

Machine learning for trading: a realistic starting point

ML can help with classification, ranking, or regime description, but it does not remove the need for clean data and honest validation.

Start with a narrow decision

A useful first ML task might rank candidate trades, estimate a probability under a fixed setup, or identify when a known strategy should reduce activity. Avoid starting with the vague goal of predicting price; define the decision, horizon, and action before selecting a model.

The model should improve a measurable decision compared with a simple non-ML baseline.

Respect time order

Trading data is sequential. Randomly splitting rows can place information from the future in the training set while evaluating earlier observations. Use time-aware splits, fit transformations on training data only, and preserve the order of decisions.

  • Define labels without using future information in features.
  • Compare with a simple rule-based baseline.
  • Measure performance after costs and decision thresholds.
  • Inspect stability across instruments and market periods.

Keep the model subordinate to risk

An ML score should not bypass position limits, drawdown controls, or execution checks. A model can be uncertain, stale, or out of distribution. Use it as one input to a controlled process, not as permission to increase leverage.

The simplest model that adds stable out-of-sample value is usually a better first step than a complex model that cannot be explained.

Discuss this article

Ask a setup question, share a backtest, or compare notes with other algorithmic traders. Use a display name; your email remains private.

Create an account or sign in above to join the conversation.

Loading discussion…