What Algorithmic Trading Is

Algorithmic trading is the execution of trading decisions by software according to a pre-defined set of rules. The ruleset specifies the market conditions under which an order is submitted, the size of the order, and the conditions under which the position is managed or closed. When the conditions are satisfied, the software transmits an order to the exchange or broker; when they are not, it does nothing.

This is a narrow, procedural definition, and it is deliberately narrow. In regulatory and market-structure contexts, the term encompasses everything from institutional execution algorithms (VWAP, TWAP, implementation-shortfall algorithms used by broker-dealers) to high-frequency market-making, statistical arbitrage, and systematic directional strategies. The U.S. Securities and Exchange Commission uses the broader phrase “automated trading systems” to describe any system in which order-generation is performed by computer logic rather than by a human decision-maker in the moment (SEC Division of Trading and Markets, 2014).

Automation is not, in itself, a source of profitability. It is a delivery mechanism. Two properties distinguish an automated strategy from a discretionary one:

  • Deterministic execution. Given identical market inputs, the strategy produces identical orders. There is no mood, fatigue, or conviction variable.
  • Pre-committed rules. Entry, exit, and risk logic are specified before the trade is placed. The rules cannot be revised mid-trade without revising the code.

Whether these properties improve outcomes is an empirical question, not a definitional one. The evidence is discussed in the Systematic vs. Discretionary: The Evidence section below.

The Development Pipeline

A credible systematic strategy is developed in four sequential phases. Each phase is designed to eliminate a specific class of error; skipping a phase leaves that class of error undetected until live capital is exposed to it.

Phase 1: Hypothesis Formation

A strategy begins as a falsifiable claim about market behavior — for example, “in the S&P 500 E-mini, sessions that open above the prior session’s close and fail to make a new high within the first 30 minutes exhibit a statistically significant tendency to close below the open.” The claim must be specific enough to express as code and testable enough to be rejected by data.

Hypotheses typically originate from one of three sources: observation of market microstructure (e.g., known participant behavior around the cash open and close), formal academic literature (e.g., momentum and mean-reversion effects documented across decades of equity and futures data), or systematic examination of historical data for statistical regularities. The first two are more reliable; the third is prone to the data-mining failures discussed below.

Phase 2: In-Sample Backtesting

Backtesting applies the encoded rules to a historical dataset to estimate how the strategy would have performed. A well-constructed backtest provides an initial filter: ideas with no historical edge are rejected before further resources are spent. A poorly constructed backtest produces confident-looking performance numbers that do not survive live trading.

The four principal failure modes are well documented:

  • Overfitting (data-snooping bias). Parameters are tuned until the strategy matches noise in the sample. Bailey, Borwein, López de Prado, and Zhu (2014, Notices of the American Mathematical Society) formalize this as the “probability of backtest overfitting” and demonstrate that, under even modest parameter search, an overfit strategy with zero true expected return can be produced with high probability.
  • Look-ahead bias. The backtest uses information at time t that would not have been available until time t + k (e.g., using a close-of-session value to make an intrasession decision). This silently inflates performance.
  • Transaction-cost omission. Commissions, exchange fees, and slippage are ignored or underestimated. For high-turnover strategies this is often sufficient to convert a gross-profitable backtest into a net-unprofitable live record.
  • Insufficient sample. A strategy tested on a single market regime, a single instrument, or an insufficient number of trades is statistically underpowered. A strategy with 30 backtest trades provides essentially no information about its true expected return.

López de Prado’s subsequent work (Advances in Financial Machine Learning, 2018) argues that published quantitative strategies exhibit systematic Sharpe-ratio inflation precisely because of these failure modes, and proposes the “deflated Sharpe ratio” as a correction for multiple-testing bias.

Data analytics dashboard displaying metrics and visualizations on a dark screen
Backtesting produces data; honest interpretation of that data is where most strategy development fails.

Phase 3: Out-of-Sample and Forward Validation

A backtest that survives the failure modes above is still an in-sample result. The standard practice is to hold out a portion of the historical data — not used in parameter selection — and test the strategy against it. If performance degrades materially between the in-sample and out-of-sample segments, the in-sample result was likely overfit.

Forward validation (sometimes called paper trading or simulated live trading) extends this logic into real time: the strategy runs on incoming market data without capital at risk. The purpose is to detect differences between the historical dataset and live market conditions that a backtest cannot capture — partial fills, data feed quality, exchange rule changes, market-regime shifts, and implementation friction that only manifests in live order flow.

Phase 4: Live Deployment

Live deployment is the first and only phase in which the strategy encounters real transaction costs, real liquidity constraints, and real counterparty behavior. It is also the phase in which the discipline of rule-following is most frequently abandoned: parameters are adjusted, trades are skipped, and systems are disabled in response to drawdowns that were statistically expected.

The operational question during live deployment is whether the system is performing within the statistical envelope predicted by the backtest and forward validation. If it is, the appropriate response is to let it run; if it is not, the appropriate response is a controlled investigation, not an ad-hoc override.

