Comparison

Best Backtesting Platforms in India: A Fair Roundup

A neutral guide to backtesting platforms available in India, the categories they fall into, and the four things to check before you trust any backtest result.

There is no single best backtesting platform in India, because the tools in this category are built to answer visibly different questions. Some test technical trading rules and place the resulting orders. Some give a programmer full control and no data. Some test portfolio rules over fundamental history. This roundup describes the options fairly, names representative products from their public materials, and then spends most of its length on the part that matters more than the choice itself: what separates a backtest you can act on from one that is quietly flattering you.

What a backtest is, and what it is not

A backtest applies rules to historical data and reports how a portfolio following those rules would have behaved. That is genuinely useful. It turns a vague belief into something specific enough to be wrong, it exposes how much pain a rule would have caused along the way, and it forces you to define entry, exit, sizing and rebalancing rather than leaving them to mood.

What a backtest is not is a forecast. It is a description of one path through history under assumptions you chose. Change the start date, the cost assumption or the universe and the same rule can look like a different strategy. Our piece on why backtest results do not repeat covers that honestly, and it is worth reading before you fall in love with any equity curve, including one you produced yourself.

The categories available in India

Product details change, so treat everything below as accurate to each company’s public materials at the time of writing and check current sites before deciding anything.

No-code strategy builders tied to a broker. Streak, which sits in the Zerodha ecosystem, and Tradetron are the names most commonly cited in India for building, testing and deploying rules without writing code. The emphasis is on technical signals, order handling and automation, usually across stocks, futures and options on shorter horizons. If your rule is expressed in prices, indicators and time, this is the category built for you, and the fact that the tested rule can then run live is the whole point.

Options and derivatives backtesters. A distinct group focuses on options strategies, where the modelling problem is different: expiry cycles, strike selection, and a data requirement plain equity tools do not meet. AlgoTest is one publicly known example. If you are testing spreads or straddles, a general equity backtester will not serve you well.

Desktop technical analysis software. AmiBroker remains widely used by Indian systematic traders who want speed over a large symbol universe and are comfortable with its scripting language and with sourcing their own data feed. It is an older and more demanding category, but people who invest the time in it tend to stay.

Open-source Python libraries. Backtrader, vectorbt, Zipline and similar libraries give you complete control over the logic and charge nothing for the software. The trade-off is that they supply no data. Everything in the second half of this article becomes your responsibility. For a team with an engineer, that control is a feature. For everyone else it is a project.

Basket and portfolio backtesters. Kalpi includes a portfolio backtester alongside its no-code Basket Builder, and publishes an unusually thorough performance-metrics glossary covering CAGR, drawdown, Sharpe, Sortino, Calmar, Treynor, information ratio, profit factor and rolling returns. Several screening portals also let you test a screen backwards over some window. The question these tools answer is portfolio-shaped rather than trade-shaped: how would this set of holdings, rebalanced on this schedule, have behaved.

Research platforms with fundamental history. This is the layer professional desks work from, where a rule can reference reported earnings, margins, leverage or guidance rather than only price. The hard part here is not the engine. It is the data underneath it.

The four things to check before trusting a backtest

If you only take one thing from this article, take this list. It matters more than which platform you pick.

1. Point-in-time data

The single most common way a backtest overstates a strategy is by letting the test see information that nobody had at the time. Price history is naturally point-in-time, so price-based rules are usually safe. Fundamental history is not. A company reports a quarter weeks after the period ends, then may restate it a year later after an audit adjustment, an accounting change or a reclassification. Most financial databases store the tidy, latest version of the past.

Run a rule like “buy when quarterly margin expands” against that tidy version and the rule is reading numbers that were not available, or not in that form, on the date it claims to have acted. That is lookahead bias, and it is quiet, because nothing errors out. The curve simply looks better than reality would have allowed. This is why point-in-time data matters and why restatements break models.

What to ask a platform: does the backtest use the value as first reported, and does it respect the actual filing date rather than the period end date? If the documentation does not address this, treat fundamental backtest results as indicative rather than settled.

2. Cost modelling

A rule that trades often can look excellent gross and unappealing net. In India the drag is not just brokerage. Securities transaction tax, exchange charges, stamp duty, SEBI turnover fees and GST all sit between the modelled price and the realised one, and they compound with turnover. On top of that sits slippage, the gap between the price on your screen and the price you actually get, plus impact cost when your order is large relative to traded volume.

