Strategy API

The strategy library

10 rules-based strategies for the US market, each returned by GET /api/strategies with a live status, a standardized trade plan, a 0–100 setup-quality score and real, internally-backtested statistics — never fabricated numbers. 6 can be scanned across the S&P 500, and all 10 can be backtested over decades of history.

Which strategy is right for you?

Screen the whole S&P 500 for setups today

You want a deterministic scanner that hands you today's matching tickers with a full trade plan.

Buy dips inside an uptrend

You trade mean reversion — buying short-term weakness in a market that's still trending up.

Passive, calendar-based index timing

You want to be in the index only during statistically favourable seasonal windows — no chart reading.

Trade momentum breakouts

You buy volume-backed breakouts from tight bases in leading stocks, only when the market is healthy.

Read the market regime before you act

You want a top-level risk-on / risk-off filter to size or gate everything else you do.

Scanner — runs the rules per-symbol across the S&P 500.
Backtest — a /api/backtest adapter over real history.
Historical — verified, non-fabricated backtest stats.
Confidence — a 0–100 setup-quality score (not a probability of profit).

Mean Reversion

Buy short-term weakness inside an uptrend and let price snap back.

Triple RSI Strategy

Mean Reversion
SPY
Tradable

Buys deep RSI(5) oversold dips inside a 200-day SPY uptrend and exits when RSI reverts above 50 — a short-term mean-reversion setup.

90%
Win rate
+1.31%
Avg/trade
6.21
Profit factor
89
Trades
ScannerBacktestHistorical
View documentation

Daily RSI Mean Reversion

Mean Reversion
SPY
Tradable

A pure single-indicator setup: buy when RSI(3) crosses below 20, sell when it crosses above 70. No trend filter, no stop — just the RSI cross.

78%
Win rate
+0.91%
Avg/trade
2.37
Profit factor
308
Trades
ScannerBacktestHistorical
View documentation

Pullback

Buy a one-day pullback bought into strength, exit on the first strong close.

Pullback Strategy for the S&P 500

Pullback
SPY
Tradable

Buys a new 10-day high that closes weak (IBS < 0.30 — sold into the high), then exits on the first close above the prior day's high. A pullback into strength.

72%
Win rate
+0.41%
Avg/trade
2.29
Profit factor
318
Trades
ScannerBacktestHistorical
View documentation

Hybrid

A seasonal filter stacked on a mean-reversion trigger for extra selectivity.

Mean Reversion Strategy with a Seasonal Filter

Hybrid · Seasonal + Mean Reversion
SPY
Tradable

Buys SPY only on a Monday that extends a two-day pullback, then exits on the first close above the prior day's high — a Monday seasonal filter on a mean-reversion trigger.

79%
Win rate
+0.85%
Avg/trade
3.89
Profit factor
308
Trades
ScannerBacktestHistorical
View documentation

Seasonal

Calendar-driven, index-timing windows — in the market only when the odds skew up.

Turn of the Month

Seasonal
SPY
Tradable

Holds SPY through the seasonally strong month-boundary window — the 5th-last trading day of the month to the 3rd trading day of the next.

63%
Win rate
+0.61%
Avg/trade
1.85
Profit factor
401
Trades
ScannerBacktestHistorical
View documentation

Santa Claus Rally

Seasonal
SPY
Tradable

Captures year-end strength across the last 5 trading days of December and the first 2 of January on SPY.

67%
Win rate
+0.80%
Avg/trade
2.72
Profit factor
33
Trades
ScannerBacktestHistorical
View documentation

Russell Rebalancing

Seasonal
IWM
Tradable

Captures the small-cap bounce around the annual Russell reconstitution — long IWM from just after June 23 to the first session of July.

70%
Win rate
+1.46%
Avg/trade
3.80
Profit factor
27
Trades
ScannerBacktestHistorical
View documentation

Earnings Season Strategy

Seasonal
SPY
Tradable

Holds SPY only during the four annual earnings-season windows — in just after Jan/Apr/Jul/Oct 20, out just after Feb/May/Aug/Nov 5.

68%
Win rate
+0.87%
Avg/trade
2.02
Profit factor
133
Trades
ScannerBacktestHistorical
View documentation

Momentum

Screen for volume-backed breakouts from tight bases while the market is risk-on.

Momentum Breakout

Momentum / Breakout
US equities
Tradable

An objective scanner for stocks breaking out of a tight, volatility-contracting base near 52-week highs on expanding volume — only while the market is risk-on.

35%
Win rate
+0.96%
Avg/trade
1.37
Profit factor
459
Trades
ScannerBacktestHistorical
View documentation

Regime

A top-level risk-on / risk-off market filter — context, not a trade.

Supertrend Market Regime

Market Regime
SPY, QQQ
Informational

An informational RISK_ON / MIXED / RISK_OFF gauge from the weekly Supertrend of SPY and QQQ — a top-level market filter, not a trade signal.

59%
Win rate
+5.84%
Avg/trade
4.86
Profit factor
22
Trades
ScannerBacktestHistorical
View documentation

Compare all strategies

Every figure is a real internal-backtest statistic in identical units — win rate as a percentage, average return per trade, profit factor (gross wins ÷ gross losses), and average holding period in trading days. Click a column to sort.

CategoryAssetScanTest
Daily RSI Mean ReversionMean ReversionSPY78%+0.91%2.373088.0
Earnings Season StrategySeasonalSPY68%+0.87%2.0213311.0
Mean Reversion Strategy with a Seasonal FilterHybridSPY79%+0.85%3.893083.0
Momentum BreakoutMomentumUS equities35%+0.96%1.3745935.0
Pullback Strategy for the S&P 500PullbackSPY72%+0.41%2.293184.0
Russell RebalancingSeasonalIWM70%+1.46%3.80275.0
Santa Claus RallySeasonalSPY67%+0.80%2.72337.0
Supertrend Market RegimeRegimeSPY, QQQ59%+5.84%4.8622165.0
Triple RSI StrategyMean ReversionSPY90%+1.31%6.21895.0
Turn of the MonthSeasonalSPY63%+0.61%1.854017.0

Momentum Breakout is a pooled universe backtest, so it reports pooled trade stats and no single-curve drawdown/best-year. All numbers come straight from the running backtest engine — nothing is estimated.

How to read these numbers

  • Confidence score is a 0–100 measure of how completely a setup satisfies a strategy's rules — setup quality, not a probability of profit — and means the same thing across every strategy.
  • Win rate is the share of backtested trades that were profitable; average return is per trade; profit factor is gross wins ÷ gross losses; holding period is in trading days. Identical units library-wide.
  • • Every statistic comes from an internal backtest on real Yahoo daily bars — we never publish unverified or estimated numbers. Where a strategy's rules define no stop or target, those fields are returned null rather than invented.

Quick start

# Every strategy, ranked for today's market regime
curl "https://raspberrytrades.com/api/strategies" -H "x-api-key: ra_live_your_key_here"

# One strategy
curl "https://raspberrytrades.com/api/strategies?id=triple_rsi" -H "x-api-key: ra_live_your_key_here"

# Scan the S&P 500 for a strategy's setups right now
curl "https://raspberrytrades.com/api/scan?strategy=momentum_breakout" -H "x-api-key: ra_live_your_key_here"

# Backtest a strategy over decades of history
curl "https://raspberrytrades.com/api/backtest?strategy=triple_rsi" -H "x-api-key: ra_live_your_key_here"

Every flag and figure on this page is derived live from the strategy and backtest registries, so it reflects the running API exactly.