📐
Hedge Strategy System - Complete Architecture Reference
P3 - LowSpec Hedge
Strategy Ensemble System
10 Core Strategies
- Dual MA Crossover (9/21) - Trend
- RSI(2) Mean Reversion - Mean Reversion
- MACD + RSI Combo - Momentum
- Bollinger Band Reversion - Mean Reversion
- ETF Momentum Rotation - Sector Rotation
- Opening Range Breakout - Intraday
- ATR Trailing Stop (Turtle) - Trend
- VIX Risk Overlay - Risk Mgmt
- Gap Fill - Intraday
- 200-Day SMA Timing - Regime
- HMM Regime Detection - Regime (existing)
Database Tables
- strategy_definitions: Template strategies with params
- strategy_signals: {ticker, strategy, signal, confidence, reasoning}
- composite_scores: Aggregated scores per ticker
Composite Scoring Formula
composite = Σ(signal × confidence × regime_weight) / N
- LONG=1, NEUTRAL=0, SHORT=-1
- Regime multipliers boost/reduce strategy weights
AI Opportunity Finder Modes
- Analyze ticker: All signals + AI summary
- Scan watchlist: Top 10 ranked opportunities
- 401K rebalance: Monthly fund rotation with 30-day rule
Key APIs
- GET /strategies/library
- POST /strategies/library/{slug}/backtest
- GET /opportunities/analyze/{ticker}
- GET /opportunities/scan
- GET /opportunities/rebalance/401k
Nightly Scanner
Runs 4:30 PM PT, scans screener universe, calculates composites, sends Telegram summary
Created: Wed, Feb 18, 2026, 8:28 PM by bob
Updated: Wed, Feb 18, 2026, 8:28 PM
Last accessed: Wed, Apr 1, 2026, 11:59 PM
ID: 4878463e-1d93-41c5-95e5-7fa2c84678bb