The school's files hold 300 Nifty sessions, and after a warm up of 60 sessions I tested a premium selling rule on the last 240, from 25 Sep 2025 to 15 Sep 2026. I tried it 48 ways: four holding periods, four wing widths and three filters on India's 30 day implied volatility. The best way sold wings 3% either side for 10 sessions, only when volatility sat below its recent median. It made money in all 16 trades. Its annual Sharpe ratio was 3.20, which reads as a 99.6% probability that the true ratio is above zero. After counting the 48 tries, the same record reads 88.5%. This lesson works out where that gap comes from. The rule is made up and priced from an IV series. Nothing here is a view.

3By the end you can

  1. Keep a trial ledger and work out the effective number of independent tries.
  2. Deflate a Sharpe ratio, apply Bonferroni, Holm and BHY haircuts, and find the record length needed.
  3. Work a probability of backtest overfitting by hand and read it beside the deflated ratio.
A blue wireframe surface on navy, a lit path descending its slope to the lowest point

The idea, plainly

Why does the best of many tries look better?

A Sharpe ratio is an estimate with an error, and the error is large on a short record. On 240 sessions, which is 0.95 years, a rule with no skill at all shows a Sharpe ratio within about one point of zero, either way, two times in three. Run 48 such rules and keep the highest, and you have kept the luckiest error. The expected size of that luck is the expected maximum of N draws from a normal curve. For large N it grows like the square root of 2 ln N. The two quantile form below is closer for small N.

E[max] ≈ (1 − γ) × Z(1 − 1/N)
+ γ × Z(1 − 1/(N × e))

Forty eight rules with no skill are expected to produce a best Sharpe near 2.32

Expected best annual Sharpe ratio among N rules with zero true skill on 240 sessions: 1.08 for 4, 1.61 for 10, 2.32 for 48, 2.58 for 96 and 3.34 for 1,0004 variants 1.08; 10 variants 1.61; 48 variants 2.32; 96 variants 2.58; 1,000 variants 3.34.Expected best annual Sharpe of N rules with noskill4 variants1.0810 variants1.6148 variants2.3296 variants2.581,000 variants3.34
Model, not market data. Expected maximum of N independent normal Sharpe estimates, scaled to 240 sessions of 0.95 years. Real variants are correlated, which lowers the effective N, a point taken up below. Source: RupeeCase model, with sessions counted from NSE end of day data. As of 15 Sep 2026.
Read one more paragraph, 92 words

Here Z is the inverse normal distribution function and γ is Euler's constant. At N of 48 the two terms are 2.04 and 2.42, and the blend is 2.26 standard errors. On 0.95 years the standard error of an annual Sharpe ratio is about one over the square root of the years, so the blend becomes 2.32 annual Sharpe. I checked the formula by brute force: 2,000 seeded draws of 48 independent noise series of 240 sessions gave an average best annual Sharpe of 2.31, against 2.32 from the formula.

What counts as a trial, and what goes in the ledger?

Every version of the test that touched the data. The grid points count. So does the exit rule you changed after a poor month, the filter you added, the lookback you stretched from twenty to sixty sessions, and the idea you dropped. The trials that failed are the reason the survivor looks good, so they cannot be left out of N. The only way to count honestly is to write the count as you go. A trial ledger is a table with one row per version. A ledger needs these columns:

  • What changed from the previous row, in one line.
  • Why: the thought that led to it, written before the result was seen.
  • Data window and whether any of it was looked at before.
  • Result after costs, kept even when poor.
  • Status: planned, run, dropped or kept.
Read 2 more paragraphs, 148 words

Pre-registration is the same discipline run forwards. Before opening the data, write the rule, the parameter ranges, the filter, the cost model and the test that would count as a failure, and date the note. A grid fixed in advance has a known N. A search that grows as the results come in has an N nobody can state. Only the first kind can be deflated.

In this family the ledger has 48 rows: four holds (5, 10, 15 or 20 sessions), four wing widths (a straddle, then wings of 1%, 2% and 3%), and three filters (none, volatility above its sixty session median, volatility below it). I also priced the matching long side, which makes 96. A buyer of the same strangle makes what the seller loses, less the buyer's own costs, so each long row is the mirror of a short row.

How is the family priced, and what does that leave out?

