OptionDesk

Ten common options backtesting mistakes, and the screen that catches each

Common backtesting mistakes: one window, costs off, profit without drawdown, wrong stop type, ignored expiry changes. Ten errors and where OptionDesk flags them

Updated 2026-11-28 · 5 min read

On this page
  1. 1. Testing one window and calling it settled
  2. 2. Turning costs off to "see the strategy"
  3. 3. Reading profit without drawdown
  4. 4. Trusting closed-trade drawdown as the worst you would feel
  5. 5. Using the wrong kind of stop for the feature you want
  6. 6. Applying one stop to every structure
  7. 7. Tuning until it looks good
  8. 8. Ignoring expiry and lot-size regimes
  9. 9. Not reading what was skipped
  10. 10. Treating a high win rate as safety
  11. Next step

Most backtests that fail do so for a short list of reasons, and most of them are visible on the results screen if you know where to look. This page lists ten, with the number or card that exposes each.

Projected, not advice. The figures below are hypothetical results from archived NSE data. They illustrate how a mistake shows up, and are not indicative of future results.

1. Testing one window and calling it settled

A window is one market mood. The base example on these guides, a NIFTY short strangle two strikes either side of the money over 1 Jan to 30 Apr 2025, made +₹34,994 over 81 sessions. By month the same trades were +₹29,395, +₹13,845, −₹9,887 and +₹1,641.

Screen that shows it: the P&L by month card. Fix: widen the dates, or run several separate windows.

2. Turning costs off to "see the strategy"

In that run friction took about ₹16,700 of a ₹51,672 frictionless result, roughly a third. Costs also change which trades occur. A slippage-adjusted entry moves the level a percentage stop is measured from, so different minutes trigger it. You cannot run gross and subtract later. See costs and slippage.

Screen that shows it: the headline says "Gross P&L (no costs)" when costs are off.

3. Reading profit without drawdown

The short straddle in the same window made +₹16,885 and had a closed-trade drawdown of −₹35,975, more than twice the profit. Net P&L alone said "profitable". The pair said the account needed to survive a deep trough to collect it.

Screen that shows it: Max drawdown beside Net P&L. Fix: always read both, then the worst intraday MTM.

4. Trusting closed-trade drawdown as the worst you would feel

Max drawdown counts closed trades. The same strangle with no stop reported a drawdown of −₹27,407 but a worst intraday MTM of −₹25,365 in a single position, the figure your margin responds to. With a 30% position stop the worst intraday MTM was −₹7,475.

Screen that shows it: Worst intraday MTM in the secondary strip.

5. Using the wrong kind of stop for the feature you want

Re-entry, trailing and move-SL-to-cost fire off a leg's own stop. Set a 30% position stop instead and they never run, with no error. A run can look fine and test nothing you intended.

Screen that shows it: How trades ended. If no exit reads BY LEG, no leg rule fired. See stop loss and target.

6. Applying one stop to every structure

The same 30% position stop that left the strangle working fired on 71 of 81 sessions on an iron condor with shorts one strike out and longs three out, because a defined-risk structure's own maximum loss is small next to its intraday swings. The run showed a 7.4% win rate and a −₹1,10,492 result. The rule was sized for a different structure.

Screen that shows it: How trades ended, mostly STOP.

7. Tuning until it looks good

Try twenty strike distances on one window and keep the best, and the best is partly luck. The signature is parameter instability: the winner moves when the window moves.

Screen that shows it: walk-forward's "Did each parameter stay put?". See walk-forward. Walk-forward runs saved indicator strategies, so for a time-based rule the equivalent is running separate windows yourself.

8. Ignoring expiry and lot-size regimes

Weekly expiries on BankNifty, FinNifty and MidcpNifty were discontinued in November 2024, and NIFTY's weekly expiry remains. A BankNifty weekly leg in a 2025 window resolves to the nearest monthly, and the result header says so. Lot sizes changed over time as well, which the header lists as "lot X then Y". Compare windows only after reading both.

Screen that shows it: the run header's expiry note and lot sizes.

9. Not reading what was skipped

Sessions with no candles for every leg are skipped and listed. A leg that leaves the ATM±10 band on a big move drops out, and big-move days are where short structures lose most, so skips tend to flatter. Positions closed early as NO DATA carry the same bias.

Screen that shows it: the coverage line and the skipped count.

10. Treating a high win rate as safety

A win rate of 51.9% over 81 trades carried a 95% interval of 41.1% to 62.4%. Removing the stop in the same window raised the win rate to 69.1% and also made the worst loss bigger. Win rate moves for reasons unrelated to edge.

Screen that shows it: the interval under Win rate.

A common misconception. "If it backtests well and I add costs, it will match live." Costs are the part that can be modelled. Tax, margin shortfall, rejected orders, market impact and your own decisions are not, and that list is printed under every result.

Next step

Take your latest run at /backtest and check it against these ten, starting with the exit mix. Then read how to tell whether a result is trustworthy.

Common questions

What is the most common mistake in options backtesting?
Treating one profitable window as a verdict. A few months is one market mood, and in a hypothetical NIFTY run over 81 sessions the same strategy made +₹29,395 in January and −₹9,887 in March. A single window cannot show which one is typical, so test more than one and read the monthly card.
Why do backtests look better than live trading?
Several real costs and frictions run in one direction and are only partly modelled: slippage on wide or thin strikes, tax, margin shortfall, rejected orders, and your own decisions under pressure. OptionDesk models brokerage, statutory charges and slippage and states what it does not model, but no backtest removes the gap.
Is it a mistake to turn costs off in a backtest?
Yes, because it measures a market with no spread and no tax. In one hypothetical NIFTY strangle run over 81 sessions, friction took about 32% of the frictionless result. Costs also change which trades happen, because slippage shifts the entry price a percentage stop is measured from. This result is not indicative of future results.
How do I know if I have overfitted a backtest?
If you tried many parameter values and kept the best, the best is partly noise. The tell is instability: the winning value moves when you shift the window. Walk-forward testing scores each tuned choice on data it never saw and reports how much of the in-sample result carried over.
Does a high win rate mean a good strategy?
No. Selling options produces high win rates by construction, so read it beside expectancy, profit factor, worst trade and the 95% interval the screen prints under the win rate. In a hypothetical 81-trade run a 51.9% win rate carried an interval of 41.1% to 62.4%.
Do expiry and lot-size changes affect a long backtest?
Yes. Weekly expiries on BankNifty, FinNifty and MidcpNifty were discontinued in November 2024, so a weekly leg on those indices resolves to the nearest monthly after that point, and the result says so. Lot sizes also changed over time, and OptionDesk sizes every trade at today's lot size, so every period is on the same basis.

Disclosures

  • Not investment advice. OptionDesk provides tools, analytics, backtesting and education for NSE F&O only. It is not a SEBI-registered Investment Adviser or Research Analyst, and does not provide investment advice, buy/sell calls, tips or trade execution. You place every order yourself, through your own broker.
  • Projected, not promised. Every projected figure — payoffs, max profit/loss, probability of profit, target-date P&L and similar estimates — is “projected, not advice.” Backtested and simulated results are hypothetical, do not represent actual trading, and are not indicative of future results.
  • Delayed market data. Market data shown on OptionDesk is delayed by approximately one minute — it is not a live feed. It is provided for analysis and education only, and must not be relied on for time-sensitive execution.
  • F&O risk. Trading in futures & options carries a high risk of loss and is not suitable for every investor. Consider your objectives and risk tolerance, and seek independent advice where appropriate.

More in How the engine works