Short late-June volume surge after a 60-day run above 25%
Condition: latest bar date is between June 27 and July 3, 60-day return is above +25%, and 5-day average volume is at least 1.5x 50-day average. Entry short at close. Stop 1.5x ATR(14) above close. Target 2.5x ATR(14) below close.
Stocks that have sharply outperformed and run on abnormal volume into the end of the Russell reconstitution window (late June) get bought by anticipating arbitrageurs; once the effective date passes, demand vanishes and the premium reverses. The calendar window is visible in the date column and the run-up in own bars.
Too rare to judge
Too few trades in 15 years to tell anything either way.
- 0 trades on the laggard stocks in 15 years; 30 are needed to judge.
- The rule as written never fired on any of the 42 stocks: it may be stricter than you meant.
42 large US stocks, 15 years
Before costs —
By trade and by day, sized to 362 rules
What the numbers say
The rule never fired: 0 trades on the laggard stocks in 15 years, and 0 trades in the bull, flat and bear markets alike. With no trades there is no R per trade, before or after costs, and nothing to compare with random dates. The verdict follows from that gap: 30 trades are needed to judge, and the rule as written gave none.
How it was tested
The rule as written, coded once, run on every stock the same way.
- Side
- Short
- Time limit
- Exit at the close after 30 trading days, unless the stop, the target or its own exit comes first
- Bar to clear
- t > 2.95, by trade and by day, sized to the 362 rules in the search it came from
- Prices
- 15 years of daily bars through 2026-11-20; judged 2026-11-22
The evidence
The laggards decide: 22 large stocks that lagged or fell, where hindsight can't flatter a rule. Today's winners sit beside them to show what survivorship would add.
| Market | Trades | Per trade | t, by trade | t, by day | Random dates | Winners, per trade |
|---|---|---|---|---|---|---|
| Bull | 0 | — | — | — | — | — |
| Flat | 0 | — | — | — | — | — |
| Bear | 0 | — | — | — | — | — |
| All | 0 | — | — | — |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 10.0 bps) plus 0.045R for the fills a real order wouldn't get. “By day” groups trades opened the same day, so a rule that fires on the same dates for every stock counts as a few events. “Random dates” places the same plan on random days of the same stocks in the same kind of market, 0 times; the idea must beat 95% of those draws.
The scanner we wroteShow the codeHide
from decimal import Decimal
from datetime import datetime, timedelta
from core.domain import Bar
from strategies.indicators import atr
from scanners.base import Candidate
class IndexReconRunupDecayShort:
name = "index_recon_runup_decay_short"
description = "Short the first qualifying session after the Russell recon effective date when a 60d run-up on surging volume ends with a recon-day volume spike"
def __init__(self, runup_lookback: int = 60, min_runup: float = 0.25, vol_short: int = 5, vol_long: int = 50, vol_mult: float = 1.5, recon_vol_mult: float = 2.0, max_sessions_after: int = 3, stop_atr: float = 1.5, target_atr: float = 2.5) -> None:
self._L = runup_lookback
self._min_runup = min_runup
self._vs = vol_short
self._vl = vol_long
self._vol_mult = vol_mult
self._recon_vol_mult = recon_vol_mult
self._max_after = max_sessions_after
self._stop_atr = stop_atr
self._target_atr = target_atr
@staticmethod
def _d(b: Bar) -> datetime:
t = b.timestamp
return datetime(t.year, t.month, t.day)
@staticmethod
def _last_friday_june(year: int) -> datetime:
j30 = datetime(year, 6, 30)
offset = (j30.weekday() - 4) % 7
return j30 - timedelta(days=offset)
def _cond(self, bars: list, k: int):
need = max(self._L, self._vs + self._vl)
if k < need:
return None
cur = float(bars[k].close)
past = float(bars[k - self._L].close)
if past <= 0:
return None
ret = cur / past - 1.0
if ret <= self._min_runup:
return None
short_win = bars[k - self._vs + 1:k + 1]
long_win = bars[k - self._vs - self._vl + 1:k - self._vs + 1]
if len(short_win) != self._vs or len(long_win) != self._vl:
return None
s_avg = sum(float(b.volume) for b in short_win) / self._vs
l_avg = sum(float(b.volume) for b in long_win) / self._vl
if l_avg <= 0:
return None
ratio = s_avg / l_avg
if ratio < self._vol_mult:
return None
return ret, ratio
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
n = len(bars)
if n < self._L + self._vs + self._vl + 15:
return None
last = self._d(bars[-1])
if last.month not in (6, 7):
return None
eff = self._last_friday_june(last.year)
if last <= eff or last > eff + timedelta(days=10):
return None
recon_idx = None
for i in range(n - 1, -1, -1):
if self._d(bars[i]) <= eff:
recon_idx = i
break
if recon_idx is None:
return None
if (eff - self._d(bars[recon_idx])).days > 3:
return None
sessions_after = n - 1 - recon_idx
if sessions_after < 1 or sessions_after > self._max_after:
return None
# Recon proxy: closing-auction volume spike on effective date vs pre-run baseline
base = bars[recon_idx - self._vs - self._vl:recon_idx - self._vs]
if len(base) != self._vl:
return None
base_avg = sum(float(b.volume) for b in base) / self._vl
if base_avg <= 0:
return None
recon_ratio = float(bars[recon_idx].volume) / base_avg
if recon_ratio < self._recon_vol_mult:
return None
# One-shot: skip if an earlier post-effective session already qualified
for k in range(recon_idx + 1, n - 1):
if self._cond(bars, k) is not None:
return None
c = self._cond(bars, n - 1)
if c is None:
return None
runup, vol_ratio = c
atr_val = atr(bars, 14)
if atr_val is None or atr_val <= 0:
return None
atr_dec = Decimal(str(atr_val))
current = bars[-1]
entry = current.close
stop = entry + Decimal(str(self._stop_atr)) * atr_dec
target = entry - Decimal(str(self._target_atr)) * atr_dec
if target <= 0 or not (target < entry < stop):
return None
risk = stop - entry
if risk <= 0:
return None
rr = (entry - target) / risk
if rr < Decimal("1.5"):
return None
runup_score = min(35, max(0, int((runup - self._min_runup) / 0.5 * 35)))
recon_score = min(35, max(0, int((recon_ratio - self._recon_vol_mult) / 3.0 * 35)))
rng = float(current.high - current.low)
weak = (float(current.high - current.close) / rng) if rng > 0 else 0.5
close_score = min(30, max(0, int(weak * 30)))
strength = max(0, min(100, runup_score + recon_score + close_score))
return Candidate(
ticker=ticker,
side="sell",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=strength,
thesis=(
f"Russell recon effective {eff.strftime('%Y-%m-%d')}; {sessions_after} session(s) after. "
f"60d run-up {runup:.0%}, 5d/50d vol {vol_ratio:.1f}x, recon-day vol {recon_ratio:.1f}x baseline. "
f"Arb/index demand exhausted at the closing auction; premium expected to decay."
),
)
Hypothetical results from our own backtest of the rule as restated, on 42 large US stocks over 15 years. Past performance, real or simulated, does not predict future results. Research and education only; not investment advice.
Describe it in plain words and get the same honest test in about a minute.