- 1,660 backtests: 830 stock strategies, each run twice (wait for the next rebalance, or refill the next morning)
- NSE stocks: Nifty 500, Nifty 200, Midcap 150 and Smallcap 250
- Up to 10 stocks per strategy, βΉ10 lakh capital, daily prices
- 5 years (Nov 2021 β Nov 2026), plus the last 3 years on their own
- Results before costs
- Tool used: AI Strategy Finder
You hold 10 stocks and you rebalance once a month. In the middle of the month one stock hits its stop-loss and is sold. Now one place in your portfolio is empty. It holds cash until the next rebalance.
Every investor asks the same thing at that moment: should I buy a new stock tomorrow, or wait? Cash earns nothing, so buying at once feels right. We wanted numbers.
So we ran 830 stock strategies twice. Once with the empty place left in cash until the next rebalance. Once with it filled the next morning. Nothing else changed.
Objective
For stock strategies that buy and sell on a fixed rebalance date, find out what happens when an empty place is refilled at once:
- Does the return go up?
- Does the worst fall get deeper?
- Does the answer change for strategies that hold a lot of cash, and for small or large companies?
How we tested it
We used the engine and market data of the AI Strategy Finder.
- 20 strategy searches on four groups of NSE stocks: Nifty 500, Nifty 200, Midcap 150 and Smallcap 250. Five searches on each group.
- From each search we kept the best-ranked strategies, plus every strategy that passed all of our robustness tests. That gave 830 strategies. 37 of them passed all the tests.
- Every strategy holds up to 10 stocks and buys and sells on its rebalance date. Between two rebalances a stock can still be sold by its stop-loss or its exit rule.
- Each strategy was run twice:
- Wait: an empty place stays in cash until the next rebalance.
- Refill: the next morning, the empty place is filled with the best-ranked stock that passes the strategy's own filters. Same ranking, same exits, same rebalance.
- That gives 830 Γ 2 = 1,660 backtests.
Other details:
- Period: 23 November 2021 to 23 November 2026 (5 years). We also report the last 3 years on their own, from November 2023. The searches did not choose strategies on those 3 years.
- Prices: daily NSE prices. Capital: βΉ10 lakh.
- Stocks only, so lot size does not apply.
- Results are before costs. Refill trades much more, so costs would hurt it more (see Limitations).
How to read the tables. "Return" is the yearly return (CAGR). "Worst fall" is the largest drop from a peak. For each strategy we took the refill result minus the wait result. "Typical change" is the middle value of those changes. "Refill higher" is how often refill made more money than waiting on the same strategy. 50% means no difference.
Result 1Over 5 years, refill lost more often than it won
| All 830 strategies | Wait | Refill |
|---|---|---|
| Typical share of money invested | 67.4% | 97.7% |
| Typical trades in 5 years | 196 | 495 |
| Typical worst fall | 24.7% | 34.4% |
| Typical change in return per year | β1.1 points | |
| Refill made more money | 38% of strategies | |
| Refill made the worst fall deeper | 79% of strategies | |
| Refill gave more return and no deeper fall | 12% of strategies | |
Typical values. Refill kept the money invested, and the fall got deeper.
Refill kept the money almost fully invested. It more than doubled the number of trades. But on the same strategy it lowered the 5-year return about 6 times in 10, and it made the worst fall deeper about 8 times in 10. The typical worst fall went from about a quarter of the capital to about a third.
Result 2In the last 3 years, refill earned a little more, with the same deeper falls
| All 830 strategies, last 3 years only | Result |
|---|---|
| Typical change in return per year | +1.2 points |
| Refill made more money | 66% of strategies |
| Typical worst fall (wait β refill) | 24.5% β 34.2% |
| Refill made the worst fall deeper | 80% of strategies |
| Refill gave more return and no deeper fall | 19% of strategies |
β 50% = no differenceThe return result changed with the period. The deeper fall did not.
This is the part we are least sure of. In the last 3 years, refill made more money in 2 of 3 strategies. Over the full 5 years it made less in about 6 of 10. So the return result changed with the period. The fall did not: in both periods refill made the fall deeper in 8 of 10 strategies.
Result 3Strategies that sit in cash got much worse
| Group | Strategies | Typical change in return (5 years) | Refill higher | Typical worst fall (wait β refill) | More return and no deeper fall |
|---|---|---|---|---|---|
| Invested less than 70% of the time | 419 | β3.8 points | 32% | 20.6% β 40.8% | 2% |
| Invested 70% of the time or more | 411 | β0.4 points | 43% | 30.1% β 30.6% | 21% |
Strategies that sat in cash: the worst fall almost doubled.
Half the strategies were in cash most of the time. Their typical strategy was invested only 24.2% of the time. For them, refill was clearly bad. The worst fall almost doubled, it got deeper in 98% of them, and trades went from 191 to 1,327. Their cash was not a waste. Their filters kept them out of the market when few stocks looked good. Refill bought the next stock anyway, even when it was weak.
In the last 3 years the picture was the same for this group: β1.8 points, and the worst fall went from 20.4% to 39.6%.
For strategies that were already almost fully invested, refill changed little over 5 years (β0.4 points). In the last 3 years it helped them: +1.9 points, more money in 86% of them, and the worst fall moved only from 29.9% to 30.3%. This was the one group where refill looked useful.
Result 4Strategies that passed all our tests: a small change
| 37 strategies that passed all tests | Full 5 years | Last 3 years |
|---|---|---|
| Typical return per year (wait β refill) | 25.5% β 24.6% | 18.6% β 19.8% |
| Typical change in return per year | β1.2 points | +0.5 points |
| Refill made more money | 24% | 68% |
| Typical worst fall (wait β refill) | 25.6% β 27.3% | 25.1% β 26.7% |
| Refill made the worst fall deeper | 65% | 65% |
A small change either way.
The strong strategies were already 95.1% invested, so refill had little to fill. It made the fall a little deeper in 2 of 3 of them. On return it was a coin toss that depended on the period.
Result 5By group of stocks
| Stocks | Strategies | Change in return, 5 years | Refill higher, 5 years | Change in return, last 3 years | Typical worst fall, 5 years (wait β refill) |
|---|---|---|---|---|---|
| Nifty 500 | 202 | β2.1 points | 7% | +0.1 points | 24.7% β 39.5% |
| Nifty 200 | 209 | β0.3 points | 47% | +4.7 points | 24.6% β 32.7% |
| Midcap 150 | 209 | +1.1 points | 64% | +4.0 points | 22.6% β 28.8% |
| Smallcap 250 | 210 | β1.3 points | 31% | +0.1 points | 29.1% β 43.0% |
Points per year, refill minus wait. Left of the line = refill earned less.
Wait: Nifty 500 24.7%, Nifty 200 24.6%, Midcap 150 22.6%, Smallcap 250 29.1%. Every group fell deeper with refill.
Midcap 150 was the only group where refill earned more over 5 years. Even there the worst fall got deeper. On Smallcap 250 refill pushed the typical worst fall to 43%. On Nifty 500 refill made more money in only 7% of strategies over 5 years. In every group, refill made the worst fall deeper in 75% to 86% of strategies.
What an algo trader can take from this
- Cash in a rebalance strategy is often part of the strategy. If your filters leave places empty, they are telling you that few stocks look good. Filling those places anyway made the worst fall almost double.
- "Always fully invested" is not free. Refill raised the share invested from 67% to 98% but made the fall deeper in 8 of 10 strategies. Ask whether the extra return is worth the extra fall.
- If your strategy is already almost fully invested, refill matters little. Over 5 years the change was small (β0.4 points). It helped in the last 3 years, but that did not hold over the full period.
- Check both the return and the fall. Refill gave more return with no deeper fall in only 12% of strategies over 5 years.
- Count your costs. Refill more than doubled the number of trades. With brokerage and taxes, the small gains we saw would shrink.
- Test your own strategy both ways. The result depended on the strategy and the period. You can run your own idea in the AI Strategy Finder or the AI Strategy Backtester and compare.
Advantages of this test
- Large: 830 strategies, 1,660 backtests, not a handful of hand-picked portfolios.
- Fair: each pair changes only one thing. Same strategy, same stocks, same dates, same exits.
- Four groups of stocks, from large companies to small ones.
- Checked over 5 years and over the last 3 years on their own, so one lucky period cannot decide the answer.
Limitations
- Before costs. Brokerage, taxes and slippage are not taken out. Refill trades much more, so this flatters refill.
- Rebalance strategies only. Strategies that buy on a signal instead of a date were not tested here.
- One way to refill. We filled the place with the best-ranked stock the next morning. A stricter refill (for example, only above a higher bar) may behave differently.
- Only 37 strategies passed all tests. Result 4 is a small group.
- 5 years of Indian stocks. The return result changed between the full period and the last 3 years. Markets change.
- Results are typical values (the middle of the group). Some single strategies did better with refill.
Findings in one place
- Refill made the worst fall deeper in about 8 of 10 strategies, in both periods. Typical fall: about 25% β 34%.
- Over 5 years refill lowered the return in about 6 of 10 strategies (typical β1.1 points).
- In the last 3 years refill earned more in 2 of 3 strategies (typical +1.2 points). Not stable across periods.
- Strategies that sit in cash: clearly worse with refill (β3.8 points, fall 20.6% β 40.8%).
- Strategies already almost fully invested: little change over 5 years, a gain in the last 3 years.
- Refill more than doubled the trades (196 β 495), before costs.