QuantsappFaster in the app: live data, alerts, tradingOpen
Log inStart free
Calendar & seasonalityPositionalNIFTYlow complexity

Holiday effect long

The holiday effect is a long-studied calendar idea: markets are said to rise more often around exchange holidays, helped by festive optimism and short covering before a break. This strategy tests it on NIFTY futures. In the default post-holiday mode it buys at the close of the session before each NSE holiday and sells at the close of the first session after it. Alternative modes test the pre-holiday session and the New Year turn.
Buys NIFTY futures at the close before each exchange holiday and sells at the close of the first session after it, testing the holiday effect.
Market viewCalendar or event timing
TradesNIFTY near-month futures, 1 lot, long only
RiskOpen-ended (loss not capped by the structure)
CapitalFutures margin
SuitsBeginner
Trades a month1.2
Typical hold2 days
Profitable months3 of 12
Longest losing run3 trades
Made money inToo few trades to judge by condition (15 in the year)
Lost money inToo few trades to judge by condition (15 in the year)
Default settings
Symbol
Variant
Max holiday weekdays
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
Close of the last session before an exchange holiday
Legs
BUY FUT · near month (next month on expiry day) · Current month · 1 lot
Exits
time close of the first session after the holiday
Re-entry
Next holiday
Holidays
found from the trading calendar the backtest walks - a weekday (Mon-Fri) with no session between two consecutive sessions is an exchange holiday; a run of more than MAX_HOLIDAY_WEEKDAYS such weekdays is treated as a data gap, not a holiday. Weekdays after the last session up to END count too.
Entry
VARIANT "post_holiday" - at the last print of the session right before a holiday, buy LOTS of the near-month future. "pre_holiday" - at the last print of the session BEFORE that one (so the pre-holiday session itself is held). "new_year" - at the last print of December's last session.
Exit
"post_holiday" - the last print of the first session after the holiday. "pre_holiday" - the last print of the pre-holiday session. "new_year" - the last print of January's first session. No stop, no target. One holiday, one trade.
Roll
when the entry session is the futures expiry day the next month's contract is bought (when the curve lists it); otherwise that holiday is skipped - a 1-2 session trade cannot wait for the next open.
2

Results

PRE-BUILT · DEFAULTS
NIFTY · 2025-10-01 → 2026-09-30 · 15 trades · before costs
Net P&L−₹29,934
Win rate53%
Max drawdown−₹64,550
Avg per trade−₹1,996
Profit factor0.74
Worst trade−₹33,365
3

Where it made and lost money

With 15 trades no condition reaches the eight-trade mark, so the splits only describe this one year. Most holidays produced little: the 10 trades during which NIFTY moved less than 1% netted just ₹39. The result came from a few larger moves across the break. Three holidays followed by a fall of more than 1% lost ₹49,143 together, while two followed by a rise of more than 1% made ₹19,170. Because the position is a full futures lot held over the closure with no stop, whatever news arrives during the holiday is taken in full when trading resumes.

India VIX the evening before
VIX below 11.5 (calm)+₹1,7694 trades75% won
VIX 11.5-14.5 (normal)−₹51,2555 trades20% won
VIX above 14.5 (nervous)+₹19,5526 trades67% won
Kind of session on the entry day
Quiet session (range under 0.75%)−₹16,7254 trades50% won
Trend day (closed near the high or low)−₹6,2487 trades57% won
Choppy day (wide range, closed mid-range)−₹6,9614 trades50% won
Market while the trade was held
NIFTY rose over 1% while held+₹19,1702 trades100% won
NIFTY within ±1% while held+₹3910 trades60% won
NIFTY fell over 1% while held−₹49,1433 trades0% won
How the entry day opened
Gap up of 0.4% or more−₹31,5502 trades50% won
Flat open−₹29,4506 trades33% won
Gap down of 0.4% or more+₹31,0657 trades71% won
Session direction on the entry day
NIFTY closed above its open−₹21,1897 trades57% won
NIFTY closed below its open−₹8,7468 trades50% won
Trend going in
Uptrend (NIFTY above its 20-day average)−₹2,9807 trades43% won
Downtrend (NIFTY below its 20-day average)−₹26,9548 trades62% won
Expiry day (NIFTY weekly)
Expiry day+₹24,0885 trades60% won
Other days−₹54,02210 trades50% won
Day of the week
Monday+₹22,1003 trades67% won
Tuesday+₹1,9882 trades50% won
Wednesday−₹54,5745 trades40% won
Thursday+₹12,6493 trades67% won
Friday−₹12,0962 trades50% won
The same trades, split by the market conditions around each entry, before costs.
4