Nothing in the family is a traded price. The data are the school's Nifty 50 close and 30 day ATM implied volatility series for 25 Sep 2025 to 15 Sep 2026, with the first 60 sessions kept as warm up for the filter. A rule enters at the close of the first session that passes its filter once it is flat, holds for its number of sessions, and enters again at the exit close. Each position is priced with Black 76 from the day's 30 day ATM implied volatility, with the forward at the index close and the rate at zero, both legs on the same volatility, then marked each close with the days left. At expiry it settles to intrinsic value on the index close. That is the regime for every expiry in the window, and it is a model choice. The strikes sit on a grid of fifty points. The lot is 75 for expiries through 30 Dec 2025 and 65 after. A short row pays the securities transaction tax on the sale at the rate in force on the entry date, and every row pays the exchange outflow of Rs 3,553 per crore of premium at entry. A long row also pays the tax on exercise at expiry, on the settlement value. The real chain has a bid and an offer, a smile and a skew that a single volatility ignores, and far wings are the wide, thin contracts. Slippage of Rs 2 a unit on each leg at entry takes Rs 300 off the first trade of the best row, which earned Rs 2,299 gross, so 13% of it. Treat every rupee figure here as arithmetic on a model.

Stacked ridge lines on navy, each a distribution of returns, year after year

How many of the 48 are really different?

Fewer than the rows suggest. A five session straddle and a ten session straddle on the same dates share most of their P&L, and every short strangle in the family loses on the same bad days. Bailey, Borwein, Lopez de Prado and Zhu (2014) suggest a dimension reduction, such as principal components, when trials are not independent. One way to put a number on it: take the correlation matrix of the 48 daily P&L series, find its eigenvalues λ, and compute their participation ratio.

N_eff = (sum of λ)²
÷ (sum of λ²)

Read 2 more paragraphs, 178 words

If all 48 series were identical, one eigenvalue would hold everything and N_eff would be 1. If they were independent, every eigenvalue would be 1 and N_eff would be 48. For this family the largest eigenvalue is 23.1, which is 48% of the total, the top three hold 75%, and N_eff is 3.6. The average correlation between two variants is 0.45. Add the 48 long variants and N_eff stays at 3.6, because each long series has a correlation of −1.00 with its short twin and adds no new dimension.

So is N 48 or 3.6? Neither is the answer, and the gap is worth knowing. The eigenvalue count measures the freedom in the returns I computed. It cannot see the ideas I never ran, or the choice of a sixty session median instead of forty. I report both and treat the ledger count as the cautious end. A researcher who ran a thousand rows and kept forty has an N of a thousand whatever the correlation matrix of the forty says.

What does the deflated Sharpe ratio say about the best of them?

Take the best row. Its daily Sharpe ratio is 0.2014, which is 3.20 a year. Its returns have a skew of −0.87 and a kurtosis of 17.7, which is the signature of a seller: many small gains and a few large losses. Three steps follow, in the notation of Bailey and Lopez de Prado (2014), where T is the number of daily returns.

DSR = Φ[(SR − SR0) ×
√(T − 1) ÷ den]

The best row clears the usual bar only if the true trial count is about ten or fewer

Deflated Sharpe ratio of the best row by the number of trials: 97.7 percent at 4, 95.1 at 10, 88.5 at 48, 84.9 at 96 and 70.8 at 1,000N is 4, the effective count 97.7%; N is 10 95.1%; N is 48, the ledger 88.5%; N is 96, with long side 84.9%; N is 1,000 70.8%.Deflated Sharpe ratio of the best row, percentN is 4, theeffective count97.7%N is 1095.1%N is 48, theledger88.5%N is 96, withlong side84.9%N is 1,00070.8%
Model priced from NSE end of day index closes and 30 day ATM implied volatility, not traded prices. Same returns, same standard deviation of trial Sharpe ratios, only N changes. The usual bar is 95%. Source: NSE end of day data, model priced and computed by RupeeCase. As of 15 Sep 2026.
Read 4 more paragraphs, 228 words

First, the error band. A Sharpe ratio measured on T returns has a standard error that widens with negative skew and fat tails. The denominator is the square root of 1 − skew × SR + (kurtosis − 1) ÷ 4 × SR², with SR per day. Here that is 1.159, against 1 for a normal return.

