QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
OI · PCR · VIX signalsPositionalNIFTYlow complexity

VIX-sized NIFTY exposure

This is a sizing rule rather than a timing rule. It stays long NIFTY futures all the time and changes only how many lots it holds, based on where India VIX sits within its own history: four lots when volatility is low, scaling down to one lot when VIX is near its highest levels. The aim is to carry more exposure in calm markets and less when fear is high.
Stays long NIFTY futures all the time, holding four lots when India VIX is low in its history and cutting to one lot when VIX is extreme.
Market viewBullish
TradesNIFTY near-month futures, 1-4 lots
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsIntermediate
Trades a month4.2
Typical hold28 days
Profitable months3 of 12
Longest losing run13 trades
Made money inNIFTY up over 1% while held (+₹6,04,043)Entries after VIX above 14.5
Lost money inNIFTY down over 1% while heldEntries when VIX was 11.5 to 14.5
Default settings
Symbol
Max lots
Band low
Band mid
Band high
Exposure low
Exposure mid
Exposure high
Exposure top
% window
Rebalance
Rebalance time
Roll time
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
09:20 on the first session of each week: hold 4/3/2/1 lots by VIX percentile
Legs
BUY FUT · near month · Near month, rolled each expiry · 4 lots
Exits
signal Target size falls: newest lots closed firstroll Futures expiry day 15:15: all lots closed and re-bought next monthtime Everything closed at the end of the test
Re-entry
Lots added back whenever the weekly target size rises
Regime
VIX percentile = share of India VIX closes, over the whole history up to that close (or the last PCT_WINDOW closes when PCT_WINDOW > 0), at or below that close; at least WARMUP_DAYS closes. below BAND_LOW -> EXPOSURE_LOW % ; BAND_LOW .. BAND_MID -> EXPOSURE_MID % ; BAND_MID .. BAND_HIGH -> EXPOSURE_HIGH % ; at or above BAND_HIGH -> EXPOSURE_TOP %. Lots held = MAX_LOTS x exposure, rounded (defaults 4 / 3 / 2 / 1 lots); the rest is cash.
Entry
on the first session of the run and on each rebalance session (REBALANCE "daily", "weekly" = the first session of a week, "monthly" = the first session of a month), at REBALANCE_TIME, using the PREVIOUS session's VIX close: buy or sell near-month NIFTY futures, one lot at a time, until the lots held equal the target. Nothing trades when the target is unchanged.
Exit
lots are cut last-in first-out when the target falls ("rebalance"). Futures cannot be held past their expiry: on the expiry day every lot is closed at ROLL_TIME ("roll") and the same number of lots is bought in the next month - at ROLL_TIME when the curve lists it, else at the next session's REBALANCE_TIME. Whatever is open at the end of the run closes at the last close.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 50 trades · before costs
Net P&L−₹9,93,768
Win rate26%
Max drawdown−₹13,51,578
Avg per trade−₹19,875
Profit factor0.39
Worst trade−₹2,12,946
3

Where it made and lost money

As an always-long position, it simply followed NIFTY. The 12 lots held through a rise of more than 1% made ₹6,04,043, while the 12 held through a fall of more than 1% lost ₹13,65,390. By VIX, lots opened after a VIX close between 11.5 and 14.5 lost ₹12,72,213 over 33 trades, because a middling percentile still means three or four lots, so the position was near full size when declines began. Lots opened after VIX above 14.5 made ₹1,75,357 over 9 trades, as high fear often came near lows. Most trades are expiry-day rolls, so the expiry split mostly reflects rolling.

Market while the trade was held
NIFTY rose over 1% while held+₹6,04,04312 trades100% won
NIFTY within ±1% while held−₹2,32,42126 trades4% won
NIFTY fell over 1% while held−₹13,65,39012 trades0% won
How the entry day opened
Gap up of 0.4% or more+₹3,31,8689 trades78% won
Flat open−₹14,45,70534 trades9% won
Gap down of 0.4% or more+₹1,20,0687 trades43% won
India VIX the evening before
VIX below 11.5 (calm)+₹1,03,0888 trades50% won
VIX 11.5-14.5 (normal)−₹12,72,21333 trades18% won
VIX above 14.5 (nervous)+₹1,75,3579 trades33% won
Trend going in
Uptrend (NIFTY above its 20-day average)−₹7,71,37525 trades4% won
Downtrend (NIFTY below its 20-day average)−₹2,22,39325 trades48% won
Kind of session on the entry day
Quiet session (range under 0.75%)−₹3,08,81014 trades21% won
Trend day (closed near the high or low)−₹5,09,32920 trades30% won
Choppy day (wide range, closed mid-range)−₹1,75,63016 trades25% won
Session direction on the entry day
NIFTY closed above its open−₹3,73,47315 trades33% won
NIFTY closed below its open−₹6,20,29535 trades23% won
Expiry day (NIFTY weekly)
Expiry day−₹12,98,90243 trades21% won
Other days+₹3,05,1347 trades57% won
Day of the week
Monday+₹94,6337 trades43% won
Tuesday−₹14,46,21139 trades15% won
Wednesday+₹3,57,8104 trades100% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Each day, rank the latest India VIX close against all its past closes to get a percentile from 0 to 100.
  2. Map the percentile to a target size: below 25 means 4 lots, 25 to 75 means 3, 75 to 95 means 2, and 95 or above means 1 lot.
  3. On the first session of each week, at 09:20, use the previous session's VIX percentile to set the target and buy or sell near-month NIFTY futures one lot at a time to reach it.
  4. When the target falls, close the most recently added lots first.
  5. On each futures expiry day, close all lots at 15:15 and buy the same number in the next month, so every roll shows as a separate trade.
  6. Close everything at the end of the test period.