The honest test is simple: run the same rule at zero cost and at a realistic cost, and see how much of the result survives. Our pieces on transaction costs in backtests and slippage and impact cost set out what to model, and rebalancing frequency and backtest results shows how sharply the answer moves with turnover.

3. Survivorship handling

If your test universe is today’s Nifty 500, you are testing on a list of companies selected partly because they did well enough to still be in it. Every company that was delisted, merged away, collapsed or fell out of the index has been removed from history, and with it most of the bad outcomes. The universe looks healthier than the market ever was.

Handling this properly means reconstructing the universe as it stood on each historical date, including the names that later disappeared. That requires keeping data on dead companies, which costs money and provides no ongoing value, which is precisely why it is often skipped. Survivorship bias in backtests covers the mechanics and how to spot it in someone else’s numbers.

Related and equally boring: corporate actions. Splits, bonuses and rights issues change the price series, and an unadjusted series shows a phantom crash on the ex-date. Any credible platform adjusts for these, but it is worth confirming.

4. Out-of-sample testing

Given enough parameters and enough attempts, anyone can produce a rule that fits the past beautifully and means nothing. That is overfitting, and the defence is procedural: hold data back, tune on one part, test once on a part the rule has never seen. In-sample versus out-of-sample testing is the minimum honest standard, and walk-forward analysis is the stricter version, re-estimating on a rolling basis so every reported result comes from data the rule had not yet met.

The practical warning sign is the number of knobs. A rule with two thresholds that works across many periods is more believable than one with nine parameters that works spectacularly in a single window.

Which category fits whom

If you are testingThe fit is usuallyBecause
Technical rules on short horizonsA no-code builder with broker deploymentSignal, backtest and execution live in one place
Options structuresA dedicated options backtesterExpiry and strike modelling that equity tools do not do
Custom logic with your own dataA Python libraryTotal control, and total responsibility for the data
Portfolio rules and rebalancingA portfolio or basket backtesterThe question is holdings and schedules, not individual trades
Rules that reference fundamentalsA research platform with point-in-time historyRestated history is the failure mode that matters here

Where Altys fits

Altys Labs is an equity research and fundamental analysis platform for Indian stocks (NSE and BSE) and Indian mutual funds, built for professional users: PMS firms, AIFs, family offices and MFDs. It is currently invite-only, in private preview. Its focus, stated as focus and not as any claim of superiority, is the research layer under a rule: India-deep coverage of filings, concall transcripts, management guidance, shareholding, macro series, FII and DII flows and factor scores; point-in-time history; figures linked back to source document, line and date; and screening, modelling, forecasting and backtesting on top. It is not a broker and does not execute, so if your workflow ends with placing an order, a platform in the first category above is doing something Altys does not attempt.

A sane way to choose

Start from the rule you actually want to test. If it is expressed only in prices, most of this article’s warnings do not bind you and a no-code builder will serve you well. If it references anything a company reported, the data question dominates the software question, and you should read a platform’s documentation on restatements, filing dates and delisted companies before you read its marketing. Whichever you choose, judge the output by the checklist in how to read a backtest report rather than by the shape of the curve.

This article is educational. Altys Labs is not a registered research analyst or investment adviser, and nothing here is investment advice or a recommendation to buy, sell, or hold any security.

Frequently asked questions

What is the best backtesting platform in India?

There is no single best one, because the products answer different questions. A no-code tool tied to a broker is right for testing technical trading rules on shorter horizons. A Python library is right if you want full control and can supply your own data. A research platform with point-in-time fundamentals is right if your rule touches earnings, margins or balance-sheet items. Pick for the kind of rule you are testing, not for the longest feature list.

Can you backtest Indian stocks for free?

Yes, up to a point. Several Indian platforms offer limited free backtesting, and open-source Python libraries are free if you bring your own price data. The cost usually shows up in the data rather than the software: clean, corporate-action-adjusted price history and point-in-time fundamental history are the expensive parts, and free datasets often quietly exclude delisted companies.

What makes a backtest trustworthy?

Four things do most of the work. The test should see only what was knowable on each past date, it should include the universe of companies that existed then rather than the ones that survived, it should charge realistic transaction costs and slippage, and the result should hold on data the rule was never tuned on. A backtest missing any of these can look excellent and mean very little.

Do backtesting platforms in India use point-in-time fundamental data?

Price history is naturally point-in-time, so most platforms handle price-based rules honestly. Fundamental history is different, because companies restate and reclassify, and many databases store only the latest revised version of the past. If a platform does not say how it handles restatements and filing dates, treat fundamental backtest results as indicative rather than settled.