QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Open Backtesting →
Option buyingPositionalNIFTYlow complexity

IV-rank gated option buying

This strategy tests a popular rule for option buyers: only buy when implied volatility is low compared with its own recent range, so you are not overpaying for premium that can collapse. The filter sits on top of a plain 15-minute opening-range breakout on NIFTY that buys the ATM call or put, so the gate can be switched off to see what it adds.
Buys the ATM NIFTY call or put on a 15-minute opening range breakout, but only on days when implied volatility ranks low within its own recent range.
Market viewEither direction (follows the move)
TradesNIFTY weekly ATM options, bought
RiskLimited to the premium paid
CapitalPremium only
SuitsIntermediate
Trades a month8.3
Typical hold4.1 hours
Profitable months4 of 12
Longest losing run8 trades
Made money inTrend days that close near the high or lowSessions that close below their open
Lost money inQuiet sessions with a range under 0.75%Sessions that close above their open
Default settings
Symbol
Gate
IV rank buy max
Min IV days
IV min DTE
VIX gate
VIX level
Or minutes
Last entry
Min DTE
SL %
Target %
Exit time
Lots
Backtest this strategy →Change any setting, pick your own period and run it in the Quantsapp web app. Backtesting is part of the Max plan. Pro+ members can use it now as a free trial.
1

How it trades

What it trades
Universe
NIFTY Positional · 1 Oct 25 → 30 Sep 26
Enters
First break of the 09:15-09:30 futures range, up to 13:30, on days with IV rank below 30
Legs
BUY CE · ATM (about 0.5 delta), on an upside break · Nearest weekly not expiring today · 1 lotBUY PE · ATM (about 0.5 delta), on a downside break · Nearest weekly not expiring today · 1 lot
Exits
stop Premium 30% below the price paidtarget Premium 60% above the price paidtime Sell at 15:15
Re-entry
None - one trade a day
IV
one ATM implied-vol reading a day at OR_END - the mean of the ATM call and put IV of the nearest expiry with at least IV_MIN_DTE calendar days left.
Gate
GATE "ivr": IV rank = (IV - min) / (max - min) x 100 over the previous readings (up to LOOKBACK_DAYS) must be below IVR_BUY_MAX; "ivp": the share of previous readings below today's IV must be below IVR_BUY_MAX; "off": no IV gate (the A/B baseline). Needs MIN_IV_DAYS readings first. Also skipped: EVENT_DAYS (a scheduled event before the planned same-day exit), and, with VIX_GATE "below" / "above", days when yesterday's India VIX close is not below / above VIX_LEVEL.
Entry
the host strategy - after the OR_MINUTES opening range of the future, the first tick above its high buys the ATM call, the first tick below its low the ATM put (nearest expiry with at least MIN_DTE days), LOTS lots, no entry after LAST_ENTRY. One trade a day.
Stop
SL_PCT % of the premium paid. Target: TARGET_PCT % of the premium paid.
Exit
whatever is open at EXIT_TIME.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 100 trades · before costs
Net P&L−₹17,724
Win rate40%
Max drawdown−₹29,839
Avg per trade−₹177
Profit factor0.85
Worst trade−₹3,955
3

Where it made and lost money

Low implied volatility did not choose good days by itself in this test; the kind of session did. Trend days that closed near the high or low made ₹44,235 over 22 trades with a 68% win rate, while quiet sessions with a range under 0.75% lost ₹54,170 over 65 trades. Low-IV days were often quiet ones, so the breakout fizzled, the ATM option bled time value and hit its 30% stop or drifted to 15:15. Sessions that closed below their open made ₹13,253 over 52 trades, against a ₹29,125 loss when the close was above the open, suggesting downside breakouts followed through better.

Kind of session on the entry day
Quiet session (range under 0.75%)−₹54,17065 trades34% won
Trend day (closed near the high or low)+₹44,23522 trades68% won
Choppy day (wide range, closed mid-range)−₹5,93712 trades25% won
Session direction on the entry day
NIFTY closed above its open−₹29,12547 trades32% won
NIFTY closed below its open+₹13,25352 trades48% won
How the entry day opened
Gap up of 0.4% or more−₹6,76813 trades38% won
Flat open−₹17,08776 trades39% won
Gap down of 0.4% or more+₹7,98310 trades50% won
Expiry day (NIFTY weekly)
Expiry day−₹1,07019 trades53% won
Other days−₹14,80280 trades38% won
India VIX the evening before
VIX below 11.5 (calm)−₹91634 trades41% won
VIX 11.5-14.5 (normal)−₹10,29659 trades41% won
VIX above 14.5 (nervous)−₹4,6606 trades33% won
Trend going in
Uptrend (NIFTY above its 20-day average)−₹4,93753 trades43% won
Downtrend (NIFTY below its 20-day average)−₹10,93646 trades37% won
Day of the week
Monday−₹6,12617 trades35% won
Tuesday−₹1,07019 trades53% won
Wednesday−₹4,26821 trades38% won
Thursday−₹73620 trades45% won
Friday−₹3,67122 trades32% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Each day at 09:30, read the average implied volatility of the ATM call and put on the nearest weekly expiry with at least 2 days left.
  2. Compute the IV rank: where today's reading sits between the lowest and highest readings collected so far in the run, after at least 20 days of history.
  3. Allow trades only when IV rank is below 30, and skip listed Budget and RBI policy days.
  4. Mark the high and low of NIFTY's first 15 minutes; the first break above the high buys the ATM call, the first break below the low buys the ATM put, up to 13:30.
  5. Use the nearest weekly expiry that is not expiring that day; one trade per day.
  6. Exit at a 30% loss or a 60% gain on the premium paid, or at 15:15.