Second, the benchmark. The best of N no skill rules is expected to reach SR0, the standard deviation of the trials' Sharpe ratios times the expected maximum. The 48 Sharpe ratios have a standard deviation of 0.78 a year, so SR0 is 0.78 × 2.26, or 1.77 a year.

Third, the probability. The z score is the gap between SR and the benchmark, times the square root of T − 1, divided by the denominator. Against zero it is 2.68, a probability of 99.6%. Against SR0 it is 1.20, and the deflated Sharpe ratio is 88.5%.

The usual bar is 95%, so this fails it. The full formula, with its sibling for the probabilistic ratio, is in walk forward testing. The best row would need an annual ratio of 3.73 to pass at N of 48. The result moves with N, which is the part to study. The standard deviation of the trials is held at its measured value in each bar.

How long a record would it take?

Two lengths come from the same algebra. The minimum track record length is the number of returns after which a Sharpe ratio beats a chosen benchmark at a chosen confidence (Bailey and Lopez de Prado, 2012). The minimum backtest length is how long a history must be before N trials stop producing a given Sharpe ratio by luck alone (Bailey, Borwein, Lopez de Prado and Zhu, 2014).

MinTRL = 1 + den² ×
(z ÷ (SR − SR*))²

MinBTL ≈ (M(N) ÷ E)²
< 2 ln N ÷ E²

Read 2 more paragraphs, 128 words

With z of 1.645 for one sided 95% confidence, and SR* of zero, the best row needs 91 sessions, or 0.36 years. That is why a lone test against zero looks easy. Against the deflated benchmark SR0 the need is 450 sessions, 1.78 years, and the files hold 240.

M(N) is the quantile blend from above and E is the Sharpe ratio you are willing to see from luck. For E of one and N of 48, the answer is 5.1 years, and the simpler bound gives 7.7. Turned round, a five year history allows no more than 45 independent configurations before luck alone reaches a Sharpe ratio of one, a result the authors state in their 2014 paper. Our 0.95 years allow 3.

How big a haircut?

A common habit is to halve a backtest Sharpe ratio. Harvey and Liu (2015) show the right cut is not a flat half. They convert the Sharpe ratio to a t statistic, adjust its p value for the number of tests, and convert back. The adjusted ratio is what a single, honest test would have shown.

t = SR × √years
p = 2 × (1 − T(|t|))
SR(adj) = T⁻¹(1 − p(adj)/2)
÷ √years
haircut = 1 − SR(adj) ÷ SR

Three adjustments of p are in use, and they differ in what they control.

  • Bonferroni multiplies each p value by the number of tests M, capped at one. It controls the chance of even one false discovery.
  • Holm sorts the p values from the smallest and multiplies the i-th by M − i + 1, then keeps the running maximum. It controls the same error, never more strictly than Bonferroni, and rejects at least as often.
  • Benjamini, Hochberg and Yekutieli (BHY) controls the share of false discoveries among the discoveries made, allowing for dependence between tests. It works from the largest p value down: p(i) = min(p(i+1), M × c(M) ÷ i × p(i)), with c(M) = 1 + 1/2 + ... + 1/M. For M of 48, c(M) is 4.46.
The RupeeCase terminal on sample data: Minimum investment: why does each strategy have one?
Watch in the terminal: why does each strategy have one? A short tutorial on sample data.
Read one more paragraph, 114 words

Harvey and Liu show the haircut is nonlinear. A Sharpe ratio well above the bar loses little, and a marginal one loses most of its size. They also state the caveat that applies here: an option like strategy with negative skew can show a high Sharpe ratio because the loss has not come yet, and they leave the correction for non normal returns to later work. Harvey, Liu and Zhu (2016) apply the same logic to the published factor literature and argue that a new discovery should clear a t statistic above three, not two. On a record of 0.95 years a t statistic of three needs an annual Sharpe ratio of 3.07.

What does the probability of backtest overfitting count?

The deflated ratio asks whether one number stands up against N tries. The probability of backtest overfitting (PBO) asks a different question: if I pick the best row on part of the history, how does it rank on the rest? Bailey, Borwein, Lopez de Prado and Zhu (2016) call the procedure combinatorially symmetric cross validation. Lay the P&L series of all N rows side by side. Cut the dates into S equal slices. Choose half of them as the training set in every possible way, which is C(S, S/2) ways. In each way:

  • find the row with the best training Sharpe ratio;
  • find its rank among all N rows on the test slices, from 1 for the worst to N for the best;
  • turn the rank into a relative rank ω = rank ÷ (N + 1), and take the logit λ = ln(ω ÷ (1 − ω)).

