Skip to content

S&P 500 200-day trend

Paper bot

Holds SPY above its 200-day average, otherwise T-bills.

Forward test1 fill recorded

Simulated paper trading only — orders are not sent to any broker.

S&P 500 200-day trend returned −0.08% from its first trade on 5 Nov. Buying the S&P 500 returned −2.0%, measured from its 4 Nov base close. +1.9 pts vs the S&P 500.

All recorded dates · 5 Nov – 16 Nov

1M and 3M unavailable: only 11 days recorded so far.

What $100 in S&P 500 200-day trend became, against the S&P 500The chart starts with the first trade on 5 Nov. The S&P 500 comparison uses its 4 Nov base close, the last trading close before that trade. 0 trade marks.What $100 became$96$98$1006 Nov13 NovStrategy−0.08%S&P 500−2.0%
Inspect a date with the arrow keys, or drag across the chart.
Drawdown for S&P 500 200-day trendHow far S&P 500 200-day trend fell from its own running peak between 5 Nov 2026 and 16 Nov 2026; worst −2.8% on 5 Nov 2026.Below its own peak0%−2.8%Worst−2.8%
The strategy line is green when it is ahead of the S&P 500 and red when it is behind; amber is the same $100 in the S&P 500 over the same dates. Selected ranges rebase both lines within the selected dates. The drawdown band uses recorded chart observations and keeps earlier running peaks. The facts below cover the lifetime record. No trade marks are recorded in this snapshot.
Return
−0.1%Lifetime · from $1,000.00
vs S&P 500
+1.9 ptsLifetime · S&P base close 4 NovS&P −2.0% from that close
Equity
$999.21Paper account value
Holdings
10 closed positions
Max drawdown
2.8%Lifetime · worst fall from a peak
Days live
12Since the paper record began

In plain words

TL;DR

Holds the S&P 500 only while it is above its 200-day average; otherwise sits in cash earning T-bills.

How it invests

After each US market close the bot averages SPY's last 200 complete daily closes. While the latest close is above that average it owns SPY; when it is at or below, it sells everything and holds cash. Idle cash earns the 3-month T-bill rate minus 0.09% a year, as if it sat in the SGOV T-bill ETF after its fee. The rule is pre-registered and never tuned.

Example

SPY has averaged $700 over the last 200 closes and finishes at $730: the bot owns SPY. If it later closes at $690, the bot sells and waits in cash.

Why it might work

Meb Faber's 2007 paper found that holding an asset only while it trades above its long-term average cut deep drawdowns, and crashes often begin with prices already below that line.

Why it might fail

Trend rules whipsaw: a brief dip below the average sells near the low and a quick recovery buys back higher. In long bull markets the rule often trails buy and hold, and in a short forward test luck dominates.

Exact rules

Paper bot on the US stock market, following the trend rule from Meb Faber's 2007 paper "A Quantitative Approach to Tactical Asset Allocation": after each US market close it averages SPY's last 200 complete daily closes (a 200-day moving average). While the last complete close is above that average it holds SPY; when it is at or below, it sells everything and holds cash. Idle cash earns the 3-month T-bill rate (FRED DTB3) minus 0.09% a year, as if parked in the SGOV T-bill ETF after its fee; interest is booked once a day as an income row, not a trade. The rule is pre-registered and never tuned. This is a forward test: in old backtests the rule cut drawdowns, and it often lags buy and hold in bull markets. Data: CBOE delayed quotes (15 min), free and keyless. Trades only during NYSE regular hours (9:30–16:00 ET, Mon–Fri, no holidays) on a fresh quote. Fractional shares and contracts: the $1,000 account is a scaled copy of the full-size strategy, so % returns match. Price return only; dividends are not included (≈1.2%/yr for SPY). Paper only.

Holdings

1 open holding · 0 closed positionsRealized +$0.11Unrealized −$0.90

Signed amounts show gains and losses. Open positions use the latest recorded price.

2 holdings recorded.

Show raw fills · 2 recorded

All 2 recorded fills available on this page are shown (up to 100).

  • Buy SPY (200-day trend in)

    $1,000.11

    notional

    stock at 752.440 · 1.3291530822463977 shares · $0.00 fee

  • T-bill yield on cash (3-mo bill 4.03%, as if held in SGOV): +$0.11, 1 day to 2026-11-04

    $0.11

    notional

    INTEREST at 4.030 · 0 shares · $0.00 fee

Last hourly run

Considered 0 · Trades 0 · Skipped 0

Skips are normal when the market fails the bot's published filter, the price is outside its band, the book is empty, or the full stake cannot fill.