Santa Claus rally: buy late December, sell early January
Santa Claus rally: buy on the 5th-to-last trading day of December and sell on the 2nd trading day of January.
Killed by costs
There is something there before trading costs; after them, too little is left to count (under 0.04R a trade).
- +0.085R a trade before costs, −0.007R after the spread and the selection haircut.
42 large US stocks, 15 years
Before costs +0.085R
By trade and by day, sized to a first try
What the numbers say
Across 304 laggard trades the result was +0.085R before costs and −0.007R after, so costs erase the gain. The winners came out at −0.064R. Bull markets gave −0.073R and flat ones −0.114R; the only strong result, +0.423R in bear markets, rests on 2 distinct days.
How it was tested
Buy at the close of the 5th-to-last trading day of December and exit at the close of the 2nd trading day of January.
- Side
- Long
- Its own exit
- Exit at the close of the 2nd trading day of January., checked at each close
- 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.01, by trade and by day, sized to a first try (one idea, tested once)
- Prices
- 15 years of daily bars through 2026-11-20; judged 2026-11-22
- Trading days are the bars present in the stock's own daily data; holidays are simply absent.
- 5th-to-last trading day means the final December bar is 1st-to-last, so entry is 4 bars before the last December bar.
- Entry and exit are at the close of the named days, matching the harness bracket convention.
- No stop or target was named, so a 2 x ATR(14) stop and a 4 x ATR(14) target are used as protective levels around the calendar exit.
- The calendar exit is expressed as an exit_rule; max_hold_bars is set to 30 as a safety cap, though the trade normally lasts about 6 trading days.
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 | 218 | −0.073R | −1.54 | −0.70 · 10d | −0.080R · beats 45% | −0.070R |
| Flat | 42 | −0.114R | −0.83 | −0.24 · 2d | −0.061R · beats 25% | −0.375R |
| Bear | 44 | +0.423R | 4.76 | 49.01 · 2d | −0.082R · beats 100% | +0.268R |
| All | 304 | −0.007R | −0.078R | −0.064R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 13.7 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 datetime import datetime, timedelta
from core.domain import Bar
from strategies.indicators import atr
from scanners.base import Candidate
def _to_date(ts):
if isinstance(ts, datetime):
return ts.date()
return ts
def _christmas_closed(year):
d = datetime(year, 12, 25).date()
wd = d.weekday()
if wd == 5:
return d - timedelta(days=1)
if wd == 6:
return d + timedelta(days=1)
return d
class SantaClausRallyDecToJan:
name = "santa_claus_rally_dec_to_jan"
description = "Long at 5th-to-last trading day of December close; exit at 2nd trading day of January close."
def __init__(self, atr_period: int = 14, stop_mult: float = 2.0, target_mult: float = 4.0, days_after: int = 4, exit_january_day: int = 2) -> None:
self._atr_period = atr_period
self._stop_mult = stop_mult
self._target_mult = target_mult
self._days_after = days_after
self._jan_day = exit_january_day
def _remaining_dec_days(self, d):
closed = _christmas_closed(d.year)
count = 0
cur = d + timedelta(days=1)
while cur.month == 12:
if cur.weekday() < 5 and cur != closed:
count += 1
cur = cur + timedelta(days=1)
return count
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < self._atr_period + 2:
return None
current = bars[-1]
d = _to_date(current.timestamp)
if d.month != 12:
return None
if d.weekday() >= 5:
return None
if self._remaining_dec_days(d) != self._days_after:
return None
atr_val = atr(bars, self._atr_period)
if atr_val is None or atr_val <= 0:
return None
atr_dec = Decimal(str(atr_val))
entry = current.close
stop = entry - Decimal(str(self._stop_mult)) * atr_dec
target = entry + Decimal(str(self._target_mult)) * atr_dec
risk = entry - stop
if risk <= 0 or stop <= 0:
return None
rr = (target - entry) / risk
return Candidate(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=50,
thesis="5th-to-last trading day of December: Santa Claus rally seasonal long, exit 2nd trading day of January.",
)
def exit_now(self, ticker: str, bars: list[Bar], entry: Decimal, side: str, bars_held: int) -> bool:
if not bars:
return False
d = _to_date(bars[-1].timestamp)
if d.month == 1:
count = 0
for b in reversed(bars):
bd = _to_date(b.timestamp)
if bd.year == d.year and bd.month == 1:
count += 1
else:
break
return count >= self._jan_day
if d.month != 12:
return True
return False
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.