About this strategy

  1. Find exchange holidays from the trading calendar: a weekday with no session between two trading days. More than two missing weekdays in a row is treated as a data gap.
  2. At the close of the session just before a holiday, buy one lot of the near-month NIFTY future; on a futures expiry day, buy next month's contract instead.
  3. Hold through the holiday, with no stop and no target.
  4. Sell at the close of the first session after the holiday.
  5. In pre-holiday mode, buy one session earlier and sell at the close before the holiday; in New Year mode, hold from December's last close to January's first.

Why traders use it

Studies in many markets have found unusually good returns around holidays, often explained by mood, short sellers closing positions before a break, and lighter selling. Indian traders often talk of festive optimism around Diwali and other holidays. The rule is simple, needs no indicators and trades only around fifteen times a year, which makes it an easy calendar effect to test and compare with other years.

Works best whenHolidays followed by a positive start, when NIFTY rises across the break and into the first session back. In this small sample the two trades with a rise of more than 1% both won.
Struggles whenHolidays during which bad news builds up while the market is closed, so NIFTY opens and stays lower on the first session back. In this test three such falls of more than 1% outweighed all the gains.

The year in plain words

On NIFTY from 1 Oct 2025 to 30 Sep 2026 in post-holiday mode, the strategy made 15 trades and won 8, but lost ₹29,934 before costs, a profit factor of 0.74. Average losses (₹16,480) were larger than average wins (₹10,678). The year was dominated by two months: March lost ₹59,995 and April gained ₹66,085. Every trade ended at the planned close after the holiday. After ₹20 per order and bid-ask slippage the loss was ₹34,977. In this test, there was no sign of a reliable holiday lift.

What the settings do

VariantPost_holiday holds over the holiday into the first session back; pre_holiday holds only the last session before the holiday; new_year holds over the year turn.Max holiday weekdaysThe longest run of missing weekdays still treated as a holiday. Longer gaps are assumed to be missing data and skipped.

Risks

  • A futures lot held over a market closure takes any gap from news during the holiday, with no stop.
  • About fifteen trades a year makes the effect very hard to measure reliably.
  • Holidays are inferred from gaps in the calendar, so missing data could be mistaken for a holiday.
  • Published studies of Indian markets mostly do not find a strong holiday effect, so this works best as a control test.

Who it suits

Readers curious about calendar effects who want to see a holiday rule tested on real NIFTY data, and traders comfortable holding a futures lot over a market closure without a stop.

5

Questions traders ask

What is the holiday effect in the stock market?

It is the observation, in several markets, that returns around exchange holidays have been better than on ordinary days. Explanations include festive optimism and short sellers closing positions before a break. In Indian studies the evidence is weak, apart from some signs around the New Year.

Is the holiday effect strategy profitable on NIFTY?

Not in this test. Buying NIFTY futures before each holiday and selling after the first session back lost ₹29,934 before costs and ₹34,977 after ₹20 per order and bid-ask slippage (statutory charges not included), from 1 Oct 2025 to 30 Sep 2026. Past results do not guarantee future ones.

Does the market rise before Diwali?

Many traders believe so, but one year of data cannot settle it, and this strategy treats all exchange holidays alike rather than singling out Diwali. Results depend heavily on the news that arrives around each break.

How does the strategy know which days are holidays?

It reads the exchange calendar from the backtest's own trading days: a weekday with no session between two trading days is a holiday. Since the exchange publishes its holiday list in advance, knowing about a holiday ahead of time is not using future information.

6

Before you rely on it

WATCH OUT~15 holidays a year, so a handful of observations; holiday sessions cluster with expiry shifts (an expiry falling on a holiday moves to the session before). Gross of costs.
WHERE THE RULES WERE UNCLEAR · OUR CHOICES- The study finds no pre-holiday effect in India and a post-holiday effect only as the New Year effect; the spec treats this family as a control / negative result, and so should the user. - New Year (1 Jan) is not an NSE holiday; "new_year" trades the year turn itself.
Also known aspre-holiday effectpost-holiday effectnew year effectreligious holiday anomaly
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.