Investment Strategies

Which rules-based SPY strategies are active or upcoming today — with entry/exit dates and reasons.

GET/api/strategies
StrategyIncluded in every plan · one key.

Overview

A library of rules-based strategies for the US market — mostly SPY, with Russell Rebalancing on IWM and Momentum Breakout across the S&P 500 — each returned with its live status (Upcoming / Active / Finished), calculated entry and exit dates on the NYSE trading calendar, days until entry, plain-English reasoning and a historical-performance section backed by real, internally-run backtests (we never publish unverified numbers). Includes Triple RSI, Daily RSI Mean Reversion, Pullback Strategy for the S&P 500, Mean Reversion with a Seasonal Filter, Momentum Breakout, Turn of the Month, Santa Claus Rally, Russell Rebalancing, Earnings Season and a Supertrend market-regime read (RISK_ON / MIXED / RISK_OFF), ranked by how well each fits today's market regime. Pass ?id= for a single strategy; use /api/scan to run a scannable strategy across the S&P 500.

Use it toKnow which rules-based SPY strategies are active today and which fit the current market regime.

Coverage

Universe
SPY, IWM & the S&P 500
History
Live status + real backtest stats (1993–2026)
Updates
Daily (NYSE calendar)
Source
Rules engine + market prices

Call it

Send your ra_live_… key in the x-api-key header. Pick your language:

curl "https://raspberrytrades.com/api/strategies" \
  -H "x-api-key: ra_live_your_key_here"

Parameters

ParameterTypeDescription
idstringReturn a single strategy by id, e.g. turn_of_month (optional)
x-api-keyheaderYour API key (required)
Example response
200 OK · application/json
{
  "strategies": [
    {
      "id": "turn_of_month",
      "name": "Turn of the Month",
      "category": "Seasonality",
      "asset": "SPY",
      "description": "WHAT IT IS: The Turn of the Month (TOM) effect is a long-standing seasonal tendency … (full prose)",
      "historical": {
        "yearsTested": 34, "winRate": 0.6259, "averageReturn": 0.61,
        "bestYear": 27.38, "worstYear": -11.34, "maxDrawdown": 20.32,
        "averageHoldingPeriod": 7, "profitFactor": 1.85, "totalTrades": 401,
        "source": "Internal backtest · SPY daily bars (Yahoo Finance) · 401 monthly windows · 1993–2026"
      },
      "historicalPattern": {
        "title": "Turn of the Month — average cumulative return across the held window",
        "xLabel": "Trading days relative to month-end (ME = last trading day; entry T−4, exit T+3)",
        "yLabel": "Average cumulative return (%)",
        "basis": "derived",
        "source": "Internal backtest — 401 completed SPY windows (Yahoo Finance daily closes), 1993–2026",
        "note": "Empirical average path measured from history, not illustrative. …",
        "series": [
          { "day": -4, "label": "T−4 (Entry)", "cumulativeReturn": 0 },
          { "day": 0, "label": "ME", "cumulativeReturn": 0.27 },
          { "day": 3, "label": "T+3 (Exit)", "cumulativeReturn": 0.61 }
        ]
      },
      "status": "Active",
      "entryDate": "2025-12-24",
      "exitDate": "2026-01-06",
      "daysUntilEntry": 0,
      "entryPrice": null, "stopLoss": null, "firstTarget": null,
      "riskPercent": null, "rewardRiskRatio": null,
      "confidenceScore": 100,
      "confidenceBreakdown": { "seasonalWindow": 60, "windowProximity": 40 },
      "explanation": "SPY is inside its Turn of the Month window (entered 2025-12-24, exits 2026-01-06) — the seasonally strong month-boundary period, rating 100/100 as a setup-quality measure (not a probability of profit).",
      "checklist": ["Turn-of-month seasonal window is active"],
      "score": 40, "recommended": false, "weight": "low"
    },
    {
      "id": "triple_rsi",
      "name": "Triple RSI Strategy",
      "category": "Technical",
      "asset": "SPY",
      "description": "WHAT IT IS: The Triple RSI strategy is a technical, mean-reversion setup … (full prose)",
      "historical": {
        "yearsTested": 34, "winRate": 0.8989, "averageReturn": 1.31,
        "bestYear": 17.63, "worstYear": -2.36, "maxDrawdown": 7.37,
        "averageHoldingPeriod": 5, "profitFactor": 6.21, "totalTrades": 89,
        "source": "Internal backtest · SPY daily bars (Yahoo Finance) · 89 trades · 1993–2026"
      },
      "historicalPattern": null,
      "status": "Upcoming",
      "entryDate": "", "exitDate": "", "daysUntilEntry": 0,
      "entryPrice": 433.3, "stopLoss": null, "firstTarget": null,
      "riskPercent": null, "rewardRiskRatio": null,
      "confidenceScore": 0,
      "confidenceBreakdown": { "trendFilter": 0, "oversold": 0, "momentumDecline": 0, "pullbackContext": 0, "oversoldDepth": 0 },
      "explanation": "SPY does not currently trigger Triple RSI — 0 of 4 entry conditions in place, rating 0/100 (Weak). A signal fires only when all four align.",
      "checklist": [],
      "score": 55, "recommended": false, "weight": "medium"
    }
  ]
}
Strategy — related datasets
Get your API key

Create a free account, copy your ra_live_… key and make your first call to https://raspberrytrades.com/api/strategies.

Keep your key on your server — never ship it in front-end code.