The PBO asks how often the training winner lands in the bottom half on unseen slices

The probability of backtest overfitting in six steps: lay the rows side by side, cut the dates into slices, choose half as training every possible way, pick the best training row, rank it on the other half, and count the logits at or below zeroDiagram with 6 boxes. Lay the rows side by side to Cut the dates into S slices; Cut the dates into S slices to Choose half as training; Choose half as training to Pick the best training row; Pick the best training row to Rank it on the other half; Rank it on the other half to Count logits at or below zero.Lay the rows side by sideone daily P&L column pervariantCut the dates into S slicesequal length, in time orderChoose half as trainingevery way, C(S, S/2) of themPick the best training rowhighest Sharpe on the traininghalfRank it on the other halfrelative rank, then the logitCount logits at or below zerothat share is the PBO
A method diagram with no market figures. It needs the P&L of every row tried, not only the winner's. Source: RupeeCase illustration of combinatorially symmetric cross validation. As of 31 Oct 2026.
Read 2 more paragraphs, 159 words

The PBO is the share of splits with λ at or below zero, which is the share where the training winner ranks at or below the middle of the field on data it did not choose on. If the training choice carries no information, ω is spread evenly, the logits follow a bell shape centred on zero, and the PBO is about one half. A value near zero says the selection carries over. A value of one half says it is a lottery. It does not say the rule makes money.

Two limits matter. The PBO needs the return series of every row, so a vendor who shows only the winner cannot supply it. And S sets the resolution: with S of 4 there are only six splits, so the answer moves in steps of one sixth. The paper's own illustration uses sixteen slices. The slices must also be long enough to hold more than a handful of trades.

What do the reality check and the SPA add?

Two older tests answer the deflation question by bootstrap instead of by formula. White (2000) built the reality check: resample the history many times, compute the best performance among all rules in each resample, and ask how often the real best beats that. Sullivan, Timmermann and White (1999) used it on thousands of technical trading rules. Hansen (2005) showed the reality check can be weakened by adding poor rules to the field, and built the test of superior predictive ability (SPA) to remove that flaw. Both need the full universe of rules tried, as the PBO does, and both report a p value for the claim that the best rule beats a benchmark. They are the natural next step once a ledger exists. Monte Carlo and bootstrap sets out the resampling they rest on.

What does the research say about selling index options?

It gives a reason to look, and a warning about what a look finds. Coval and Shumway (2001) found that at the money straddles on US index options lost about three percent a week on average, which points to a priced volatility factor. Bakshi and Kapadia (2003) found that delta hedged option gains are on average negative, in line with a negative market volatility risk premium. Both studies are on US index options, not Indian ones. They support a prior that a premium exists. They do not say which hold, which wing or which filter earns it, and that choice is the search this lesson counts.

Read 2 more paragraphs, 177 words

There is a second, less welcome literature. McLean and Pontiff (2016) followed 97 published stock return predictors and found portfolio returns 26% lower out of sample and 58% lower after publication. The first decline is, in their words, an upper bound on data mining effects. Haircuts of that size are not an accident. They are what selecting the best of many leaves behind. The Indian base rate is a reason for the same care: the SEBI study of Aug 2026 found that 87.7% of individual traders in equity derivatives made a net loss in FY26.

My own family shows both sides. Of 48 short rows, 33 had a positive Sharpe ratio, so the prior is not contradicted. But an equal weight book of all 48 has an annual Sharpe ratio of 0.49, a t statistic of 0.48 and a p value of 0.63. A single pre-registered question, "does selling this premium pay on these sessions", would have returned no evidence. The evidence came from picking the best row, which is the thing that needs deflating.

Two terms to hold on to from 19.13

