Strategy Stopped Working: Most Likely Causes
For months a strategy runs just like in the backtest, then the streak breaks: several losses in a row, and the question comes up fast. Has the market changed, do the rules no longer fit, or is something else going on? The strategy stopped working even though nothing in the code changed, and that fact alone tells you nothing about why. If you look for one single explanation and hold onto it, you often check the wrong end first, because a drop in performance almost always has several distinct, possible causes behind it. This article separates them: a shift in market regime, a jump in volatility, a different contract variant in futures, and real overfitting that only shows up when you compare in-sample and out-of-sample results. At the end you'll see what these checks can tell you and what they can't.
Strategy stopped working: what strategy decay actually means
Strategy decay describes the case where a trading strategy performs worse on new, unseen data than on the data it was built or tested on. Two paths lead there: either the strategy was fitted too closely to the past during development, meaning overfitting, or market conditions have changed since development. You can see this difference by comparing in-sample and out-of-sample data, or by comparing the backtest to live trading. One thing holds true here: a drop in performance doesn't automatically mean the strategy is broken, and it rarely has just one cause. Precisely because the possible reasons feel so different, sometimes like a market problem, sometimes like a flaw in your own rules, it pays to go through them one by one instead of immediately tweaking the strategy itself.

The following four sections go through these causes one by one, from changes in the market to weaknesses that were already visible while the strategy was being built.
The market regime shift that standard indicators often show too late
A strategy optimized for a specific market regime, say a strong trend phase or a calm sideways move, tends to perform worse once conditions change. That can explain why a strategy that was positive in the backtest suddenly starts losing, without any change to the code. Here's the tricky part: standard indicators often only show such a regime shift after noticeable losses have already piled up, not before. So if you only notice the regime has changed by looking at the indicator, you've usually already taken the first hit. This mainly affects strategies that were tailored to a specific market regime during development and that don't use any ongoing, statistical regime detection. Regime detection doesn't prevent future losses by itself, and a regime shift doesn't automatically mean the strategy itself is flawed, it more likely means the context it operates in has changed. A separate article gives an overview of different types of robustness tests for trading strategies.
Volatility jumps and a stop loss that's too tight
A second, related case: the strategy uses a stop loss that fit the volatility during the development phase. If volatility rises well above that level, say a move that usually takes a day happens within an hour, the strategy may no longer react as expected. That's not a bug in the code. It shows a gap between the market conditions the strategy was built for and the ones currently in play. Simply tightening or loosening the stop loss doesn't fix that by itself, it just shifts the point where the strategy reacts.
Different contract variant, different market: futures compared
Futures strategies add another wrinkle: a strategy that performs well on the full-size contract of a commodity can produce different results on the E-mini or micro variant of the same underlying. These variants often differ in tick size and tend to be less liquid, which increases slippage on larger market orders. So switching between contract variants doesn't just change the contract size, tick size and liquidity are affected too. Results from one contract variant can't be carried over to another without testing it again.
Spotting overfitting: what the out-of-sample ratio shows
The fourth possible cause lies in development itself: overfitting, meaning a strategy fitted too closely to the past. StrategyQuant X offers metrics for this that express the ratio between out-of-sample and in-sample performance, in other words how much performance drops outside the data the strategy was optimized on. A strategy that performs similarly in both periods counts as more robust by this measure. This always assumes that both an in-sample and an out-of-sample period exist for the strategy; without that comparison, the metric can't even be calculated. A good ratio is not proof of future profits though, it only shows that behavior doesn't differ much between the two periods tested. A separate article explains the difference between in-sample and out-of-sample data in more detail.

What StrategyQuant X already filters out while building a strategy
Part of this problem can be narrowed down before the first live trade. During automatic strategy generation, StrategyQuant X can detect common issues and flag them, which makes it easier to weed out weaker candidates before they go through further testing. A second step during building also automatically discards any candidate that fails global filters, for instance because it produces too few trades or its net profit falls below a set threshold, say 1,000 USD in an example configuration. The exact thresholds depend on how the filters are set. Both mechanisms run during the build phase, and neither promises success in live trading: passing these checks says nothing about whether a strategy will perform the same way live, and no automatic check catches every possible problem. What they mainly do is filter out the obviously weak candidates early, before any time goes into deeper testing.

What these checks can show and what they can't
The four causes in this article can each be checked individually, but none of them on its own automatically explains why a strategy suddenly stops working. A good out-of-sample ratio doesn't show that the strategy will keep working tomorrow, detecting a regime change doesn't prevent further losses, and a filter passed during building says nothing about live trading. Every check described here is a snapshot, taken while building the strategy or while looking at the out-of-sample test, not an ongoing background comparison. In practice that means regular, deliberate review stays part of the work, not a box you check once and forget. If you want to compare notes with other traders, there's room for that in the QANTERIS Community.
This article is for education only and is not investment advice. Past results, including backtests, do not guarantee future results. Trading financial instruments involves risk, and you can lose money.
This article is for education only and is not investment advice. Past results do not guarantee future results.
How do you do it? Share it in the community. Free, in your language.
Sign up free