REPLYOPSAI RESEARCH NOTE
FAILURE ANALYSIS

Why AI Trading Bots Fail

Machine learning can improve prediction while the trading system still loses money. Prediction quality and tradable edge are not the same objective.

Targets can be wrong

A model can learn its target accurately while that target has little value after fees, position sizing and exits. Target design must connect to the actual decision process.

Leakage creates false confidence

If future information enters features, transformations or validation, historical metrics can become unrealistically strong. Time ordering must be preserved throughout the pipeline.

Markets are non-stationary

Relationships can weaken or reverse as volatility, liquidity and participant behavior change. Retraining can adapt a model, but frequent retraining does not guarantee a stable edge.

Complexity hides failure

More features and more sophisticated models create more ways to fit historical noise. Compare against a simple reproducible baseline.

Seven failure modes to separate

FAILUREDIAGNOSTIC QUESTION
Weak targetDoes predicting the label create enough economic edge to trade?
Feature leakageCould future information affect an earlier prediction?
OverfittingDoes improvement survive untouched chronological data?
Non-stationarityDoes behavior deteriorate when volatility or market structure changes?
Retraining instabilityDo decisions change radically after each model refresh?
Execution gapDoes predicted edge survive fees, spread and realistic exits?
Risk-policy failureCan sizing or correlated positions overwhelm otherwise useful predictions?

Accuracy can improve while PnL gets worse

A model objective and a trading objective are different functions. Classification accuracy, regression error or another ML score measures the target. Net trading expectancy also depends on when predictions trigger trades, payoff asymmetry, position size, costs and exits.

MODEL SCORE ≠ TRADING EDGE

Evaluate the prediction layer and the trading layer separately. Otherwise a better model metric can hide a worse strategy.

Forward evidence matters

Freeze meaningful versions and observe them on new data.

Read about FreqAI training →