Why traders use it

Volatility tends to cluster: calm periods stay calm and turbulent periods stay turbulent. Scaling exposure inversely to volatility aims to keep risk steadier over time, taking more market exposure when daily swings are small and less when they are large. India VIX is a public, daily, forward-looking gauge, so it is a natural input. Similar volatility-targeting ideas are widely used by institutional allocators, which makes this a common template for retail futures traders.

Works best whenLong, steady uptrends with low and falling India VIX, when the rules hold the full four lots through the gains.
Struggles whenSell-offs that start while VIX is still low, so the position is at full size when the fall begins and only cuts after the damage is done, and choppy markets where size is cut after a drop and added back after a rebound.

The year in plain words

On NIFTY from 1 Oct 2025 to 30 Sep 2026 the strategy logged 50 trades, 41 of them monthly rolls, and lost ₹9,93,768 before costs and ₹10,03,578 after ₹20 per order and slippage. Because it is always long, the result follows the market: October 2025 made ₹3,57,808 and April ₹2,23,307, while March lost ₹6,53,821 and September ₹4,95,716. The maximum drawdown before costs was ₹13,51,578. VIX-based sizing cut exposure at times, but with up to 4 lots always long, falling months dominated the year.

What the settings do

Max lotsThe number of lots held at full exposure. All other sizes are fractions of this, rounded to whole lots, so small values make the steps lumpy.Band lowThe VIX percentile below which exposure is at its highest. Raising it keeps full size in more conditions.Band midThe upper edge of the middle band; between the low and mid bands exposure is at the second level.Band highThe percentile at or above which exposure drops to its lowest level. Lowering it cuts size in more market conditions.Exposure lowThe share of the maximum lots held when VIX is below the low band.Exposure midThe share of the maximum lots held between the low and mid bands.Exposure highThe share of the maximum lots held between the mid and high bands.Exposure topThe share of the maximum lots held when VIX is at or above the high band. Setting it to 0 would leave the market entirely at extreme VIX.% windowZero ranks VIX against all its history; a value such as 504 ranks it against roughly the last two years only, so the percentile adapts to recent conditions.RebalanceHow often the size is reset: daily, weekly or monthly. More frequent rebalancing reacts faster but trades more.Rebalance timeThe time on the rebalance session when lots are added or removed.Roll timeThe time on futures expiry day when all lots are closed and rolled to the next month.

Risks

  • The position is always long, so it takes the full impact of any market decline.
  • Size changes only once a week using yesterday's VIX, so it reacts late to sudden shocks.
  • Four lots of NIFTY futures need substantial margin and can lose lakhs in a single bad month.
  • Futures are held overnight continuously, with no stop loss.

Who it suits

Traders or allocators who want a long-term long NIFTY position and a rule for varying its size with volatility, with capital for up to four futures lots and the tolerance for very large drawdowns in falling years.

5

Questions traders ask

What is India VIX percentile?

It is the share of past India VIX closes that were at or below today's close. A percentile of 90 means VIX is higher than on 90% of past days, so the market is pricing in unusually large moves. It puts the raw VIX level into context.

How does VIX-based position sizing work?

The strategy holds more lots when VIX is low relative to its history and fewer when it is high: 4, 3, 2 or 1 lot of NIFTY futures depending on the band. It never goes short or flat by default; it only changes how much it holds.

Is VIX-based sizing of NIFTY futures profitable?

Not in this period. From 1 Oct 2025 to 30 Sep 2026 it lost ₹9,93,768 before costs and ₹10,03,578 after ₹20 per order and bid-ask slippage, because NIFTY fell sharply in several months while the strategy stayed long. Past results do not guarantee future ones.

Why does the strategy show so many trades if it is always invested?

Futures expire monthly, so every lot is closed and reopened at each expiry. Each lot is also its own position, so with up to four lots, rolls alone produce dozens of trades a year. Only 5 trades were closed because the VIX band changed.

6

Before you rely on it

ADAPTED FOR TODAY'S NSE RULES- Exposure is expressed in whole lots of MAX_LOTS (the spec's 100/75/50/25 % = 4/3/2/1 lots), not as a share of a rupee capital, so the source's "trade only if drift > 5 points" band has nothing to act on: with whole lots the exposure only changes when the target changes. Price drift of the notional is not rebalanced. - "Known at close t, applied at t+1": the percentile of the previous session's close sets the lots at REBALANCE_TIME - no lookahead. - Each lot is its own position (a "tranche"), so a rebalance closes whole positions. A partial reduce of a multi-lot futures position mis-prices the remaining leg in this SDK version (logged as a gap). - On the local store the curve has no next month, so the roll is flat from the expiry-day ROLL_TIME to the next session's REBALANCE_TIME (one night a month); on the server the next month is bought at ROLL_TIME.
WATCH OUTlot granularity makes the 25% steps lumpy for small accounts; an expanding percentile drifts as history grows (the rolling 504-day variant is the alternative).
Also known asvix risk parity niftyvix exposure scaling
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.