Short a low-volume gap-up, target the prior close
Fire when the open exceeds the prior close by at least 1.2 ATR(14), volume is below 0.8x the 20-day average, and the close is below the open. Enter short at close. Stop above the day's high plus 0.3 ATR; target the prior close, at least 1.2x ATR below entry.
A gap up on volume below the 20-day average is not backed by institutional demand and reflects thin pre-market liquidity. Liquidity suppliers who sold into the gap are compensated as the price reverts toward the prior close once normal volume resumes.
Too rare to judge
Too few trades in 15 years to tell anything either way.
- 1 trades on the laggard stocks in 15 years; 30 are needed to judge.
42 large US stocks, 15 years
Before costs −1.607R
By trade and by day, sized to 362 rules
What the numbers say
The rule fired only 1 time on the laggard stocks in 15 years, against the 30 needed to judge. That single trade lost −1.683R after costs, and it beat only 5% of random-date draws. No flat or bear-market trades occurred. The winners showed 0.832R per trade, but the laggard sample is too thin to support any conclusion.
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 | 1 | −1.683R | — | — · 1d | +0.275R · beats 5% | +1.785R |
| Flat | 0 | — | — | — | — | −1.074R |
| Bear | 0 | — | — | — | — | — |
| All | 1 | −1.683R | +0.275R | +0.832R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 6.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, 20 times; the idea must beat 95% of those draws.
The scanner we wroteShow the codeHide
from decimal import Decimal
from core.domain import Bar
from strategies.indicators import atr
from scanners.base import Candidate
class LiquidityVacuumGapFadeShort:
name = "liquidity_vacuum_gap_fade_short"
description = "Short a >=1 ATR gap up on below-average volume that closes red; target the gap fill."
def __init__(self, gap_atr: float = 1.0, vol_ratio_max: float = 1.0, stop_atr_buffer: float = 0.3, min_reward_atr: float = 1.2, min_rr: float = 1.5, atr_period: int = 14, vol_lookback: int = 20, min_bars: int = 60) -> None:
self._gap_atr = Decimal(str(gap_atr))
self._vol_ratio_max = vol_ratio_max
self._stop_buf = Decimal(str(stop_atr_buffer))
self._min_reward_atr = Decimal(str(min_reward_atr))
self._min_rr = Decimal(str(min_rr))
self._atr_period = atr_period
self._vol_lookback = vol_lookback
self._min_bars = min_bars
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < max(self._min_bars, self._vol_lookback + 2, self._atr_period + 2):
return None
cur = bars[-1]
prev = bars[-2]
# ATR measured through the prior bar so today's gap does not inflate it
atr_val = atr(bars[:-1], self._atr_period)
if atr_val is None or atr_val <= 0:
return None
a = Decimal(str(atr_val))
gap = cur.open - prev.close
if gap < self._gap_atr * a:
return None
if cur.close >= cur.open:
return None
window = bars[-(self._vol_lookback + 1):-1]
avg_vol = sum(float(b.volume) for b in window) / len(window)
if avg_vol <= 0:
return None
vol_ratio = float(cur.volume) / avg_vol
if vol_ratio >= self._vol_ratio_max:
return None
entry = cur.close
stop = cur.high + self._stop_buf * a
risk = stop - entry
if risk <= 0:
return None
# Primary target: full gap fill to prior close
target = prev.close
if entry - target < self._min_reward_atr * a:
return None
rr = (entry - target) / risk
extended = False
if rr < self._min_rr:
# Structural extension: gap fill through the prior day's range to its low
alt = prev.low
if alt < target and alt > 0:
alt_rr = (entry - alt) / risk
if alt_rr >= self._min_rr:
target = alt
rr = alt_rr
extended = True
if rr < self._min_rr or target <= 0 or not (target < entry < stop):
return None
# Strength scoring
gap_atr_mult = float(gap / a)
gap_score = min(30, max(0, int((gap_atr_mult - float(self._gap_atr)) * 30 + 10)))
vol_score = min(35, max(0, int((1.0 - vol_ratio) * 50)))
rng = max(cur.high - cur.low, Decimal("0.01"))
fade_frac = float((cur.open - cur.close) / rng)
close_pos = float((cur.high - cur.close) / rng)
fade_score = min(35, max(0, int(fade_frac * 20 + close_pos * 15)))
strength = max(0, min(100, gap_score + vol_score + fade_score))
tgt_desc = "prior day's low (extended gap fill)" if extended else "prior close (gap fill)"
thesis = (
f"Gapped up {gap_atr_mult:.2f} ATR on only {vol_ratio:.2f}x 20-day volume and closed below the open. "
f"The thin-liquidity gap lacked institutional demand and sellers absorbed it; "
f"short targeting the {tgt_desc}, stop above the day's high plus {float(self._stop_buf):.1f} ATR."
)
return Candidate(
ticker=ticker,
side="sell",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=int(strength),
thesis=thesis,
asset_class="equity",
)
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.