From 1 Jul 2025 to 17 Jul 2026 the Nifty ended lower than it began, and in that time its day to day behaviour changed sign. In the quarter to 3 Oct 2025 a rise tended to be followed by a small rise. In the quarter to 16 Apr 2026 a rise tended to be followed by a small fall. Over the whole stretch the pull was close to nothing at all. Ask a momentum trader and a mean reversion trader to read the same file and each can find a quarter that proves them right. This lesson tests what the file supports with two plain measures, autocorrelation and the variance ratio, shows how little four quarters can tell you, and explains why the two styles are less opposed than they sound. Every figure comes from NSE end of day files, dated and not live.
3By the end you can
- Say how momentum and mean reversion differ by horizon and by object, a price or a spread.
- Read an autocorrelation and a variance ratio next to their noise bands.
- Explain why a short window cannot name a regime and what a fair test must fix first.

The idea, plainly
Two bets about the last move
Momentum says a price that has been rising tends to keep rising over the next holding period, and a falling one to keep falling. Mean reversion says a price stretched away from an average tends to come back. They are not opposite beliefs about markets in general. They are bets at different horizons and on different objects. Studies of many markets report momentum over months in prices, and reversal over days to a week for some stocks and indices. Mean reversion in the strict sense belongs to a spread between two prices that share a home, which the cointegration module tests. A single index level is much closer to a random walk. Run the same unit root test on the Nifty close and it cannot reject a wandering path, where the daily returns reject it easily.
Measuring the pull
Autocorrelation asks whether today's return is related to the return k days ago. A positive value points to momentum, a negative one to reversion. The variance ratio asks the same thing over longer horizons. If returns were unrelated, the variance of a q day return would be q times the variance of a one day return. A ratio above one says moves tend to run, and a ratio below one says they tend to reverse.
The maths: autocorrelation and the variance ratio
For daily log returns r, with the sample mean removed:
AC(k) = cov(r_t, r_t-k)
/ var(r)
VR(q) = var(q day sum)
/ (q x var(1 day))
With n returns and no true pull, AC(1) has a spread of about 1 over the square root of n. For 258 returns that is about 0.06, so a value inside about two spreads of zero cannot be told from noise. The variance ratio has a wider spread that grows with q, because overlapping q day sums share most of their days. Read a five day ratio below one next to that wider spread, not next to zero.
3 terms this section turns on
The model under the two measures
Take the simplest model of a return with memory: each day's surprise is carried forward at a rate rho, so that the lag k autocorrelation is rho raised to k. For daily index data rho is small, and its higher powers vanish quickly. The variance ratio is a weighted sum of the same autocorrelations:
VR(q) = 1 + 2 x sum of
(1 − k/q) AC(k), k below q
Q = n (n + 2) x sum over k of
AC(k)^2 / (n − k), k = 1 to h
Read 2 more paragraphs, 202 words
That formula connects the two measures. A rho of 0.05 gives a five day ratio of 1.08, a trend tilt. The ratio of 0.89 that the file shows would need a rho near −0.07 in a model with one parameter. But the first lag measured −0.026, so a single rho does not describe the file. The pull, if there is one, is in other lags.
Both measures have noise. With n returns and no true pull, the autocorrelation at any one lag has a standard error of about one over the square root of n, which is 0.062 for 258 returns. The variance ratio at q days has a variance of 2(2q − 1)(q − 1) over 3qn, wider than the autocorrelation because the overlapping sums share days. Lo and MacKinlay's version of the test also allows the variance of returns to change through time, which index returns do. Testing several lags one at a time invites chance, so there is a joint test. The Ljung and Box statistic adds the squared autocorrelations up to lag h, each weighted by the number of terms behind it, and compares the total with a chi squared curve of h degrees of freedom.
Why the options desk cares
The two styles are also two payoffs. Someone long options, such as a gamma scalper, gains when moves run beyond what the option price assumed. Someone selling options earns the premium when moves stay inside it, and loses when a trend carries the index past the strikes. So a regime question is a risk question for both sides. A seller who assumes reversion carries the risk of a sustained run, and a buyer who assumes momentum pays decay while the index ranges. The variance risk premium module puts a price on that trade.
Worked example: four quarters of the Nifty
The file gives 259 sessions from 1 Jul 2025 to 17 Jul 2026. Here is the path first. It has a flat stretch, a rise, a long fall and a rebound, so a story of any style can be told about some part of it.
One path with a flat stretch, a rise, a fall and a rebound
Autocorrelation by quarter
Split the returns into four blocks of about 65 sessions and measure the lag one autocorrelation in each.
The sign of the pull flipped once, inside the noise
Read one more paragraph, 66 words
Three quarters lean toward momentum and one toward reversion, and every bar sits inside the noise band of two spreads, about 0.25 either side of zero. The highest is a little past one spread. A regime change would need a shift larger than the band, held for longer than a quarter. Four blocks cannot show one. They show that a short window can flatter either style.
The variance ratio
The variance ratio looks at the same returns summed over several days. Below one means moves tended to reverse over that horizon.
All four ratios sit a little below one, which is within their noise
All four sit a little under one, a mild lean toward reversal. The five day ratio is the lowest, and it is still only about one spread below one. This is the honest answer to the question this lesson began with: a faint reversal tilt that this sample cannot separate from no pull at all.
Ten lags at once
The first lag, the one a daily rule would use, is flat. Look further out and the picture is less tidy.
Four of ten lags are beyond two standard errors, in a saw tooth
Read one more paragraph, 154 words
Four lags clear two standard errors: lag 3 at −0.151, lag 4 at 0.143, lag 6 at 0.133 and lag 9 at −0.176. The Ljung and Box statistic over 10 lags is 26.9, against 18.31 for the five percent cutoff of the chi squared curve and 23.21 for one percent. So a joint test does reject white noise on this file. Two things stop me from calling it a style. The signs alternate, minus then plus then minus, which no lookback and holding rule maps onto. And I looked at 10 lags: if each had a one in twenty chance of clearing two standard errors by luck, the chance that at least one clears is about 37%. A pattern found by looking at many lags has to be re-found on days it was not found on. The honest status is a statistical oddity of one year of one index.
Two simple rules, counted
A rule turns the idea into a count. The first rule looks at the last 20 sessions. If the index rose, momentum says the next five sessions rise. The second looks at how far the close sits from its 20 session average, in usual sizes. If it sits more than one and a half above, reversion says the next five sessions fall. Nothing is traded and no return is claimed. The question is only how often the next five sessions agreed.
The two rules agreed with the next week about as often as a coin would
Read one more paragraph, 104 words
After a 20 session rise, the next five sessions rose less than half the time, which leans against momentum. After a stretch above the average they fell about two times in three, which leans for reversion. After a stretch below, they rose only two times in five, which leans against it. The two stretch cases pull in opposite directions, and put together they agree with the rule on about half the cases. The windows overlap, so only about a fifth of the cases are independent looks. A sample this size and this shape is a demonstration of method. It does not choose a style.
A grid of rules
The counted rules above used one lookback and one holding period. The grid below tries three of each, for nine rules, and counts how often the sign of the past move matched the sign of the next one.
Nine rules, none far from a coin, one a little above it
Read one more paragraph, 108 words
The highest, 52%, is the 60 day look with a 5 day hold; the lowest, 43%, is 20 and 20. Both are inside the noise. A 1 day hold has 253 cases, so a hit rate is uncertain by about 3% either way. A 5 day hold has about 47 independent looks and about 7% of uncertainty. A 20 day hold has about 11 looks and 15%. Overlap makes a long hold look like a rich sample when it is a few looks counted many times. If I pick the best of nine and report it, I have reported a number that the selection made.
What a fair test must fix first
Each of the choices above could have been made differently, and each changes the count. A fair test writes them down before it looks: the lookback, the holding period, the threshold for a stretch, the data used to choose them and the data used to judge them. It also includes costs. A reversion rule trades often, because it acts on every stretch. Every round trip of a futures leg pays STT of 0.05% on the sale and the other statutory charges in the cost module, so a small average gain per trade can vanish. A momentum rule trades less but holds through the fall that ends a trend. Neither cost shows in a count of ups and downs. The same goes for slippage, the gap between the price you see and the price you get, which grows when a rule fires on exactly the days when everyone else is moving too. Add it to the cost before judging an edge that is smaller than a fraction of a percent per trade.
Read one more paragraph, 67 words
Published studies add that the effects differ by market, period and horizon, and that many fade once costs are included. Indian studies exist, and the one paper in the sources reports momentum across many futures markets over months. None of that is a result for the Nifty on these dates. The only claim this lesson tests is the narrow one in its charts, on the dates shown.
Second example (model): what a daily flip rule must beat
Model, not market data. Take a rule that holds one Nifty future, long after an up day and short after a down day, so it flips on about half the days. Suppose returns really have a lag one autocorrelation of rho. Then the expected gross result of a day is rho times the typical size of a move, and for normal returns that size is the standard deviation times 0.80, the square root of two over pi.
Gross per day =
rho x sd x sqrt(2 / pi)
The break-even autocorrelation is smaller than the noise in measuring it
Read 2 more paragraphs, 170 words
The file's daily standard deviation was 82.7 basis points, so the expected absolute move is 65.97. A flip means selling one lot and buying another on one day, so on average each flip costs what one round trip costs. Using the statutory charges of a futures round trip, 5.65 basis points, and flips on half the days, a day costs 2.83. The break-even is where gross equals cost.
The break-even autocorrelation is 0.043, and the standard error of an autocorrelation from this many returns is 0.062. The cost is smaller than the noise: no one could tell a rho that pays from one that does not using a year of daily data. Detecting a rho of 0.043 at two standard errors needs about 2,181 returns, which is 8.7 years of sessions. The rule is not impossible. It cannot be established on the history that India's index futures offer at this length, and any estimate larger than this one on a year of data is mostly noise.
What India does to the trade
- The close is a rule. Before 3 Aug 2026 the closing price of a stock was the volume weighted average of the last 30 minutes of continuous trading. For stocks with derivatives it has come from a closing auction since 3 Aug 2026 (SEBI circular of 16 Jan 2026, HO/47/11/11(3)2025-MRD-POD2/I/2765/2026, para 1, para 4.1 and para 6.1). An index close is built from those stock closes, so a close to close series changes its definition inside a file that spans the date. The file here ends on 17 Jul 2026, before the switch.
- Expiry settlement. The settlement price of an expiring contract follows the closing prices until 7 Dec 2026. From then, by SEBI's circular of 15 Oct 2026 (para 4.9 and para 6.1), index contracts settle on the volume weighted average of the constituents over the last 30 minutes and stock contracts on the stock's own average. Index contracts stop trading at 3:30 p.m. on expiry day and others at 3:45 p.m.
- Short horizons are mostly Nifty weekly. Since 20 Nov 2024 each exchange may offer weekly contracts on only one benchmark index (SEBI circular of 1 Oct 2024, SEBI/HO/MRD/TPD-1/P/CIR/2024/132, para 5.5). NSE weekly Nifty contracts expire on Tuesdays (NSE/FAOP/68747).
- Costs of holding a short horizon view with options. From 20 Nov 2024 an extra extreme loss margin of 2% applies to short options on their expiry day, and from 1 Feb 2025 premium is collected upfront from option buyers and the calendar spread offset ends on the day a contract expires (same circular, para 5.6, para 5.1 and para 5.2). New index contracts must be worth at least Rs 15 lakh at introduction, with the lot set so that the value on review lies between Rs 15 and Rs 20 lakh (para 5.4).
- Charges. STT is 0.05% on a futures sale and 0.15% of premium on an option sale from 1 Apr 2026 (NSE/FATAX/73524).

