Skip to main content

How to Read Backtest Results

Your backtest is done. Now for the real question: is this strategy worth trading?

The results page answers that in six sections, one tab each. To show you how to read them, we built a sample option-selling strategy on NIFTY and backtested it from 30 Nov 2025 to 30 Nov 2026. Every number below comes from that backtest.

The results page at a glance​

Click a card to jump to that section.

Before you scroll: the filter row​

The filter row sits above the tabs. Change anything here and the results update straight away, with no need to run the backtest again.

Backtest Result header with the Weekdays and DTE filters, the Taxes & Charges, Brokerage and Slippage boxes, Margin Estimate non expiry at ₹2,06,480, VIX Range 0 to 150, and the section tabs below

Costs. Tick Taxes & Charges, Brokerage and Slippage to add real-world costs to your backtest. They're off by default.

Margin Estimate. By default, this shows the margin for non-expiry days. Click it to see the margin for expiry days too. For option sellers, the expiry-day margin is usually higher.

Weekdays, DTE and VIX Range. Use these to keep only some trades and see how the strategy does in each case.

FilterWhat it doesAsk yourself
WeekdaysClick a day (M T W Th F Sa Su) to leave it out."Is one day of the week dragging the results down?"
DTEKeeps only trades taken a set number of trading days before expiry. 0 DTE is expiry day. See the DTE filter."Does it work on expiry day?"
VIX RangeKeeps only trades where India VIX at entry is in your range. Enter From and To, then click Recalculate."Does it break when volatility is high?"

1. Overview: did it make money?​

Two charts, one story. The green Cumulative PnL line is your running profit:

Cumulative PnL chart from 01 Dec 2025 to 30 Nov 2026, rising to about ₹11,000 in early June, falling back, then climbing to about ₹24,000 by late October

The red Drawdown line shows how far below your last high point you are on each day. At zero, you're at a new high:

Drawdown chart for the same period, with its deepest point of about −₹9,000 in June 2026

What you want to see: a green line that climbs steadily, and red dips that are shallow and short.

The metrics panel​

Overview metrics panel showing Overall Profit +₹20,517 (9.94%), Sharpe ratio 1.37, Sortino ratio 1.96, R/MDD 2.29, Win Rate 57.96% and Profit factor 1.26

MetricWhat it tells youExample
Overall ProfitTotal profit or loss over the backtest period+₹20,517 (9.94%)
Sharpe ratioReturn for every unit of daily ups and downs. Higher is better.1.37
Sortino ratioLike Sharpe, but only losing days count as risk. Higher is better.1.96
R/MDDYearly return divided by max drawdown. Higher is better.2.29
Annualised volatilityHow much daily P&L swings, scaled to a year. Lower is smoother.7.33%
Max drawdownThe biggest fall from a high point−₹9,032
Win Rate / Loss RateThe share of trades that made or lost money57.96% / 42.04%
Avg Profit on Winning Trades / Avg Loss on Losing TradesThe size of an average win and an average loss+₹704 / −₹771
Max Profit / Max Loss in Single TradeThe best and the worst trade+₹3,806 / −₹2,174
Avg Profit per tradeOverall Profit divided by the number of trades+₹84
Reward to risk ratioAverage win divided by average loss0.91
Profit factorAll wins divided by all losses. Above 1 means profitable.1.26
Expectancy ratioExpected result per trade, measured against the average loss. Above 0 means an edge.0.11
No. of EntriesThe number of trades taken245
Max Win Streak / Max Losing Streak (trades)The longest run of wins or losses in a row9 / 4

In/Out sample: does it hold up on new data?​

Tweak a strategy enough and it'll look perfect on the past. The In/Out sample split checks whether it still works on data it wasn't tuned on.

  1. Turn on the In/Out sample toggle, at the top right of the metrics panel.
  2. Pick a Split date.
  3. Click Calculate.

Trades before the date are the In Sample; trades after it are the Out Sample. Every metric is shown for both, side by side.

In/Out sample turned on with Split date 18/09/2026: In Sample Overall Profit +₹18,577 and Profit factor 1.29; Out Sample Overall Profit +₹1,940 and Profit factor 1.12

  • ✅ Healthy: the Out Sample is a little worse, but still profitable. That's our sample strategy: its profit factor slips from 1.29 to 1.12.
  • ⚠️ Warning: the Out Sample turns into a loss, or its profit factor drops below 1. The strategy may be fitted to the past.
tip

Keep at least 50–100 trades in the Out Sample. With fewer, a good result could just be luck.

2. Year-wise Returns: which months worked?​

A month-by-month report card. Green months made money, red months lost it. Above the grid you'll find the Best Month, Worst Month and Avg monthly result, and the columns on the right sum up each year.

