TradingSutra

Algorithmic trading for beginners: what automation can and cannot do

"Let the robot trade for you" is an attractive idea. Algorithmic trading – using computer programs to follow trading rules – is a genuine and widely used approach. But automation is a tool for executing a strategy, not a source of profit in itself.

What automation can do

What it cannot do

The path from idea to automated system

  1. Define rules precisely. Every condition must be unambiguous: "price closes above the 20-period high" rather than "strong breakout".
  2. Backtest carefully. Include realistic costs and slippage, use enough data, and avoid peeking at future data.
  3. Watch for overfitting. Tuning parameters until a backtest looks perfect usually produces a strategy that fits past noise. Fewer rules and robust results across different periods are good signs.
  4. Forward test. Run the system on a demo or with minimal size and compare live results with the backtest.
  5. Monitor and maintain. Track performance, log errors, and have a plan for switching the system off.

Common pitfalls

Common mistakes

  • Overfitting: dozens of optimised parameters that look perfect on past data.
  • Ignoring costs: many high-frequency ideas look profitable until spreads and fees are included.
  • Too little data: a few dozen trades cannot confirm an edge. See the sample size lab.
  • Buying "black box" systems with unverifiable performance claims.
  • No kill switch: no rule for when to stop the system.

Where to start

Begin with a simple, clearly defined manual strategy and journal it carefully. If it shows a positive expectancy over a meaningful sample, automating parts of it – alerts, position sizing, order placement – is a natural next step before full automation.

Key takeaways

  • Automation executes rules; it does not create an edge.
  • Precise rules, realistic backtests, forward testing and monitoring are essential.
  • Overfitting and ignored costs are the most common reasons automated strategies fail live.
Exit mobile version