How many tries does it take for a stock rule to look great?
Not many. We took one plain idea, "hold the Indian stocks closest to their high", and ran eight small variations of it on the MarketDeck Research Desk on 5 December 2026. The returns ran from about -2% to +147% over four to five years. The best-looking version beat the Nifty 500 by more than 80 percentage points, and its held-back test, the part we kept out of view, was about half as good. [S1]
Nothing was cherry-picked after the fact: every variation we ran is in the table below, and the data is downloadable. That is the point. If you only see the winner, you cannot tell skill from the luck of having tried several versions.
Everything here is a historical simulation on MarketDeck data. It is not investment advice, it is not a recommendation to buy or sell anything, and past results do not tell you what will happen next.
What exactly did we run?
One idea, eight versions. Each ranks Nifty 500 companies by how close their price is to its recent high, holds the closest ones in equal amounts, and pays modelled brokerage, taxes and slippage on every trade. We changed only three dials:
- Look-back: how far back "recent high" reaches: 60, 120, 180 or 252 trading days.
- Number of stocks: 10 or 30.
- How often it trades: every week, month or quarter.
None of these is a strange choice. Any of them could be what someone picks "because it looked sensible". We had planned 12 to 15 variations; we stopped at eight to keep the study readable, and we say so rather than hide it.
The Desk also holds back the last 30% of each test period. A rule is first judged on the earlier 70%, then on the held-back months it was not shaped around. Sharpe ratio, in the table, is return per unit of risk: higher is better, and below zero means you were not paid for the swings. [S2]
What did the eight versions do?
| Version | Look-back | Stocks | Trades | Return | Sharpe, earlier 70% | Sharpe, held-back 30% | Random baskets it beat |
|---|---|---|---|---|---|---|---|
| 1 | 252 days | 30 | monthly | +102% | 0.82 | 0.28 | 36% |
| 2 | 252 days | 10 | monthly | +83% | 0.79 | -0.21 | 29% |
| 3 | 120 days | 30 | monthly | +120% | 1.02 | -0.20 | 40% |
| 4 | 60 days | 30 | monthly | +96% | 0.63 | 0.08 | 27% |
| 5 | 180 days | 30 | monthly | +124% | 0.99 | 0.16 | 44% |
| 6 | 120 days | 30 | quarterly | +147% | 0.96 | 0.44 | 55% |
| 7 | 252 days | 30 | quarterly | +142% | 1.07 | 0.55 | 58% |
| 8 | 120 days | 30 | weekly | -2% | -0.07 | -0.99 | 0% |
Seven of the eight beat the Nifty 500 over their own test period, and the last one did not. The last column is the Desk's luck check: the share of 1,000 random portfolios of the same size, built and charged the same way, that the version beat on risk-adjusted return. [S1]
What does the "best version" tell us?
It tells us to be careful. Version 7 had the best Sharpe ratio in the earlier 70% (1.07), so a person choosing "the best of eight" would have picked it. On the held-back months its Sharpe was 0.55, about half. Version 3, second best before the split with 1.02, went to -0.20 in the held-back stretch.
Across all eight versions the average earlier Sharpe was 0.78 and the average held-back Sharpe was 0.01. Every single version scored lower on the held-back months than before them, and three of eight finished negative. [S1]
That is what choosing the best of several tries looks like. The winner's score is partly the idea and partly the luck of the draw, and the luck does not repeat.
Did the winner at least beat random picking?
Barely, and only on a good day. Versions 6 and 7 looked strong, with returns above +140%, yet they beat only 55% and 58% of random baskets. A real edge usually sits much higher than the middle of the pack. None of the eight beat simply holding every company on the list in equal amounts, which returned more than +145% over the same period for the best two. [S1]
The Desk marks each run with a statement about whether it can be told apart from luck. For versions 6 and 7 that statement said yes at the 95% level. But it counted each run as a single trial, because it does not know about the other seven. Viewed as the best of eight tries, that claim is much weaker, and we have not recomputed it here. This is the reason to count your tries, not only the winner.
Why did the weekly version fall apart?
Because trading that often cost more than the idea could earn. Version 8 uses the same rule as version 3, with the same 120-day look-back and 30 stocks, but trades every week instead of every month. Modelled costs and slippage took about 65 percentage points of its return, and it finished at -2% while the monthly version made +120%. [S1]
One dial, and the result went from clearly good to nothing. If a tiny change can do that, a headline number from one setting says very little about the idea itself.
What does this mean for testing your own idea?
Count every version you try, and judge the idea, not the best number. Three habits cover most of it:
- Write down how many versions you ran. "I tried 8 and this was the best" is a different claim from "I tried one."
- Look at the held-back months before the headline. If the later score drops by half or goes negative, treat the earlier one as partly luck.
- Compare with random baskets built the same way. Beating the index is easy to do by accident; see our earlier study of seven rules.
You can run all of this on the Research Desk without writing code, starting from one of the starter ideas, or connect Claude to set up the runs for you.
How was this measured, and what are the limits?
Each version was run once on the Research Desk on 5 December 2026, with the Desk's standard settings, and nothing was re-run to improve a result. The details:
- Data: daily prices for companies listed on NSE, adjusted for splits and bonuses, up to 4 December 2026. Dividends are not included, for the rules or for the Nifty.
- List: today's Nifty 500 list, applied to the whole period.
- Costs: the Desk's standard India delivery costs plus liquidity-based slippage.
- Test periods: they differ a little by version, between November 2021 and September 2022, because each look-back needs its own warm-up history. All end in December 2026. The held-back 30% is therefore 1 to 1.5 years.
The limits matter. This is eight versions, not eighty, and they are close cousins of each other, so they are not eight independent tries. The held-back stretch is short, and one year or so is a noisy test. All of it is one market over one window. And survivorship bias lifts every number: companies that left the index are missing, and that flatters rules and random baskets alike. Eight versions cannot prove that every rule fades; they show how easily a good-looking number appears.
Can I use this data?
Yes: you are welcome to quote the results or reuse the table, as long as you link back to this page as the source. The full figures for all eight versions, including the run ids, are in the downloadable CSV.
To cite it: *MarketDeck, "How many tries does it take for a stock rule to look great?", 5 December 2026, https://marketdeck.in/intelligence/issues/tries-until-stock-rule-looks-great-india-2026/.*
If you are a journalist or researcher and want the exact settings or a re-run on a different period, write to [email protected].
THE EVIDENCE DESK
Sources and scope
Third-party facts are linked to the page we opened. Widgets marked “Illustrative, simulated data” use made-up inputs; real figures name their source and window.
- S1 MarketDeck Research Desk runs, 5 Dec 2026 (data in the downloadable CSV) ↗
Eight runs on the Research Desk on 5 Dec 2026, prices to 4 Dec 2026, standard settings, india_delivery_2026 costs, liquidity-tiered slippage, 1,000-portfolio luck check, 30% holdout. Run ids in the CSV. Figures rounded. Opened 2026-12-05.
- S2 MarketDeck Research Desk guide ↗
MarketDeck's own product page. Luck-check and holdout method as described there. Opened 2026-12-05.
This is AI-assisted educational writing published by MarketDeck. Sources were opened and widget arithmetic tested during preparation. No named human expert review or professional credential is claimed. Read our editorial standards and limitations.