Two terms to hold on to from 19.13Two terms to hold on to from 19.13. Multiple testing: Running many tests on the same data. The best result of many is biased upward, so its significance must be judged against the number run. Trial ledger: A dated table with one row for every version of a test run on the data, kept or dropped, so that N can be stated.Multiple testingRunning many tests on the same data. The bestresult of many is biased upward, so itssignificance must be judged against the...Trial ledgerA dated table with one row for every versionof a test run on the data, kept or dropped, sothat N can be stated.
From the module glossary. Source: Module 19.13, Backtest overfitting: deflated Sharpe, PBO and multiple testing.

How do Indian rules enter a backtest?

They change inside the history, and they change what a position costs and what a rule may do. For the 240 sessions of the family, these are the ones I read in the circulars.

  • Lot size. NSE/FAOP/70616 of 3 Oct 2025 cut the Nifty lot from 75 to 65, effective from 28 Oct 2025 end of day. Weekly and monthly contracts kept the old lot until the 30 Dec 2025 expiry. The model uses the old lot for expiries through that date.
  • Expiry day. NSE/FAOP/68747 of 25 Jun 2025 moved Nifty weekly and monthly expiries from Thursday to Tuesday for contracts expiring from 1 Sep 2025. Every listed weekly in the window therefore expires on a Tuesday, unless a holiday moves it. The model's option expires the chosen number of sessions after entry, so it is a stand in for a listed contract, not a tradable one.
  • Charges. NSE/FA/73061 of 27 Feb 2026 moved the options transaction charge from Rs 3,503 to Rs 3,552.99 per crore of premium from 1 Mar 2026, and cut the NSE investor protection fund contribution from Rs 50 to Rs 0.01 on the same base. The member's total outflow stayed at Rs 3,553 per crore on each side, so a backtest that shows a step in cost on 1 Mar 2026 has read the table wrongly. NSE/FATAX/73524 of 31 Mar 2026 raised securities transaction tax on the sale of an option from 0.10% to 0.15% of the premium, and on an exercised option from 0.125% to 0.15%, from 1 Apr 2026.
  • Expiry day margin. SEBI/HO/MRD/TPD-1/P/CIR/2024/132 of 1 Oct 2024 added an extended loss margin of 2% on short options on their expiry day from 20 Nov 2024, ended calendar spread benefit on expiry day from 1 Feb 2025, and limited each exchange to one benchmark index with weekly expiry from 20 Nov 2024. A backtest of short options that ignores the expiry day margin understates the capital a seller must hold on the day that matters most.
  • Algos. SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/0000013 of 4 Feb 2025 set the framework for retail algos, with brokers going live from 1 Oct 2025 under the glide path of SEBI/HO/MIRSD/MIRSD-PoD/P/CIR/2025/132 of 30 Sep 2025. Under the exchange modalities in NSE/INVG/69255 of 22 Jul 2025, a client algo sending more than 10 orders per second must be registered (para 8.2.3), a change in the logic of an algo needs re-registration (para 9.1), and a registered black box algo may not be modified, so a change in its logic is a fresh registration (para 9.9). A provider of a black box algo must be a registered research analyst and keep a research report for it (para 13.1.2). Every refit that changes logic is a new version, and under this framework it is also a paperwork event.
  • Verified claims. SEBI circular HO/38/14/(11)2026-MIRSD-POD1/I/18038/2026 of 3 Aug 2026 extended to 3 Sep 2026 the date by which advisers and research analysts must enrol with the Past Risk and Return Verification Agency to communicate past performance data that the agency has verified, with the agency operational from 4 May 2026. A backtest screenshot is not that.

Where this section sits in module 19.13

Where this section sits in module 19.13Where this section sits in module 19.13. 1. The idea, plainly 2. Worked example: ninety six ways, one winner 3. The common mistake 4. What I'd keep from this01The idea, plainly02Worked example: ninety six ways,one winner03The common mistake04What I'd keep from this
Sections 1 to 4 of 4; the highlighted one is next. Source: Module 19.13, Backtest overfitting: deflated Sharpe, PBO and multiple testing.

The charge table below puts rupees on the lot, charge and tax changes. It is arithmetic on one assumed sale, not a result.

SaleLotPremium, RsSTT, RsExchange outflow, RsTotal, Rs
Before 1 Apr 2026, contract of the old lot7518,75018.756.6625.41
Before 1 Apr 2026, contract of the new lot6516,25016.255.7722.02
From 1 Apr 20266516,25024.385.7730.15
Read one more paragraph, 88 words