What the research says
The story of horizons runs through a handful of papers. Lo and MacKinlay (1988) introduced the variance ratio test of the random walk. Poterba and Summers (also 1988) applied it and found stock returns positively serially correlated over short horizons and negatively over long ones, and showed that variance ratios are among the most powerful tests for mean reversion yet weak against some of the alternatives people care about. De Bondt and Thaler (1985) reported reversal in winners and losers over long horizons. Jegadeesh (1990) found a negative first order serial correlation in monthly stock returns that was highly significant, positive correlation at longer lags with the twelve month lag strong, and a spread between the extreme decile portfolios of 2.49 percentage points a month for 1934 to 1987. Lo and MacKinlay (1990) showed that a contrarian strategy can profit from lead and lag effects across stocks, with large stocks leading small ones, without any overreaction. Jegadeesh and Titman (1993) found that buying past winners and selling past losers earned significant returns over three to twelve month holds, part of which faded in the next two years.
Read one more paragraph, 157 words
Moskowitz, Ooi and Pedersen (2012) moved from stocks against stocks to each instrument against its own past. They found time series momentum in all 58 liquid futures contracts they studied, equity index futures among them, with persistence for one to twelve months and partial reversal beyond. Asness, Moskowitz and Pedersen found value and momentum premia across eight markets and asset classes, with the two negatively correlated with each other. For India, Sehgal reports strong momentum profits for individual stocks and for portfolios sorted on characteristics, which the Fama French three factor model largely explains, and Maheshwari and Dhankar find that both momentum and long run contrarian strategies earned more in heavily traded stocks. None of this is a result for the Nifty on the dates shown, and almost all of it concerns stocks or monthly horizons. The index and the daily lag are where the evidence in this lesson sits, and where it is thinnest.
Stretch: when a spread is the object
The strict form of reversion belongs to a spread with a home, tested in module A22 and traded with stock futures in module A23. A hedge ratio that moves is the business of module E11. How many rules were tried before one was reported is the subject of module E16, and a design that keeps the test days out of the fit is in module A29.
Two terms to hold on to from 18.9
Read the chart yourself
Look at the path above and find the longest stretch where the index kept moving one way. Ask what lookback and holding period would have called it momentum, and which would have called its end a reversal. If two choices of the same rule give opposite answers on the same stretch, the rule has a free parameter that the data did not fix. That parameter should be written down before the test, and the test run on a period that did not shape it.
The common mistake
The claim: Indian markets are mean reverting, so every sharp move gets reversed within the week.
The sample points the other way as often as it points this way. The five day variance ratio was a little below one, which fits the claim, yet it sat within one spread of no pull. Three quarters had a positive autocorrelation, which fits the opposite claim. After a stretch below the average the next week rose only two times in five. A single regime label, either way, needs far more data than four quarters. Ask for the lookback, the holding period and the threshold before the test, the count of cases including the misses, and a result that survives on a period that was not used to build it.
- Choosing the lag after looking. Lag 9 read −0.176 and cleared two standard errors. With 10 lags looked at, a chance of about 37% that one clears by luck makes it a lead to re-test, not a result.
- Counting overlap as sample. 219 cases of a 20 day hold were about 11 independent looks, with a hit rate uncertain by 15%.
- Forgetting that costs are in the same units. The break-even autocorrelation was 0.043, below its own standard error of 0.062. A rule can be right in sign and still lose to STT.
- Splicing closes across 3 Aug 2026. The definition of the stock close changed that day for stocks with derivatives, so a long file needs a check at the join.
- Reading a literature on stocks as a result for an index. Most momentum papers sort many stocks over months. A single index over days is a different object.

What I'd keep from this
- Momentum and reversion are bets at different horizons, not opposite worldviews.
- A single index is near a random walk; a spread can have a home.
- Read autocorrelation and variance ratios against their noise bands.
- Four quarters can flatter either style without proving it.
- Fix the lookback, holding period and threshold before the test.
Where this section sits in module 18.9
Before you trade. Derivatives trading carries a high risk of loss. SEBI's study "Profitability of Individual Traders in the Equity Derivatives Segment (FY25 to FY26)" (August 2026) found that 87.7% of individual traders in equity F&O made net losses in FY26, with aggregate net losses of Rs 91,685 crore. Read the SEBI study