UTC

Sign up free

Great Backtest, Losing Live? 5 Traps Every Quant Beginner Should Know

Overfitting, look-ahead bias, fees and slippage, survivorship bias, regime shifts: why backtest winners lose live, and how to avoid it on AI quant platforms.

1. Overfitting: mistaking noise for patterns

Adjusting parameters again and again until the historical curve looks perfect essentially makes the strategy “memorize” the answers to past data. AI-generated strategies have the same problem. What to do: use round, common parameter values; split your data into two parts, tune parameters on the first part and check them on the second (out-of-sample testing).

You can ask the AI like this

Optimize the parameters on 2022–2024 data, then run an out-of-sample test on data from 2025 to today, and report the max drawdown and Sharpe ratio for each period separately.

2. Look-ahead bias: peeking at the answers

For example, using a candle’s closing price to decide to buy at that same candle’s open. That works in a backtest but is impossible in reality. Check that every signal in your strategy only uses data that was already known before the moment the order is placed.

3. Ignoring fees and slippage

A high-frequency strategy that makes only a few tenths of a percent per trade can have all its profit eaten by fees and slippage. Make sure the backtest includes realistic fees; the more often you trade, the more conservatively you should estimate costs.

4. Market regime changes

Trend strategies get stopped out again and again in sideways markets, and mean-reversion strategies keep averaging down and losing more in one-way markets. There is no all-weather strategy. The key is knowing in which conditions your strategy fails, and setting stop-loss or shutdown conditions accordingly.

5. Paper trading for too short a time

Making money on paper trading for three days proves nothing. Watch for at least two to four weeks and a reasonable number of trades, then go live with a small amount and scale up gradually.

+

Related reading

  1. 01Exchange API Security: What to Set Up Before Connecting Binance or OKX to a Quant PlatformTrading only, withdrawals off, IP whitelist bound, a separate subaccount: four steps that protect your funds.
  2. 02How to Read a Backtest Report: Annualized Return, Max Drawdown and Sharpe Ratio ExplainedDrawdown first, then Sharpe, then returns. Four metrics that help you filter out 90% of “pretty junk”.
  3. 03From Paper Trading to Live: A 10-Point Checklist Before Launching a Quant StrategyGo through these 10 points before going live and you’ll avoid most basic mistakes.