Year-wise Returns grid for 2025 and 2026, with Best Month +₹7,189 (Sep 2026), Worst Month −₹5,561 (Jun 2026) and Avg monthly result +₹1,710

Dates in the Days for MDD column are day first (DD/MM/YYYY).

3. Daily Returns: what does a normal day look like?​

One bar per trading day: green for a profit, red for a loss. The dashed lines mark your average profit and average loss, so the unusual days stand out.

Daily Returns chart from Dec 2025 to Nov 2026, with dashed lines for Avg. Profit +₹704.04 and Avg. Loss −₹771.42, Max profit in a single day +₹3,806 and Max loss in a single day −₹2,174

Watch for clusters of red bars. A run of losing days is a drawdown in the making.

4. Trade-wise P&L distribution: how are wins and losses spread?​

Each bar counts how many trades ended in a ₹ range. Averages hide the shape of your results; this chart shows it.

Trade-wise P&L distribution histogram, with most trades between −₹1,000 and +₹1,500, nothing below about −₹2,500, and two trades near +₹3,500

If you see…It usually means…
A sharp cut-off on the leftStop-losses are doing their job. Our sample strategy never loses much more than ₹2,500 on a trade.
A long tail on the leftRare, big losses that can wipe out weeks of small wins. Common in option selling without stop-losses.
A long tail on the rightA few big winners paying for many small losses, as in trend-following strategies.

5. Drawdown Analysis: how bad did it get?​

A drawdown starts when your running P&L drops below its last high and ends when it climbs back above it. This section answers the gut-check question: could you have lived through the bad stretches?

Drawdown Analysis section showing Max Drawdown −₹9,032, Duration of Max Drawdown 21 days, 15 drawdown events and Recovery time 50 days, with the Monte Carlo Drawdown slider set to 95 below

MetricWhat it tells youExample
Max DrawdownThe deepest fall from a high point−₹9,032
Average drawdownThe average of the lowest points of all drawdowns−₹2,736
Average depthThe average distance below the high, across all days in a drawdown−₹2,780
Duration of Max DrawdownDays from the high to the lowest point of the worst drawdown21
Max trades in any DrawdownThe most trades taken in a single drawdown49
No. of Drawdown eventsHow many separate drawdowns there were15
Average durationAverage days from the start of a drawdown to recovery21 days
Average time to troughAverage days from the high to the lowest point11 days
Recovery timeDays from the lowest point of the worst drawdown back to the old high50 days
R/MDDYearly return divided by max drawdown2.29

Monte Carlo: how bad could it get?​

Your backtest is just one order of trades. Shuffle them, and the losing streaks could bunch up into a deeper drawdown. Monte Carlo shows how deep.

  1. Pick a percentile on the slider. The default is 95.
  2. Click Run 10000 Simulations.

AlgoTest shuffles your trades 10,000 times and shows the drawdown at your percentile next to your Historical Max Drawdown. A 95th-percentile result of −₹15,000, for example, means 95% of the shuffles had a drawdown no worse than ₹15,000.

tip

If the Monte Carlo number is much bigger than your historical max drawdown, plan your capital around the Monte Carlo number.

For more, see Monte Carlo Drawdown.

Worst drawdown events​

Click Worst drawdown events to see the deepest drawdowns, worst first, with their start, lowest point (Trough date) and recovery. A drawdown that hasn't ended yet shows Not recovered.

Worst drawdown events table, led by the drawdown that started on 29 May 26, hit its trough on 18 Jun 26 and recovered on 07 Aug 26, with a depth of −₹9,032 and a duration of 71 days

The Duration column counts the whole drawdown, from start to recovery. That's why the worst one shows 71 days here, but only 21 days as Duration of Max Drawdown, which stops at the lowest point.

6. Trade Log: what happened on each trade?​

Every trade, one row each, with its entry, exit, India VIX at entry and total P/L. Click the arrow on a row to see its legs (S = sell, B = buy).

Trade Log with trade 1 expanded, showing a NIFTY 26400 CE leg at +₹1,534 and a NIFTY 26200 PE leg at −₹1,134.25, for a total of +₹399.75

Sort by entry date or P/L, change the number of Rows, or click Export CSV to download the log.

note

Trade P/L includes slippage but not taxes or brokerage, so with those ticked, the log won't add up to Overall Profit.

Your 5-step backtest check-up​

Run through this before you trade any strategy:

#CheckAsk yourself
1Tick all three cost boxesIs it still profitable after costs?
2Profit factor and expectancy ratioIs there an edge? (Above 1 and above 0)
3Max drawdown and Monte CarloCould I sit through the worst stretch?
4In/Out sampleDoes it work on data it wasn't tuned on?
5Year-wise Returns and the filtersDoes it depend on one month, one day or one kind of market?

Next steps​