Why traders use it

An option buyer pays for implied volatility as well as direction. If IV is already high, a correct directional call can still lose when volatility drops back. Buying only when IV is near the bottom of its range is meant to tilt the odds: premiums are cheaper, and any rise in volatility helps rather than hurts. Many traders apply a rule like this by feel; this version makes it mechanical so it can be measured.

Works best whenIn this test, trend days that closed near their high or low, especially falling sessions, when the breakout kept going and the option reached its 60% target.
Struggles whenQuiet sessions with a range under 0.75%, which were common on low-IV days: breakouts faded back into the range and the bought option decayed into its stop or the time exit.

The year in plain words

On NIFTY from 1 Oct 2025 to 30 Sep 2026 with default settings, the gate allowed 100 breakout trades and 40 won, for a loss of ₹17,724 before costs (profit factor 0.85). Stops ended 47 trades, targets only 19, and 34 were closed at 15:15. October, March and April had no trades, partly because the filter needs 20 days of history first. January and February were positive, while June and July together lost ₹17,517. After ₹20 per order and bid-ask slippage the loss rose to ₹23,038. Low IV alone did not make the breakout entries work in this period.

What the settings do

GateChoose IV rank, IV percentile, or off. Running it off shows the plain breakout without the volatility filter, for a direct comparison.IV rank buy maxTrades are allowed only when the rank is below this level. A lower number trades less often and only in the calmest volatility.Min IV daysHow many daily IV readings must be collected before the filter is trusted. Fewer days start trading sooner but with a less reliable range.IV min DTEThe minimum days to expiry of the contract used for the IV reading, so the measurement avoids the distorted IV of options about to expire.VIX gateAn optional extra filter on the previous day's India VIX close: trade only when it is below, or above, VIX_LEVEL. Off by default.VIX levelThe India VIX threshold used when VIX_GATE is switched on.Or minutesLength of the opening range for the breakout entry. Longer ranges give fewer, later breakouts.Last entryNo new breakout entry after this time.Min DTEMinimum days to expiry of the option bought, so the trade never buys a contract expiring that day.SL %The loss on the premium, in percent, that closes the trade.Target %The gain on the premium, in percent, that books the trade.Exit timeWhen any open option is sold.

Risks

  • IV rank here builds from the run's own history, so early in a run it is based on few readings and can be misleading.
  • Buying ATM weekly options means time decay works against every trade that does not move quickly.
  • The breakout entry, not the filter, drives most of the result; a weak entry stays weak even with a good filter.
  • The 30% stop can fill worse on fast reversals.

Who it suits

Option buyers who want to test whether a volatility filter improves their entries, and who are comfortable losing more trades than they win while waiting for a larger winner. Capital needed is limited to the premium per trade.

5

Questions traders ask

What is IV rank?

IV rank shows where today's implied volatility sits between its lowest and highest levels over a past window, on a scale of 0 to 100. An IV rank of 20 means volatility is near the bottom of its recent range, so options are relatively cheap.

Does an IV rank filter make option buying profitable?

Not in this backtest. With the filter at 30 on NIFTY from 1 Oct 2025 to 30 Sep 2026, the breakout trades lost ₹17,724 before costs and ₹23,038 after ₹20 per order and bid-ask slippage. Switch the gate off to compare. Past results do not guarantee future ones.

What is the difference between IV rank and IV percentile?

IV rank uses only the highest and lowest readings, so one spike can distort it. IV percentile counts how many past days had lower IV than today, which is less sensitive to a single extreme. The “Gate” setting lets you run either.

Why skip Budget and RBI policy days?

Implied volatility usually rises into scheduled events and drops right after, which can hurt an option bought that day even if the direction is right. Skipping those days keeps the test about ordinary sessions.

6

Before you rely on it

ADAPTED FOR TODAY'S NSE RULESNIFTY weekly options; sized in lots. Stock options would add company result dates to the event block (day.days_to_result) - not needed for an index.
WATCH OUTThresholds are rules of thumb without backtests; low IV can stay low through a trending day, and the breakout host decides most of the result.
WHERE THE RULES WERE UNCLEAR · OUR CHOICES- The source is a FILTER, not a strategy; the spec says to pair it with an option-buying entry and A/B test it. The host here is a plain 15-minute opening-range breakout buying the ATM option (close to the library's 25 / 22 entries without their extra filters), so GATE "off" vs "ivr" shows what the gate adds. - The source's other half - sell premium only when IVR > 70 - gates a seller; strategy 13 is that form. - The SDK has no IV history before START and no IV percentile, so the rank uses an EXPANDING window of the days walked (up to LOOKBACK_DAYS) once MIN_IV_DAYS readings exist: the 252-day rank is only reached a year into a run. - EVENT_DAYS is user-maintained (the SDK has no macro-event calendar): Budget 2026 and the RBI MPC decision days we know of. Sources disagree on the VIX direction, so VIX_GATE is off by default.
Also known asiv crush avoidancebuy low iv sell high iv
Backtests run on historical NSE data with fills at the last traded price. "Before costs" excludes brokerage, taxes and slippage. Quantsapp is not recommending any strategy; it is just a backtesting utility. Past results are not a promise of future returns.

Log in or sign up

Enter your mobile number. New to Quantsapp? The same OTP creates your free account.

+91

By continuing you agree to the Terms of Use and Privacy Policy.