Model, not market data: one straddle sold at a premium of Rs 250 a unit, both legs together, with the lot of the day. The exchange outflow is the transaction charge plus the investor protection fund contribution. Brokerage, GST on the exchange charge, the SEBI fee and slippage are left out. The tax step on 1 Apr 2026 is real, and the sum is small next to the premium. The smaller lot lowers every figure by itself. Charges rarely decide which row wins. The count of tries does.

Stretch: a ledger for the capstone

Before the capstone, redo the family with one change of your own, such as a different filter window, and write a ledger row for it. Count N again. Does the best row stay the same? Does the PBO move? The research note in the capstone asks for exactly this count, and financial machine learning carries purging and the trial count into models with many features. Earlier steps are in walk forward testing, the lesson on biases and backtesting options.

Worked example: ninety six ways, one winner

Four rows and the PBO by hand

Start small enough to do on paper. Take four of the family, chosen to differ in hold, width and filter and not for their results. A is the 10 session strangle with wings of 3% when volatility is low. B is the five session straddle with no filter. C is the 15 session strangle with wings of 1% and no filter. D is the 20 session strangle with wings of 2% when volatility is high. Cut the 240 sessions into four slices of sixty: S1 from 25 Sep to 22 Dec 2025, S2 from 23 Dec 2025 to 19 Mar 2026, S3 from 20 Mar to 19 Jun 2026 and S4 from 22 Jun to 15 Sep 2026. The performance statistic is the mean daily P&L in rupees per lot, which a pencil can average. The paper allows any statistic, and Sharpe ratios would need the daily series.

A radar sweep in teal over a polar grid dotted with lit points
RowS1S2S3S4All four
A12998516369278
B1,709−2921,007−91583
C719−1,355863673225
D−274−7942,1150262
Train, testTraining scoresTest scoresWinner, test rankωLogit
S1, S2, S3, S4A 113.5, B 708.5, C −318.0, D −534.0A 442.5, B 458.0, C 768.0, D 1,057.5B, 20.4−0.41
S1, S3, S2, S4A 322.5, B 1,358.0, C 791.0, D 920.5A 233.5, B −191.5, C −341.0, D −397.0B, 30.60.41
S1, S4, S2, S3A 249.0, B 809.0, C 696.0, D −137.0A 307.0, B 357.5, C −246.0, D 660.5B, 30.60.41
S2, S3, S1, S4A 307.0, B 357.5, C −246.0, D 660.5A 249.0, B 809.0, C 696.0, D −137.0D, 10.2−1.39
S2, S4, S1, S3A 233.5, B −191.5, C −341.0, D −397.0A 322.5, B 1,358.0, C 791.0, D 920.5A, 10.2−1.39
S3, S4, S1, S2A 442.5, B 458.0, C 768.0, D 1,057.5A 113.5, B 708.5, C −318.0, D −534.0D, 10.2−1.39
Read 4 more paragraphs, 227 words

Mean daily P&L in rupees per lot, after charges, by slice of sixty sessions. Model priced from NSE end of day index closes and 30 day ATM implied volatility.

There are C(4, 2) = 6 ways to choose two slices as training. For each, average the two training slices to score the four rows, take the winner, average the other two slices to score them out of sample, and rank the winner among the four from 1 to 4. The relative rank is that rank over 5 and the logit follows.

Training and test scores are the mean of two slices, in rupees per lot per session. The rank counts from 1 for the worst of four.

Look at split 1. The training slices S1 and S2 favour B, with 708.5. On S3 and S4 B averages 458.0, which ranks second counting from the worst of four, so ω is 0.4 and the logit is −0.41. Four of the six logits are at or below zero, so the PBO of this small field is 67%. The size of that number should not be trusted: six splits and four rows give a coarse reading, and I chose the rows. What the table shows is the mechanism. In splits 4, 5 and 6 the training winner ranked last on the slices it had not seen.

The whole family of 48

Now the full run, with the model described above. The slices matter, because the 240 sessions are not one market. India's 30 day ATM implied volatility averaged 10.1% in S1, 12.8% in S2, 17.5% in S3, and 11.2% in S4, and peaked at 29.2% in S3. Nifty moved −12.1% over S2.

The four slices meet four different volatility regimes

