A great backtest tells you that an idea might work. It does not tell you whether the system built around that idea will work on a Tuesday morning when the data feed lags, the broker returns an order status nobody planned for, and the market is behaving differently from the years you tested on. That gap between research and production is where most of the real work in algorithmic trading lives, and it is the part that gets the least attention.
I have spent a good part of the last few years building and running live trading systems. The lesson I keep relearning is not about signals. It is that the backtest is the cheapest, most forgiving stage of the whole journey, and the confidence it produces is often borrowed against problems you have not met yet.
What a Backtest Quietly Assumes
Every backtest makes assumptions, and most of them are invisible until you go live. It assumes your orders fill at the price the model saw. It assumes the data it read is the data you would have had at that moment. It assumes the market in the test window is the market you will trade. A Sharpe ratio above 1.5 and a smooth equity curve can sit on top of all three assumptions without any of them being tested.
Fills are the obvious one. A limit order at the model's price is not a fill. In options especially, the spread on the exit can be wider than the edge you were trying to capture. Slippage that looks small per trade becomes large across hundreds of trades.
Data is the subtle one. In research, prices arrive clean, adjusted and complete. In production, they arrive late, sometimes twice, sometimes not at all. One thing that has caught me more than once is the meaning of a timestamp: whether it records when the exchange or vendor took the snapshot, or when your system actually received it. Those two can differ by more than you would think during a bad stretch, and a backtest built on one while the live system runs on the other will behave differently for reasons that are hard to see.
Regime is the slow one. A strategy developed on a few years of one kind of market can look excellent on paper while its edge is tied to that market's character rather than to anything lasting. When the character changes, the strategy does not just do worse. It can do the opposite of what the model expects.
The Plumbing Is the Product
It is tempting to spend months on signal research and then give the execution layer a couple of weeks. In my experience that ratio is almost always wrong.
Production systems have to handle things a research notebook never sees. What happens when the broker API returns an ambiguous order status? What happens when the feed goes quiet for ninety seconds in a volatile session? What happens when a position is partly filled and your risk logic now holds an exposure it never planned for? What happens when a broker or exchange changes an API field and your requests start failing at the start of a trading day? None of these are rare edge cases if you run long enough. Each one forces a decision the backtest never had to make.
The rules have changed too. Under SEBI's retail algo framework (the circular of 4 February 2025, fully in force from 1 April 2026), algos reach retail clients through brokers and exchange-approved providers. That makes the plumbing, how orders are tagged, routed and controlled, part of the design from day one, not an afterthought.
Treat Going Live as an Experiment
The approach I trust most now is to treat the first live deployment as data collection, not as a profit exercise. Small size, sometimes absurdly small. The questions are mechanical. Does the order go out when the signal fires? Does the fill come back near the expected price? Does the sizing logic do what it should? Does the system recover when something upstream breaks?
A few habits follow from that:
- Monitor before you add. Before a second strategy or a new signal, make sure you can see exactly what the first one is doing in real time, with alerts that fire when something is off rather than a log you read the next morning.
- Test at production cadence. A timer or holding rule that works in a fast replay can fail at the real spacing of a trading day. If the live system acts every hour, test it at every hour.
- Keep paper and live apart. Paper results and live results answer different questions. Mix them in one record and you will fool yourself, and anyone you show it to.
- Write down what would make you stop. Decide in advance what drawdown or behaviour means the live system is not the system you tested.
A Backtest Is a Hypothesis
A well built backtest is a reasonable hypothesis. It is still a hypothesis. The trouble starts when it gets treated as proof, because proof does not need monitoring, small sizing or a stop rule. A little productive scepticism about your own research is what makes you ready when live results drift away from the chart.
Better tooling has made it easier than ever to produce a convincing backtest quickly. That is a real change, and mostly a good one. But it has not shrunk the distance between research and production. If anything, it lets people arrive at the start line faster and more confident. The backtest is where the work begins.