On this page
"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
- Execute rules exactly, without hesitation, fear or revenge trading.
- Monitor many markets at once, around the clock.
- Test ideas on historical data (backtesting) before risking money.
- React quickly to defined conditions.
What it cannot do
- Create an edge. If the rules do not have positive expectancy, automating them only loses money more efficiently.
- Adapt by itself to changing markets (unless designed to, which adds complexity and risk).
- Remove risk. Programs can malfunction, connections can fail, and markets can behave in ways the rules never considered.
The path from idea to automated system
- Define rules precisely. Every condition must be unambiguous: "price closes above the 20-period high" rather than "strong breakout".
- Backtest carefully. Include realistic costs and slippage, use enough data, and avoid peeking at future data.
- 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.
- Forward test. Run the system on a demo or with minimal size and compare live results with the backtest.
- 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.