Nifty 30 day at the money implied volatility daily from 1 Jul 2025 to 15 Sep 2026 with the start of four slices of sixty sessions marked: the third slice holds a spike and the others are calmerNifty 30 day ATM IV: from 12.0% at 1 Jul 2025 to 12.4% at 15 Sep 2026, high 29.2% at 30 Mar 2026, low 8.6% at 24 Dec 2025.10%15%20%25%30%Jul 2025OctJan 2026AprJulS1S2S3S412.4%
Constant maturity 30 day ATM implied volatility of the Nifty, percent. The marks show where each slice of sixty sessions starts after the sixty session warm up. A rule picked on two slices is tested on two others that may look nothing like them. Source: NSE end of day data, computed by RupeeCase. As of 15 Sep 2026.

The best rows, ranked by annual Sharpe ratio, and what the three adjustments do to their p values:

Row (hold, wings, filter)SharpetpBonferroniHolmBHY
10 sessions, wings 3%, IV low3.203.120.0020.0980.0980.435
10 sessions, wings 2%, IV low2.672.610.0100.4650.4551.000
10 sessions, wings 1%, IV low1.601.560.1201.0001.0001.000
5 sessions, wings 1%, IV low1.511.480.1411.0001.0001.000
5 sessions, straddle, IV low1.401.360.1751.0001.0001.000

Three adjustments give three haircuts, none of them a flat half

Annual Sharpe ratio of the best row: 3.20 reported, 1.70 after Bonferroni, 1.70 after Holm, 0.80 after BHY and 1.60 after a flat half cutReported 3.20; After Bonferroni 1.70; After Holm 1.70; After BHY 0.80; Flat 50% rule 1.60.Annual Sharpe ratio of the best rowReported3.20After Bonferroni1.70After Holm1.70After BHY0.80Flat 50% rule1.60
Model priced from NSE end of day index closes and 30 day ATM implied volatility. Harvey and Liu style adjustment of 48 p values on 240 sessions. Costs of STT and the exchange charge are included. Source: NSE end of day data, model priced and computed by RupeeCase. As of 15 Sep 2026.

The PBO of the short rows stays below one in three across slice counts

Probability of backtest overfitting of the 48 short rows by number of slices: 16.7 percent at 4, 25.0 at 6, 30.0 at 8, 27.0 at 10 and 29.3 at 12S is 4, 6 splits 16.7%; S is 6, 20 splits 25.0%; S is 8, 70 splits 30.0%; S is 10, 252 splits 27.0%; S is 12, 924 splits 29.3%.PBO of the 48 short rows, percentS is 4, 6 splits16.7%S is 6, 20 splits25.0%S is 8, 70 splits30.0%S is 10, 252splits27.0%S is 12, 924splits29.3%
Model priced from NSE end of day index closes and 30 day ATM implied volatility. Sharpe ratio is the training and test statistic. Coarse at S of 4, where six splits give steps of one sixth. Source: NSE end of day data, model priced and computed by RupeeCase. As of 15 Sep 2026.
  • Single test against zero: 99.6%. It treats the row as the only one tried.
  • Deflated Sharpe ratio: 88.5% at N of 48, 97.7% at N of 4, the effective count rounded. It does not clear the usual bar at the ledger count.
  • Haircut: 47% to 75% off the reported ratio.
  • PBO: 30%, so the training winner usually, but not always, carries over. A half and half split picks the same row, which scores 1.88 on the first 120 sessions and 4.16 on the last 120, the highest of the 48 rows on that half. That is a single split, and the correlation across all rows between their Sharpe ratios in the two halves is −0.14.
  • Equal weight book: t of 0.48. The premium as a whole is not distinguished from zero.
Read 5 more paragraphs, 345 words

Model priced from NSE end of day index closes and 30 day ATM implied volatility, 240 sessions, M of 48 two sided p values from a t distribution. A row at the first row's t of 3.12 has a p of 0.002, which is a strong single test. Multiply by 48 and the Bonferroni p is 0.098. Holm gives the same for the smallest p. BHY is stricter here: its factor c(M) of 4.46 applies at the first rank, and only two rows have small p values to share it. Two rows had a raw p under five percent where chance alone gives 2.4 on average. Adjusted, neither passes at five percent under any of the three.

