Backtesting Options Strategies: Overfitting, Hidden Biases and Costs
Reviewed by Leon Moyer - Published October 9, 2026 - Last reviewed October 9, 2026
In this lesson
Judge whether an options backtest result can be trusted, by checking it for overfitting, look-ahead bias, survivorship bias and missing trading costs.
Backtesting is applying a strategy's written rules to past market data to see how the trades would have turned out. It is the cheapest test a strategy can get, and also the easiest to fool yourself with, because every number in it is hypothetical.
The SEC's investor bulletin on performance claims warns that back-tested results are hypothetical rather than a record of real trading. This lesson is about reading your own backtest with the same caution.
What can a backtest tell you about an options strategy?
A backtest can answer narrow questions well:
- How bad did it get? The largest loss on one trade, the worst run of losses in a row and the deepest drop from a peak are often more useful than the average result.
- How often did the rules trade? A strategy that triggers twice a year gives you little evidence and a long wait.
A backtest cannot tell you the strategy will work from here. Markets change, and the history you tested was only one path prices could have taken.
Why are options harder to backtest than stocks?
A stock backtest needs one price per day. An options backtest needs a quote for every strike and expiration you might trade:
- Bid and ask, not one price. You buy near the ask and sell near the bid. A test that fills at the midpoint assumes a better price than the market was showing.
- Implied volatility. It rises and falls on its own. A test that models option prices from a fixed volatility misses the swings that decide many option trades.
- Assignment and dividends. A short option can be assigned early, especially around a dividend. Many simple backtests never model it.
- Expiration dates. Weekly expirations, and on some products daily ones, were added over the years, so a strategy built on short-dated expirations may not have been tradable for the whole test period.
Whatever tool or data source you use, check which of these it models before trusting its output.
What is look-ahead bias?
Look-ahead bias is using information in a backtest that you would not have had at the moment of the trade. It creeps in by accident:
- Deciding to enter "today" from today's closing price, then filling the trade at today's open, hours before that close existed.
- Picking strikes from implied volatility data that was published after the close.
The fix is a time stamp on every rule: what you knew, and when you knew it. If the entry signal uses a closing price, the earliest fill is the next session.
What is survivorship bias?
Survivorship bias is testing only on what survived to today. If you test a strategy on the stocks in an index right now, you leave out every company that fell out of it, was acquired or went bankrupt during the test period. Those are often exactly the cases where a bullish options strategy lost the most.
The fix is a list of what was tradable at each date in the test, including the names that later disappeared.
What is overfitting in an options backtest?
Overfitting is tuning rules until they fit the past so closely that they describe noise instead of anything that repeats. Options backtests are especially exposed because every trade has so many dials:
- Too many parameters. Entry signal, strike or delta, days to expiration, profit target, loss exit and a volatility filter. Five settings for each of just five of those dials is 3,125 combinations, and the best of 3,125 can look excellent on any stretch of history by chance alone.
- Curve-fit thresholds. A rule that works at a 47-day average or a 0.23 delta, but not at 40 days or 0.20, has probably found a quirk of the test period.
- Data snooping. Every idea you test on the same history, and every tweak made after seeing results, uses that history up. The hundredth idea tested on one data set proves less than the first.
- Small samples. A rule that fired 15 times can show a great average by luck. Course 3's How Many Trades Do You Need? lesson shows how wide that uncertainty is.
How do you guard against overfitting?
- Write the rules first, and log every try. Fix them before the test, as How to Write Testable Trading Rules You Can Backtest suggests. A winner picked from 200 variants needs a far higher bar than the only rule tested.
- Hold back data. Build the rules on one period, then check them, unchanged, on a later period they were not built on. This is out-of-sample testing. Change the rules after looking at that period and it is no longer out of sample.
- Walk forward. Repeat the split in steps: build on years 1 to 3 and test on year 4, then build on years 2 to 4 and test on year 5. Walk-forward testing shows whether the rules keep working as conditions change, not only on one lucky split.
- Check the neighbors. A rule that works with a 50-day average and still roughly works at 40 or 60 days is more believable than one that only works at 47.
- Demand enough trades. Treat a result from a few dozen trades as a hint, not evidence.
From an idea to full size, one test at a time
Write the rules
Entry, exit and size, before any results
Backtest
Build on one period, check on a later one
Paper trade
Practice the orders and the routine
Live, small
One spread first, then the rule's size
How much do trading costs change a backtest?
Costs are where most hypothetical results shrink first, and multi-leg options strategies pay them on every leg, in and out.
Worked example
Example: adding costs to a hypothetical spread backtest
A backtest of a two-leg spread strategy shows 50 trades averaging $25 profit a trade, filled at the midpoint of each leg, for a total of 50 x $25 = $1,250.
- Slippage. Each leg's quote is $0.10 wide, and a realistic fill gives up half of that, $0.05 a share. That is $0.05 x 100 = $5 per leg, per side. Two legs, opened and closed, is 2 x 2 x $5 = $20 a trade.
- Commissions. At a hypothetical $0.65 per contract, two legs opened and closed is 4 x $0.65 = $2.60 a trade. Brokers' commissions and fees differ, so use your own.
- After costs: $25 - $20 - $2.60 = $2.40 a trade, or 50 x $2.40 = $120 in total.
Only the assumptions changed. Most of the backtest's profit was the gap between the midpoint and a realistic fill.
Illustrative and hypothetical. The ticker and prices are invented for teaching, and the figures exclude commissions, fees, margin interest and taxes, which reduce real results. Past or hypothetical outcomes do not indicate future results.
The same 50-trade backtest, before and after trading costs
Total result over 50 trades
How should you use a backtest result?
As a filter, not a forecast. A careful backtest that loses money has saved you real money. One that makes money earns the rules the next test: later data, then paper, then live at the smallest size. Course 3's module Finding Your Edge from Your Journal covers judging results from your own live trades.
Backtested results are hypothetical, are prepared with the benefit of hindsight and do not reflect actual trading. Options involve risk and are not suitable for every investor; see Characteristics and Risks of Standardized Options.
Check your understanding
A backtest enters at the open whenever that day's close is above the 50-day average. What is wrong?
Show answer
Look-ahead bias. The close is not known at the open, so the earliest realistic entry is the next session.
You test a strategy only on the stocks in an index today. Which bias is that?
Show answer
Survivorship bias. It leaves out the stocks that dropped out of the index, were acquired or failed during the test period.
You test 400 combinations of delta, expiration and exits, and the best one looks excellent. What should you do before trusting it?
Show answer
Assume some of its edge is luck from overfitting. Check that nearby settings also work, then test it unchanged on data it was not built on, out of sample or walking forward.
Key takeaways
- A backtest applies rules to past data; its results are hypothetical and do not reflect actual trading.
- Options backtests need real bid, ask and implied volatility data, and many miss early assignment.
- Look-ahead bias, survivorship bias and overfitting all make a backtest look better than reality.
- Guard against overfitting with few parameters, a log of every try, out-of-sample and walk-forward tests, and enough trades.
- Add realistic fills and fees before trusting any result.
Common questions
What is backtesting in trading?
Backtesting is applying a strategy's written rules to historical market data to see how the trades would have turned out. The result is hypothetical: no money was at risk, and the past may not repeat.
Can you backtest options strategies?
Yes, but it needs historical option quotes (bids, asks and implied volatility for each strike and expiration), not only stock prices. Without real quote data, a test has to model option prices, which adds another assumption to check.
What is look-ahead bias in backtesting?
Look-ahead bias is using information in a backtest that was not available when the trade would have been placed, such as entering at the open based on that day's closing price. It makes results look better than anything you could have traded.
What is survivorship bias in backtesting?
Survivorship bias is testing only on stocks that still exist or still qualify today, which leaves out the ones that were delisted, acquired or collapsed. A strategy tested only on survivors looks safer than it was.
What is overfitting in backtesting?
Overfitting is tuning a strategy's rules until they match past data so closely that they capture random noise. The backtest looks great but the edge is not real. Testing the unchanged rules on data they were not built on is the main check.
Is backtesting reliable?
A backtest is reliable for rejecting ideas and weak for proving them. If rules lose money in a careful backtest, that is useful to know. If they make money, treat it as a reason to test further, on later data, on paper and at small size.