Buy first trading day of month, sell after 5 days
Buy on the first trading day of each month and sell after 5 trading days.
Loses money
After costs it lost money on the stocks that decide the verdict.
- −0.056R a trade after costs on the laggard stocks.
42 large US stocks, 15 years
Before costs +0.037R
By trade and by day, sized to a first try
What the numbers say
On the 22 laggard stocks the idea averaged −0.056R a trade after costs across 3675 trades; before costs it was about 0.037R, so costs turned it negative. Bull markets gave −0.072R and flat markets −0.068R, while bear markets gave 0.091R on only 15 distinct days. That is why the verdict is that it loses money.
How it was tested
Buy each stock at the close of the first trading day of each calendar month and exit after 5 trading days unless a protective stop or target is hit first.
- Side
- Long
- Time limit
- Exit at the close after 5 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
- First trading day of the month means the first bar whose calendar month differs from the prior bar's month.
- Entry is at the signal day's close, per the harness convention, not the next open.
- No stop or target was given, so a 2 x ATR(14) stop and a 4 x ATR(14) target (2:1 reward-to-risk) were chosen as wide brackets that mostly leave the 5-day time exit as the operative exit.
- Sell after 5 trading days is implemented as exit at the close of the 5th trading day after entry via max_hold_bars=5.
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 | 2,590 | −0.072R | −4.61 | −1.95 · 119d | −0.067R · beats 40% | +0.043R |
| Flat | 758 | −0.068R | −2.33 | −0.85 · 35d | −0.049R · beats 35% | −0.026R |
| Bear | 327 | +0.091R | 2.35 | 0.82 · 15d | −0.015R · beats 100% | +0.015R |
| All | 3,675 | −0.056R | −0.059R | +0.026R |
R is the result per trade in units of the risk taken (entry to stop). Costs are each stock's own trading spread (median 14.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, sma
from scanners.base import Candidate
class FirstTradingDayMonth5DHold:
name = "first_trading_day_month_5d_hold"
description = "Long at close of first trading day of the month, 2x ATR stop, 4x ATR target, 5-bar max hold"
max_hold_bars = 5
def __init__(self, atr_period: int = 14, stop_atr_mult: float = 2.0, target_atr_mult: float = 4.0, max_hold_bars: int = 5) -> None:
self._atr_period = atr_period
self._stop_mult = stop_atr_mult
self._target_mult = target_atr_mult
self._max_hold_bars = max_hold_bars
self.max_hold_bars = max_hold_bars
@staticmethod
def _month_key(bar):
try:
d = bar.timestamp
except AttributeError:
d = bar.date
return (d.year, d.month)
def scan(self, ticker: str, bars: list[Bar]) -> Candidate | None:
if len(bars) < self._atr_period + 2:
return None
current = bars[-1]
prev = bars[-2]
if self._month_key(current) == self._month_key(prev):
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
if stop <= 0 or not (stop < entry < target):
return None
risk = entry - stop
rr = (target - entry) / risk
if rr < Decimal("1.5"):
return None
# Ranking score only (not a filter): volume, close strength, trend alignment
vol_score = 0
if len(bars) >= 21:
avg_vol = sum(b.volume for b in bars[-21:-1]) / 20
ratio = float(current.volume) / max(float(avg_vol), 1.0)
vol_score = min(40, max(0, int((ratio - 0.5) * 20)))
rng = max(current.high - current.low, Decimal("0.01"))
close_pos = float((current.close - current.low) / rng)
close_score = min(30, max(0, int(close_pos * 30)))
trend_score = 0
sma_50 = sma([b.close for b in bars], 50) if len(bars) >= 50 else None
if sma_50 is not None and current.close > Decimal(str(sma_50)):
trend_score = 30
strength = max(0, min(100, vol_score + close_score + trend_score))
thesis = ("First trading day of the month: turn-of-month inflows tend to lift equities. "
f"Long at close, stop 2x ATR, target 4x ATR, time exit after {self._max_hold_bars} bars (max_hold_bars={self._max_hold_bars}).")
kwargs = dict(
ticker=ticker,
side="buy",
entry=entry,
stop=stop,
target=target,
risk_reward_ratio=rr.quantize(Decimal("0.01")),
signal_strength=int(strength),
thesis=thesis,
)
try:
return Candidate(max_hold_bars=self._max_hold_bars, **kwargs)
except Exception:
return Candidate(**kwargs)
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.