Convert back. Under Bonferroni and Holm the adjusted t is 1.66 and the adjusted Sharpe ratio 1.70, a haircut of 47%. Under BHY the adjusted ratio is 0.80, a haircut of 75%. The three average 56%, which is near the rule of thumb of half, but this time we know why and how it varies with the row.

Now the PBO. Slices of thirty sessions give S of 8 and 70 splits. In 21 of them the training winner ranked at or below the middle on the test slices, so the PBO is 30%, and the median logit is 2.73. It moves with S, as the chart shows. The mirror long side, added to make 96 rows, raises it to 39% at S of 8, because the long rows can win a training half in a market that then turns.

Put the checks side by side, because they answer different questions.

My reading: in this one history the low volatility filter kept the rule out of the first leg of the spring spike and let it back in once volatility fell below its own rising median. That is a fact about this history and a hypothesis about the next. The evidence does not reject that hypothesis. It is also not enough to accept it, and 1.78 years would be.

The tail that sixteen wins never met

The best row won all 16 trades for Rs 66,861 gross, Rs 117 of costs, which is 0.18% of the gross, and Rs 66,744 net per lot. The largest two trades made 32% of it. In the whole window, 51 of 230 ten session windows, 22%, moved more than 3% in either direction. If entries were random, the chance of sixteen entries all missing such a window would be 1.8%. The low volatility filter did the avoiding, in one sample.

Read one more paragraph, 106 words

See what a missed window costs. On 26 Feb 2026 Nifty closed at 25,496.55 and 30 day implied volatility was 11.2%, above its sixty session median of 10.4%, so the filter said no. An unfiltered row would have sold the strangle with a put wing at 24,750 for a model premium of 53.8 points. On 13 Mar 2026 Nifty closed at 23,151.10, a move of −9.2% from the entry close. The put wing finished 1,598.9 points in the money. On one lot of 65, the loss is Rs 1,00,434, which is 1.5 times everything the best row made in sixteen trades.

The RupeeCase terminal on sample data: Sharpe and volatility: how bumpy was the ride?
Watch in the terminal: how bumpy was the ride? A short tutorial on sample data.

The common mistake

The belief: The backtest shows a Sharpe above three and a z score that clears every bar, so the strategy has an edge. A Sharpe ratio is a number with an error, and the best of many carries the error's upward bias. Five specific slips follow, each priced on the numbers above. First, quoting the single test: the best row reads 99.6% against zero and 88.5% after the ledger, and carrying forward the Bonferroni cut, with profit scaling as the Sharpe ratio at the same risk, leaves Rs 35,578 per lot of the Rs 66,744 shown, so sizing five lots on the headline overstates the record by about Rs 1,55,830. Second, counting only the survivors: at N of 4 the same row passes at 97.7%, at N of 48 it does not. Third, reading sixteen wins as safety: one unfiltered ten session window cost Rs 1,00,434 on one lot. Fourth, treating the long mirror rows as new evidence: they double N to 96 and add 3.6 effective dimensions, not more. Fifth, refitting a registered algo as tuning: under NSE/INVG/69255 para 9.9 a change in the logic of a registered black box algo is a fresh registration, so a parameter chase has a paperwork cost as well as a statistical one. The remedy is dull and cheap: a ledger, a count, a holdout looked at once, and a failure test written before the run. A verified past performance claim is a different thing from a backtest, and SEBI's PaRRVA circular is where that line sits.

What I'd keep from this

  • The best of N no skill rules is expected to look skilled.
  • Keep a trial ledger: every version, kept or dropped, counts in N.
  • Correlated variants count less: effective N came to under four here.
  • Deflate the Sharpe ratio, then haircut it: the cut is not a flat half.
  • The PBO is the share of splits where the training winner ranks below median.
  • In India a change in a registered black box algo's logic is a fresh registration.

Where this section sits in module 19.13

Where this section sits in module 19.13Where this section sits in module 19.13. 1. The idea, plainly 2. Worked example: ninety six ways, one winner 3. The common mistake 4. What I'd keep from this01The idea, plainly02Worked example: ninety six ways,one winner03The common mistake04What I'd keep from this
Sections 1 to 4 of 4; the highlighted one is next. Source: Module 19.13, Backtest overfitting: deflated Sharpe, PBO and multiple testing.

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