## Why Options Backtesting Is Different Options are not stocks. When you backtest an equity strategy, price is the only dimension. With options, you're managing **delta, gamma, theta, vega, and IV** simultaneously. Indian markets add another layer: weekly expiries on NIFTY and BANKNIFTY mean theta decay is faster, liquidity windows are tighter, and slippage can be brutal in the last 30 minutes before expiry. ## Key Concepts Before You Start ### 1. IV Rank vs IV Percentile Never sell options without understanding where implied volatility stands historically. - **IV Rank**: Where current IV sits between the 52-week low and high (0–100) - **IV Percentile**: % of days in the past year where IV was *lower* than today High IV Rank (> 70) → premium is expensive → selling strategies are favored Low IV Rank (< 30) → premium is cheap → buying strategies may have edge ### 2. Greeks Matter More Than P&L A 30-point profit in your backtest is meaningless if it came from a lucky theta bleed during a range-bound week. Focus on: - **Theta collected per day** (for sell strategies) - **Max delta exposure at any point** (risk control) - **Win rate vs average winner/loser ratio** (expectancy) ### 3. Liquidity Filters Always apply a minimum Open Interest filter. In live trading you cannot execute: - Strikes with OI < 5,000 contracts - Strikes more than 2% away from ATM on NIFTY (except for hedges) ## Building a Backtest on BacktestHub 1. **Choose your underlying**: NIFTY 50 or BANKNIFTY 2. **Set your entry rule**: Time-based (e.g. 9:30 AM) or signal-based (RSI, bollinger) 3. **Define the strategy**: Iron Condor, Short Strangle, Bull Put Spread 4. **Set exit rules**: SL at 2x premium, target at 50%, or expiry BacktestHub runs tick-accurate simulation using real OHLCV data including bid-ask spread assumptions, so your backtest P&L closely mirrors live execution. ## Common Mistakes in Options Backtesting - **Ignoring transaction costs**: Brokerage + STT + exchange fees can eat 15–20% of premium collected on small accounts - **Using EOD data for intraday strategies**: If you close at market price using end-of-day data, you miss the actual exit price by hours - **Overfitting to expiry week anomalies**: NIFTY often has a "weekly expiry crush" but it's not reliable every week ## Sample Result: Short Strangle on NIFTY | Metric | Value | |---|---| | Period | Jan 2023 – Dec 2024 | | Trades | 104 | | Win Rate | 78% | | Avg Profit | ₹4,200 | | Avg Loss | ₹18,500 | | Max Drawdown | ₹92,000 | | Net P&L | ₹1,84,000 | The win rate looks great but the loss:profit ratio of 4.4:1 means a bad month (3 losses in a row) can wipe out 3 months of gains. This is why position sizing and stop-losses are non-negotiable. ## Conclusion Backtesting options in Indian markets requires tick-level data, proper cost modeling, and realistic liquidity assumptions. Start with simple single-leg strategies before moving to complex multi-leg structures.
Ready to test this strategy?
BacktestHub lets you backtest on real Indian market data — free, no code needed.
Start Free Backtest