The Execution Layer

Execution — the process by which a strategy’s signals become orders at the exchange — is conceptually separate from signal generation, and most of the practical complexity of automated trading lives here. The execution layer consists of three components:

  1. Market-data ingestion. The system receives a feed of quotes, trades, or bars from an exchange or data vendor. Feed quality (latency, reliability, completeness) directly affects signal accuracy.
  2. Order-management logic. The system translates signals into orders, managing order type (market, limit, stop), size, routing, and position state.
  3. Broker/exchange connectivity. Orders are transmitted to the broker or exchange via an API or FIX connection. Regulatory, risk, and throttling checks typically occur at this layer.

At the retail futures level, execution latency is rarely the binding constraint. A retail directional or swing strategy with a target holding period measured in hours or days is not materially affected by whether a fill arrives in 80 milliseconds or 800 milliseconds. Latency becomes consequential only for strategies whose edge depends on being first to a quote — almost exclusively market-making, statistical arbitrage, and other strategies operating on sub-second horizons. The Budish, Cramton, and Shim (2015) analysis of continuous-time limit-order-book markets formalizes why this is the case.

Property Discretionary Automated
Decision source Human judgment in the moment Pre-committed ruleset
Typical latency Seconds Milliseconds
Consistency across trades Variable Deterministic
Auditability Low (memory-dependent) High (full log of state and orders)
Computer screens displaying code in a dark workspace
Automated execution converts signals into orders through a deterministic pipeline of market-data ingestion, order-management logic, and broker connectivity.

Common Misconceptions

Automation does not eliminate drawdowns. Any strategy with a non-zero position will, at some point, realize losses. A drawdown is not evidence of strategy failure; it is a characteristic of any risk-bearing position. Statistical properties such as maximum drawdown, drawdown duration, and drawdown recovery distribution are estimated in development and monitored in production.

Past performance does not translate to consistent returns. Strategies exhibit regime dependence: a trend-following ruleset that performed well during a persistent trend may perform poorly during a sideways regime, and vice versa for mean-reversion. Regime-sensitivity analysis is a standard component of rigorous backtesting.

Machine learning does not replace model risk. The application of supervised learning and reinforcement-learning methods to trading has expanded the search space of candidate strategies, but the overfitting problem is amplified rather than solved: more flexible model classes are more susceptible to data-snooping, not less. This is the central argument of López de Prado (2018).

Systematic vs. Discretionary: The Evidence

The empirical record comparing systematic and discretionary performance is mixed and highly conditional on the cohort studied. Three datasets are commonly cited:

Retail day-trader performance. Chague, De-Losso, and Giovannetti (2020) analyze the full population of Brazilian equity day traders over 2013–2015 and find that 97% of traders who persisted for more than 300 days lost money, with only 1.1% earning more than the Brazilian minimum wage. An earlier study by Barber, Lee, Liu, and Odean (2014), using Taiwanese data, reported comparable long-run attrition and loss rates. These studies describe a predominantly discretionary retail population, not a systematic one.

CTA and managed-futures performance. The BarclayHedge BTOP50 and similar systematic-CTA indices have historically exhibited low correlation to equity markets and positive performance during equity drawdowns — notably in 2008, when many systematic trend-following CTAs posted double-digit gains while the S&P 500 Total Return Index declined 37%. Whether this represents a persistent structural advantage or a regime-specific outcome remains contested; Baltas and Kosowski (2013) document post-2008 performance degradation in systematic trend-following and attribute it to capacity and crowding effects.

Fund-level attrition. Multiple hedge-fund studies find that systematic funds exhibit lower annual attrition than discretionary funds, although the magnitude of the difference varies by period and methodology. Attrition is a proxy for survivorship rather than returns and should not be interpreted as a performance result.

The most defensible summary is that systematic approaches enforce pre-committed risk rules and produce auditable decision records — structural advantages — while the performance record is conditional on strategy design and market regime. Automation does not convert a strategy with no edge into one with an edge; it executes whatever ruleset is given to it.

For a more detailed comparison, see Algo Trading vs. Manual Trading: What the Data Shows.

Conclusion

Algorithmic trading is an execution methodology, not an investment thesis. Its structural advantages — determinism, auditability, enforceability of risk rules — are real and well documented. Its limitations — model risk, overfitting, regime dependence, operational fragility — are equally real and at least as well documented.

The single most consistent finding across four decades of quantitative-finance literature is that backtest performance systematically overstates live performance, and that this gap is produced by the development process itself rather than by automation. A strategy developed with sound out-of-sample discipline, honest transaction-cost accounting, and explicit regime and operational-risk analysis has a meaningfully higher probability of surviving contact with live markets than one developed under unconstrained in-sample optimization.

Whether any given strategy realizes a positive expected return after costs remains an empirical question, and is not resolved by the decision to automate.