Skip to content
The Casebook · An idea an AI invented

Low-volume dip buy in holiday weeks, above the 200-day

Latest bar falls in a week containing a NYSE holiday (Thanksgiving, Christmas week, July 4 week, Memorial Day week, Labor Day week, Presidents Day week) or the day after. Close down >= 2.5% from the prior close with volume < 0.8x 20-day average, and close > 200-day SMA. Long at close. Stop = entry - 1.5*ATR(14). Target = entry + 2*ATR(14).
Why the AI thought it might work

During holiday-shortened weeks thin liquidity makes small sell orders move price; dips on very low volume are liquidity artifacts, not information, and revert when full participation returns. Market makers earn the spread by buying those dips.

VerdictTested Nov 22, 2026

Too rare to judge

Too few trades in 15 years to tell anything either way.

  • 21 trades on the laggard stocks in 15 years; 30 are needed to judge.
Trades on the laggards
21

42 large US stocks, 15 years

Per trade, after costs
+0.241R

Before costs +0.321R

Bar to clear
t > 2.95

By trade and by day, sized to 362 rules

What the numbers say

Only 21 trades on the laggard stocks in 15 years, below the 30 needed to judge. They averaged 0.241R per trade after costs (0.321 before), against 0.232 on today's winners. By market type, bull was 0.001R over 13 trades, flat 0.007 over 3, and bear 1.004 over 5, all from a single day. The sample is too thin to support a verdict.

How it was tested

The rule as written, coded once, run on every stock the same way.

Side
Long
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.

MarketTradesPer tradet, by tradet, by dayRandom datesWinners, per trade
Bull13+0.001R0.000.00 · 13d−0.110R · beats 75%−0.224R
Flat3+0.007R0.010.01 · 3d−0.279R · beats 65%+1.631R
Bear5+1.004R1.92— · 1d−0.101R · beats 95%+1.587R
All21+0.241R−0.132R+0.232R

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.8 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 code
from decimal import Decimal
from datetime import datetime, timedelta
import math

from core.domain import Bar
from strategies.indicators import atr, sma
from scanners.base import Candidate


class HolidayWeekLowVolumeDipReversalLong:
    name = "holiday_week_low_volume_dip_reversal_long"
    description = "Long a >=2.5% low-volume dip above the 200-SMA during NYSE holiday weeks, betting thin-liquidity noise reverts."

    def __init__(self, min_drop: float = 0.025, max_drop: float = 0.09, vol_ratio_max: float = 0.8, vol_lookback: int = 20, sma_len: int = 200, atr_len: int = 14, stop_atr: float = 1.5, target_atr: float = 2.4) -> None:
        self._min_drop = min_drop
        self._max_drop = max_drop
        self._vol_ratio_max = vol_ratio_max
        self._vol_lookback = vol_lookback
        self._sma_len = sma_len
        self._atr_len = atr_len
        self._stop_atr = stop_atr
        self._target_atr = target_atr

    @staticmethod
    def _nth_weekday(year, month, weekday, n):
        d = datetime(year, month, 1).date()
        offset = (weekday - d.weekday()) % 7
        return d + timedelta(days=offset + 7 * (n - 1))

    @staticmethod
    def _last_weekday(year, month, last_day, weekday):
        d = datetime(year, month, last_day).date()
        return d - timedelta(days=(d.weekday() - weekday) % 7)

    @staticmethod
    def _observed(d):
        if d.weekday() == 5:
            return d - timedelta(days=1)
        if d.weekday() == 6:
            return d + timedelta(days=1)
        return d

    def _holidays(self, year):
        return [
            self._nth_weekday(year, 2, 0, 3),
            self._last_weekday(year, 5, 31, 0),
            self._observed(datetime(year, 7, 4).date()),
            self._nth_weekday(year, 9, 0, 1),
            self._nth_weekday(year, 11, 3, 4),
            self._observed(datetime(year, 12, 25).date()),
        ]

    def _in_holiday_window(self, d):
        wk = d.isocalendar()[:2]
        for h in self._holidays(d.year):
            if h.isocalendar()[:2] == wk:
                return True
            nd = h + timedelta(days=1)
            while nd.weekday() >= 5:
                nd = nd + timedelta(days=1)
            if nd == d:
                return True
        return False

    def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
        if len(bars) < max(220, self._sma_len + 20):
            return None
        current = bars[-1]
        prev = bars[-2]
        ts = current.timestamp
        d = ts.date() if isinstance(ts, datetime) else ts
        if not self._in_holiday_window(d):
            return None

        prev_close = float(prev.close)
        close = float(current.close)
        if prev_close <= 0 or close <= 0:
            return None
        drop = (prev_close - close) / prev_close
        if drop < self._min_drop or drop > self._max_drop:
            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(current.volume) / avg_vol
        if vol_ratio >= self._vol_ratio_max:
            return None

        sma_val = sma([b.close for b in bars], self._sma_len)
        if sma_val is None:
            return None
        sma_f = float(sma_val)
        if sma_f <= 0 or close <= sma_f:
            return None

        atr_val = atr(bars, self._atr_len)
        if atr_val is None or float(atr_val) <= 0:
            return None
        atr_dec = Decimal(str(float(atr_val)))

        entry = current.close
        stop = entry - Decimal(str(self._stop_atr)) * atr_dec
        target = entry + Decimal(str(self._target_atr)) * atr_dec
        if stop <= 0 or not (stop < entry < target):
            return None
        risk = entry - stop
        rr = (target - entry) / risk
        if rr <= Decimal("1.5"):
            return None

        drop_score = min(35, max(0, int((drop - self._min_drop) / 0.035 * 35)))
        vol_score = min(35, max(0, int((self._vol_ratio_max - vol_ratio) / 0.5 * 35)))
        ext = (close - sma_f) / sma_f
        if ext <= 0.15:
            trend_score = int(ext / 0.15 * 30)
        else:
            trend_score = max(10, int(30 - (ext - 0.15) * 100))
        trend_score = min(30, max(0, trend_score))
        strength = max(0, min(100, drop_score + vol_score + trend_score))

        return Candidate(
            ticker=ticker,
            side="buy",
            entry=entry,
            stop=stop,
            target=target,
            risk_reward_ratio=rr.quantize(Decimal("0.01")),
            signal_strength=strength,
            thesis=(
                f"Holiday-window dip of {drop*100:.1f}% on only {vol_ratio:.2f}x avg volume while above the 200-SMA; "
                f"thin-liquidity selling is likely noise that reverts when participation returns. "
                f"Stop {self._stop_atr} ATR (wide for holiday noise), target {self._target_atr} ATR."
            ),
        )

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.

Have an idea of your own?

Describe it in plain words and get the same honest test in about a minute.

Run the Gauntlet
Low-volume dip buy in holiday weeks, above the 200-day: Too rare to judge · EdgeProven