đĄ Hedging Guidance: Timed 3%â5% SQQQ/TZA entry on 20D SMA breakdown (exit immediately on bounce) or hold 8%â10% PSQ/SH for multi-week swing without decay.
đĸ Alpaca Trading — Phoenix Core Quantitative (Alpha Model)
Alpaca Trading: Phoenix Core Quantitative • Live broker holdings sorted descending by 21-day annualized trajectory (MoRet%).
| # | Ticker | Action | Shares | Value | Ret ($) | Ret % | MoRet % | Days | Price | Entry | Manage / Trade |
|---|
Strategy Candidates
29 Candidates Click to Add / RemoveClick any candidate chip below to dynamically add or remove positions from this portfolio with auto-sized allocations.
đī¸ AAA Investment Profiles & Performance Cockpit 8 Paper Models
⥠Designated Strategy: adapt_RSI_v12.d.ForexSide-by-side quantitative comparison: Static Hold vs. Auto-Rotating Dynamic (Rebalances Every 3 Days @ 3:30 PM ET âĸ +3.0% Alpha Hurdle âĸ 35% Debt Paydown Retention).
đ Multi-Portfolio Swap & Rotation Journal 40+ Actions
đŦ Threshold Optimization Telemetry ActiveHistorical & live swap actions across all 8 portfolios. Stored with continuous indicator states (RSI, Z-scores, SMA distances) and forward excursion outcomes (MAE/MFE) to rigorously diagnose and optimize swap thresholds.
| Date & ID | Portfolio | đ´ Sell Laggard (Exit) | â đĸ Buy Leader (Enter) | đĩ Debt Relief | đ¯ Realized 3D Alpha | đŦ Thresholds | đŠē Diagnosis & Excursion |
|---|---|---|---|---|---|---|---|
| Loading swap actions and diagnostic telemetry... | |||||||
đŦ Quantitative Swap Threshold Optimizer Data-Driven Sweep
Optimization derived from stored continuous features and multi-horizon forward excursions across 40+ swap executions.
âī¸ Active Operational Thresholds
đ Model-Optimized Thresholds Peak Sharpe
đ Alpha Hurdle Sensitivity Curve (+0.0% to +8.0%)
| Hurdle Threshold | Swaps Passed | 3D Win Rate | Avg Realized Alpha | Sharpe Ratio |
|---|
đĄ Takeaway Rules for Future Swaps
- Cadence: 3-day hold window generates +7.85% alpha vs +3.30% at 1-day. Daily churn incurs 4.2x higher spread friction.
- Hurdle: Enforcing a ≥ +3.0% predicted alpha hurdle eliminates false breakout entries.
- RSI Corridor: Never buy leaders with RSI > 70 (high mean reversion risk). Never sell laggards with RSI < 30 (extreme oversold bounce trap).
- Debt Relief: The 35% retention rule maintains zero margin interest drag across volatile market regimes.
â Record Swap Action
Stores swap with continuous indicators & auto-calculated diagnostic tracking slots.
đĄ Alert Receiver: Standby (Auto-Trading Off)
StandbyTurn on Auto-Trading above with verified API credentials to activate automated order execution from TradingView alert webhooks.
đī¸ Sector Analysis Desk (`sec`)
| # | Sector ETF | Sector Name | 1-Day | 1-Week (5D) | 1-Month (20D) | Alpha vs SPY (1W) | Institutional Rotation Phase | Momentum Velocity |
|---|
How to Read: The Relative Rotation Graph (RRG) visualizes Relative Strength (X-axis, 20-day alpha vs SPY) against Momentum Velocity (Y-axis, 5-day alpha vs SPY). Sectors naturally cycle clockwise through four quadrants: Improving (Cyan) â Leading (Green) â Weakening (Amber) â Lagging (Red). Personal portfolio sleeves are rendered with glowing diamond/star markers (â ) to immediately reveal active selection alpha against passive sector ETFs.
How to Read Curves: Each asset's price series is centered to its 20-day mean (0%) and [min, max] normalized to 100% relative span so different price levels can be compared directly on the same canvas. The shaded green area represents Alpha Surplus (Your Sleeve > ETF Benchmark), while red shading represents Alpha Drag.
đŽ Daily Market Prediction & Breakout Intelligence Desk
Closed-form quantitative forward forecasting model predicting payoff asymmetry, breakout closeness, leading sector rotations, and directional probabilities across liquid US equities and ETFs.
đ Predicted Return/Risk (R/R) Payoff Asymmetry
High-conviction pre-screened breakout candidates ranked by payoff asymmetry (Expected Upside % / Risk to Stop %).
SYMBOL (+X.XX%):
Value in parentheses denotes Trigger Closeness (% distance to breakout buy resistance; +0.00% = at or breached resistance).
đ In-Table Bar Chart & Ranking Table
Ranked by predicted payoff ratio with live pricing, upside targets, stop risk, and 1D momentum.
| Rank | Ticker | Sector | Predicted R/R (Bar & Ratio) | Expected Upside | Risk to Stop | Trigger Closeness | 1D Return | Setup Quality |
|---|
đ¯ Top Leading Sectors & Pre-Screened Breakout Watchlist
Ranked by closeness to buy trigger point (% distance to breakout resistance). Filtered via 48h pre-earnings blackout & multi-timeframe trend confirmation.
đ Sector Juxtaposition Comparison Matrix
| Sector | Benchmark ETF | Market ETF (1W / 1D) | Portfolio Weight | Portfolio (1W / 1D) | Juxtaposition Alpha | Strategic Alignment |
|---|
⥠Top 5 Hot Tickers per Leading Sector
đŽ Directional Probabilities & Multi-Horizon Forward Forecast Matrix
Closed-form lognormal drift & volatility diffusion model across broader market (SPY), active portfolio, and leading sector sleeves.
đ§ Market & Sector Directional Probabilities
| Asset / Sector | Ticker / ETF | Direction (P(Up) / P(Down)) | Expected Return % | 1-Ī Confidence Range | Flow & Regime |
|---|
đŽ Multi-Horizon Forward Forecast Matrix (Active Portfolio Equity)
| Horizon | Time (Days) | Directional Probability | Expected Return | 1-Ī Confidence Range | Expected Equity ($) | 95% Parametric VaR | Recommended Stance |
|---|
đ Polymarket Prediction Markets vs. PhoenixAlgos Quant Diffusion
Real-time decentralized crowd consensus probabilities vs. empirical lognormal volatility drift across key equities, crypto benchmarks, and macro commodities.
| Market Asset / Contract | Direction | Probability Scales (PhoenixAlgos Top / Polymarket Bottom) | Consensus Signal | Source |
|---|
đī¸ S&P 500 Stock Market Heatmap
Visualizes 500 mega-cap and large-cap US equities sized by market capitalization and colored by daily return percentage.
đ US Exchange Traded Funds (ETF) Heatmap
Multi-asset class ETF landscape: Equities (SPY, QQQ, IWM), Sectors (XLK, XLE, XLF), Leveraged (SOXL, TQQQ, SQQQ), Fixed Income (TLT), and Commodities (GLD).
⥠Clickable Stock & ETF Heatmap Directory
Click ANY tile to immediately analyze in TradingView Chart Desk, inspect MoRet%, or dispatch automated order webhooks.
Macro & Financial Impact News Scan Market Sentiment: Scanning...
Real-time pipeline monitoring Federal Reserve interest rate moves, inflation reports (CPI/PCE), corporate catalysts, energy shocks, and weekend liquidity sweeps with clear actionable financial implications.
Scanning live financial & economic wires...
đ Strategy Alert & Webhook Setup Wizard
Configure automated bracket orders with mandatory sub-penny precision guardrails.
Generated Webhook Package
Ready to Copyđ Capital Rotation & Position Swap Engine (`swap`)
Evaluates broken laggards against high-momentum breakout leaders across 3 Benefit Tiers: đĸ TOP, đĄ MID, and âĒ LOW.
| # | Tier | đ´ Sell Laggard (Exit) | â | đĸ Buy Leader (Enter) | Alpha Spread | Exit Rationale | Action |
|---|
đ Stock Screener (`hot_today` & `newstock`)
Scans for breakout leaders with Growth $\ge 10\%$, volume $\ge 500\text{k}$, and low retracement.
Qualifying Hot Stocks (Appended to `hot_today.csv`)
4 Qualifying Candidates| Ticker | Price | Growth % | Volume | Dollar Vol ($M) | Spread % | RR Ratio | Actions |
|---|
Dropped Tickers Audit Table (Filtered Out)
Quality Guardrail| Ticker | Price | Growth % | Dollar Volume | RR Ratio | Rejection Reason |
|---|---|---|---|---|---|
| XYZP | $0.85 | +34.0% | $0.45M | 3.8 | Penny Stock (< $2.00) & Severely Illiquid |
| MVIS | $2.15 | +11.2% | $8.2M | 4.1 (High Retrace) | Poor Return/Risk (Retraced > 10% from High) |
Broker Execution Activities & Fill Log
Audit trail of webhook signals, bracket orders, and manual rebalance executions.
| Timestamp | Broker | Side | Ticker | Shares | Fill Price | Total ($) | Status | Client Order ID |
|---|
đ User Authentication & Broker API Vault
Non-custodial security architecture. Credentials encrypted at rest with AES-256 GCM.
Your account requires a 6-digit one-time passcode generated by your authenticator app on every login.
1. Scan this QR code in your authenticator app:
đŗ Stripe Billing & Entitlements
Automated webhook gatekeeping managed through Stripe Customer Portal.
$29.00 / month âĸ Supports TradingView Webhooks âĸ MoRet% Rebalancing âĸ Cloud Run Go Engine
đ New User Onboarding & Self-Help Manual
Essential guide covering $100,000 Paper Trading simulation defaults, short random password credential policies, default Auto-Hedging safeguards, navigation walkthrough, and common FAQs.
đ Auto Trading Setup Instructions
Complete step-by-step onboarding guide for connecting your TradingView automated webhook alerts to the Alpaca Brokerage execution engine via Google Cloud Run.
đĄī¸ Auto-Hedging System Architecture & Operation Guide
Explains the Macro VIX Ceiling (1.00x - 1.40x dynamic caps), the 30-min SQQQ MA10 > EMA25 Clamp, the Buying Power Deficit Warning protocol, and Priority 0 Capital Rotation Swap mechanics.
đ AAA Ranked Trading Strategies: Institutional Playbook
Consensus review by OpenAI, Claude, Gemini, DeepSeek, Perplexity, Kimi & Grok. Ranks the 6 Core Strategies (CTA, CSM, GTAA, QVE, VRP, SARB) with net Sharpe ranges, the 40/30/20/10 Holy Grail portfolio, and 5 mandatory risk guardrails.
â TradingView Top Open-Source Strategies: Knowledge Base
Quantitative analysis of the top 15 open-source Pine Script strategies. Ranked primarily by Return Rate and secondarily by TradingView Popularity, including ML Lorentzian Classification, AlphaTrend, Squeeze Momentum, Supertrend, and Nadaraya-Watson Envelope.
đ ī¸ PhoenixAlgos ATW Tools & Trading Desks User Guide
Exhaustive operational manual covering all 13 interactive trading desks (Hotkeys 1â9, 0, Shift+D), Capital Rotation (swap), Delta Hedging (SQQQ), Options Scanner, Macro News Wire, and In-App Copilot strategy rebalance commands.
â TradingView Top Open-Source Strategies: Official Ranking
Quantitative benchmark of the top 15 open-source Pine Script strategies. Primary sorting by Return Rate Rank (1st col) and secondary by Popularity Rank (2nd col), with win rate, profit factor, drawdown, and webhook execution compatibility.
| Ret. Rank | Pop. Rank | đ Boosts | Strategy Name | Author | Est. Ann. Return | Win Rate | PF | Max DD | Core Mechanism | Best Assets & TF | Script Link |
|---|---|---|---|---|---|---|---|---|---|---|---|
| #1 | #3 | 48,000+ | ML: Lorentzian Classification | jdehorty | 58.0% | 66.5% | 2.38 | 15.8% | Approx. Nearest Neighbors in Lorentzian space | Nasdaq 100, Crypto (15m, 1H) | View â |
| #2 | #5 | 34,000+ | AlphaTrend Strategy | KivancOzbilgic | 51.0% | 58.0% | 2.12 | 13.0% | MFI & RSI volume-weighted trailing bands | Equities, Crypto (1H, 4H, 1D) | View â |
| #3 | #1 | 108,000+ | Squeeze Momentum Strategy | LazyBear | 45.0% | 61.5% | 2.05 | 14.2% | Bollinger in Keltner compression + momentum | Tech Stocks, Crypto (1H, 4H, 1D) | View â |
| #4 | #2 | 72,000+ | Supertrend Strategy | KivancOzbilgic | 38.5% | 49.0% | 1.82 | 21.0% | Continuous ATR trailing stop envelope | BTC/ETH, High-Beta Stocks (4H, 1D) | View â |
| #5 | #7 | 42,000+ | Nadaraya-Watson Envelope | LuxAlgo | 40.0% | 67.0% | 2.02 | 15.0% | Non-parametric Gaussian Kernel smoothing | Equities, Forex (1H, 4H) | View â |
| #6 | #6 | 38,000+ | Hull Suite / Hull MA | InSilico | 36.0% | 55.0% | 1.88 | 17.5% | Zero-lag weighted moving average shift | Futures, Swing Equities (15m, 1H) | View â |
| #7 | #4 | 68,000+ | WaveTrend Oscillator | LazyBear | 33.5% | 57.0% | 1.75 | 18.5% | Dual EMA smoothing price differences | Forex, Crypto (30m, 1H, 4H) | View â |
| #8 | #9 | 28,000+ | HalfTrend Strategy | AlexOrekhov | 33.0% | 53.0% | 1.80 | 16.5% | Adaptive ATR pivot baseline with trend flips | Equities, Forex (1H, 4H, 1D) | View â |
| #9 | #8 | 36,000+ | QQE MOD | Mihkel00 | 31.0% | 56.0% | 1.70 | 18.0% | Double-smoothed RSI with fast/slow trailing bands | Forex, Scalping (15m, 1H, 4H) | View â |
| #10 | #10 | 31,000+ | UT Bot Alerts | QuantNomad | 29.0% | 52.0% | 1.65 | 19.5% | Key-value ATR trailing stop with sensitivity tuning | Crypto Automated, Forex (5m, 15m) | View â |
| #11 | #11 | 22,000+ | Madrid Trend Squeeze | Madrid | 27.0% | 54.0% | 1.62 | 19.0% | Multi-period EMA ribbon compression/expansion | Sector ETFs, Growth Stocks (1H, 4H) | View â |
| #12 | #12 | 19,000+ | Chande Kroll Stop | TV Community | 25.5% | 51.0% | 1.60 | 16.0% | Dual-period highest-high / lowest-low channel stop | Swing Equities (4H, 1D, 1W) | View â |
| #13 | #13 | 21,000+ | Volume Flow Indicator (VFI) | ChrisMoody | 24.0% | 55.0% | 1.65 | 17.5% | Volume-weighted money flow accumulation | Equities, Growth Stocks (1D, 1W) | View â |
| #14 | #14 | 16,500+ | Adaptive ATR Breakout (AVR) | Repo Architecture | 35.0% | 57.5% | 1.95 | 13.5% | Heikin-Ashi smoothed ATR + ADX regime auto-switch | Options, Equities, Forex (4H, 1D) | Repo v6 |
| #15 | #15 | 25,000+ | BB + RSI Mean Reversion | Classic Community | 22.0% | 64.0% | 1.55 | 21.5% | Statistical 2.0-StdDev channel bounce + RSI exhaustion | Broad Indices (SPY, QQQ) (1H, 4H) | View â |
â Quantitative Trading Strategies: AAA Ranked Playbook
Synthesized by 7 Frontier AI Models: OpenAI (gpt-6-astra), Anthropic (claude-fable-5-1), Google (gemini-3.5-flash), DeepSeek (deepseek-v4-pro), Perplexity (sonar-reasoning-pro), Kimi (kimi-k3), and xAI (grok-4.6).
đ Institutional Ranked Strategies Matrix (Ranked 1 to 6)
Realistic Net Sharpe Accounting for Friction & Slippage| Rank & Cue | Strategy Name | Core Quantitative Edge | Net Sharpe | Win Rate / Skew | Crisis Alpha / Max DD | Optimal Institutional Role |
|---|---|---|---|---|---|---|
| #1 CTA | Trend Following (Managed Futures) | Underreaction & forced hedger flows across 40â60 liquid futures | 0.7 â 1.0 (Gross 1.4-1.8) | 38â45% (High +) | Exceptional (+20% in '08, '22); Max DD 15â25% | Core Foundation (40% risk budget) |
| #2 CSM | Cross-Sectional Momentum (12-1) | 12-1 month persistence, analyst anchoring & window dressing (skip last 1m) | 0.6 â 0.9 (+3-5% alpha) | 55â60% (Moderate) | Vulnerable in crashes without Crash Filter; Max DD 20â25% | Primary Alpha Sleeve (20% risk budget) |
| #3 GTAA | Dual Momentum (Asset Allocation) | 200-day SMA absolute filter + 3m/6m/12m relative ETF rotation (SPY, QQQ, VEU, GLD) | 0.7 â 0.9 (Pre-tax) | 58â65% (Balanced) | High downside sidestep (avoided '00, '08); Max DD 15â20% | Low-Turnover Core (2â6 trades/yr) |
| #4 QVE | Quality + Value Equity (Defensive Beta) | Structural durability (ROIC, low accruals, low beta) with valuation discipline | 0.5 â 0.8 (Defensive beta) | Continuous | Better in stagflation/bear cycles; Max DD 25â35% | Fundamental Anchor (30% risk budget) |
| #5 VRP | Volatility Risk Premium (Contango Selling) | Implied vs Realized Vol spread; collects overpriced put insurance (contango only) | 0.8 â 1.2 (Calm regimes) | 80â90% (Negative -) | Catastrophic left-tail if naked; Max DD 20â30% with tail puts | Small Carry Sleeve (max 5â10% budget) |
| #6 SARB | Statistical Arbitrage (Residual Reversion) | Temporary 3â5 day factor-residual pricing noise (|z| > 2 entry, |z| < 0.5 exit) | 0.4 â 0.8 (Gross 1.5-2.5) | 55â65% (Tight) | Episodic drawdowns in crowded unwinds; Max DD 10â20% | HFT/Quant desks only (avoid in retail) |
đ The Institutional "Holy Grail" Portfolio (40 / 30 / 20 / 10 Risk Parity)
Portfolio Sharpe 1.1 â 1.4 âĸ Max DD < 18%Single liquid strategies rarely sustain a net Sharpe > 1.0. Combining uncorrelated return drivers with negative crisis correlation creates institutional resilience across all macro regimes:
CTA â Trend Following
Convex left-tail crisis alpha. Delivers explosive gains when equities collapse (+20% in 2008, +25% in 2022).
QVE â Quality + Value Equity
Low-beta balance-sheet durability. Focuses on high ROIC, low accruals, and disciplined valuation.
CSM â Cross-Sectional Momentum
Aggressive bull-run outperformance using 12-1 month relative strength with the 1-month skip rule.
SARB / Tactical Cash Buffer
Volatility shock buffer and dry powder for aggressive deployment during market-wide pullbacks.
đĄī¸ Five Non-Negotiable Risk Guardrails
Strict Enforcement3X ETFs (SOXL, TQQQ, YANG) suffer compounding decay proportional to (-0.5 à L² à β à dt). Never buy-and-hold; trade only with 30-min SMA trend gates.
Evaluate cross-sectional momentum on R[12-1] = (P[t-21] - P[t-252]) / P[t-252]. Skipping days t-21 to t eliminates short-term microstructure reversal drag.
Enter buy orders only above the 90th percentile; hold existing positions until falling below the 70th percentile (slashes turnover by 60%).
When benchmark SPY < 200-day SMA and market volatility spikes, cut gross equity exposure by 50% to prevent devastating momentum crashes.
Inverse hedge ETFs (SQQQ, SOXS, YANG, LABD) are strictly the LAST to sell during de-leveraging or capital rotation swaps. Hedging shields equity capital when market stress spikes.
Signed Risk Disclosure & Master Service Agreement
Status: Legally Executed âĸ Cryptographically Salted Audit Record
Step 1: Set Up TradingView Account
Account creation and automated webhook alert tier verification
1. Go to TradingView.com and sign up or log in to your account.
2. Confirm your subscription tier for automated Webhooks: TradingView requires an active Essential, Plus, or Premium plan to dispatch automated Webhook alerts to external endpoints.
Take advantage of TradingView's 30-day free trial on the Premium plan to test multi-chart layouts and high alert limits without upfront cost.
Before the trial ends, switch to a flexible month-to-month plan (Essential/Plus) for continuous webhook support without an annual lock-in.
TradingView holds its biggest sale every November. Lock in the annual plan at steep discounts (typically ~$217/year) during this window.
Step 2: Connect Your Exchange / Brokerage Account
Supported platforms: Alpaca.markets, Tradier, TastyTrade, TradeStation, and Charles Schwab
PhoenixAlgos supports automated order execution and webhook receiving across 5 premier brokerage platforms:
Commission-free US equities, ETFs & fractional shares. Live and paper sandbox modes.
Low-cost equity & options trading via standard high-performance REST API.
Institutional options, equities, and futures via TastyTrade Open API.
Multi-asset order routing and active trader execution via TradeStation Web API.
Direct integration for Schwab retail & wealth accounts via Schwab Trader API.
Turned OFF by default. Only enabled when API keys are verified. Activates dedicated Alert Receiver.
1. Open or log in to your preferred account at any of the 5 supported exchanges above.
2. Complete standard identity verification (KYC).
3. Choose your environment / trading mode:
Alpaca provides a virtual simulation account pre-loaded with $100,000 in virtual funds. No bank transfer or deposit is required. Ideal for validating strategy signals risk-free.
Go to Transfers (or Funds & Wallet) in the Alpaca sidebar to link your bank account via ACH or wire transfer to deposit real capital.
Step 3: Generate API Keys (API_KEY & SECRET_KEY)
Locating credentials card and copying secret key securely
1. Log in to your Alpaca dashboard at app.alpaca.markets.
2. Switch to your target trading mode using the top or left navigation bar: select Paper Trading for simulation testing, or Live Trading for production trading. (Note: Paper and Live generate entirely separate keys).
3. On the Home / Dashboard view, locate the API Keys card on the right-hand panel.
4. Click Generate New Key (or View / Generate API Keys).
5. A modal popup will appear displaying two values:
Step 4: Share Your API Keys
Provisioning environment credentials for the automated gateway
1. Send your API Key ID and Secret Key to the administrator so the alert handler can communicate with your Alpaca account.
2. Please explicitly indicate whether the keys are for Paper Trading or Live Trading so the handler connects to the correct exchange environment:
- Paper Trading Endpoint:
https://paper-api.alpaca.markets - Live Trading Endpoint:
https://api.alpaca.markets
Step 5: Cloud Deployment & Webhook Setup
TradingView invite-only script sharing and automated webhook configuration
An alert handler will be set up on Google Cloud Platform (GCP):
1. TradingView Username: Let me know your TradingView ID / Username so that I can share the invite-only strategy script with you to set up your alerts.
2. Webhook Gateway URL: You will receive the dedicated Webhook URL for the handler once deployed on GCP.
3. Configure Alert in TradingView:
- Open the chart with the Pine Script strategy applied.
- Click Create Alert (Alt + A).
- Go to the Notifications tab in the alert dialog.
- Check the Webhook URL checkbox and paste the GCP Webhook URL.
- In the Settings tab, paste your generated strategy payload in the Message box.
âī¸ Regulatory Disclosures & Risk Disclaimers
Please review these disclosures thoroughly before engaging in automated or algorithmic trading.
1. Technology Software Provider Only â Not a Broker-Dealer or Investment Advisor
PhoenixAlgos is a financial technology and automated workflow software platform. PhoenixAlgos is NOT a registered broker-dealer, registered investment advisor (RIA), commodity pool operator (CPO), or commodity trading advisor (CTA) with the U.S. Securities and Exchange Commission (SEC), the Financial Industry Regulatory Authority (FINRA), the Commodity Futures Trading Commission (CFTC), or any state regulatory agency.
None of the software features, quantitative formulas, screening criteria, webhook generators, rotation rankings, or documentation provided constitute individualized investment, legal, tax, or financial advice. All services are strictly technological tools intended for self-directed individuals.
2. Substantial Risk of Financial Loss
Trading equities, options, leveraged exchange-traded funds (ETFs), digital currencies, and foreign currencies involves substantial risk of loss and is not suitable for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing financial security or lifestyle. Only risk capital should be used for trading.
Leveraged and inverse ETFs (such as SOXL, SQQQ) are complex financial instruments that seek daily investment results and undergo daily compounding. Holding leveraged instruments for longer than a single trading session may result in significant decay, divergence, and catastrophic losses.
3. Hypothetical and Simulated Performance Disclosures (CFTC Rule 4.41)
Performance metrics displayed on this dashboardâincluding annualized monthly return (MoRet%), historical alpha spreads, and screener growth statisticsâare mathematical calculations intended solely for informational modeling and historical demonstration. Past performance is never a guarantee of future performance.
4. Electronic Execution, Webhook Latency & Network Disruption Risks
Automated trading systems rely entirely on electronic communication networks, cloud servers (Google Cloud Platform), third-party charting alert dispatches (TradingView), and custodian brokerage REST/WebSocket APIs (Alpaca Securities LLC). Telecommunications failures, internet service provider outages, cloud regional maintenance, API rate throttling, and market volatility may cause order delays, failure to execute, duplicate order fills, or price slippage.
PhoenixAlgos accepts no liability for losses incurred due to transmission delays, technical outages, exchange matching engine halts, or brokerage API disconnects.
5. Self-Directed User Responsibility & Brokerage Custody
All accounts and assets are held directly with independent registered brokerages (e.g., Alpaca Securities LLC, Member FINRA/SIPC). PhoenixAlgos never takes custody of client funds or securities. You remain solely responsible for configuring order sizing, monitoring active bracket stops and take-profits, ensuring compliance with Pattern Day Trader (PDT) rules, maintaining sufficient margin balances, and revoking API keys if you wish to terminate automated execution.
đĄī¸ Quantitative Auto-Hedging & Dynamic Margin Manager
Real-time capital preservation architecture: monitors macro volatility ceilings (VIX), enforces the SQQQ 1.05x gross margin clamp upon 30-minute SQQQ MA10 > EMA25 confirmation, and executes Priority 0 risk-off rebalancing.
SQQQ Priority 0 Capital Rotation Mandate
Pair #1 Mandatory Assignment & Long Subordination
When a Buy SQQQ alert or candidate appears, it receives absolute Priority 0 over all long positions. Pair #1 always pairs SQQQ with the portfolio's worst laggard. All subsequent long buys (Pairs #2+) are suspended until gross leverage is confirmed below the 1.05x gross margin clamp.
Emergency De-leveraging & Webhook Rules
Autonomous Execution Safeguards & Risk Limits
SQQQ entries are never automated by internal scripts. SQQQ only enters the portfolio upon receiving an authentic TradingView alert webhook payload.
If Buying Power ≤ $0.00 when Buy SQQQ arrives, order submission is skipped to prevent margin rejections, but the 1.05x Clamp is immediately engaged and persists until SQQQ is acquired or 30-min MA10 ≤ EMA25.
Auto-Hedging System Architecture and Operation Guide
Complete reference for Macro Ceilings, SQQQ Clamps, Buying Power Deficit Recovery, and Rotation Mechanics.
1. Executive Summary & Core Philosophy
The PhoenixAlgos Quantitative Auto-Hedging Engine operates on a fundamental principle of quantitative risk management: Defensive agility without false triggers. Inverse instruments such as SQQQ (ProShares UltraPro Short QQQ, -3x daily leverage) degrade rapidly due to volatility drag and expense fees when held indiscriminately during ranging or bull markets. Therefore, SQQQ entries are strictly restricted to verified external TradingView technical alerts, while exit and de-leveraging mechanisms are managed autonomously in real-time.
2. Macro Structural Ceiling: VIX Dynamic Margin Matrix
The CBOE Volatility Index (VIX) serves as the macro structural ceiling governing maximum allowed portfolio gross exposure (Equity + Margin Debt / Equity):
Full offensive leverage allowed in calm markets.
Moderate buffer cap; limits new offensive margin.
Zero margin debt permitted; absolute capital preservation.
3. The SQQQ Clamp & 30-Minute Technical Signal
As soon as SQQQ enters the portfolio, or when a Buy SQQQ alert arrives:
- Trigger Condition: If 30-minute SQQQ SMA10 > EMA25, the engine immediately engages the 1.05x Gross Clamp.
- Execution: Shifts account from offensive leverage (e.g. 1.35x) down to cash-equivalent capital preservation (1.00x - 1.05x max gross ratio, 0%â5% margin debt).
- Evaluation Frequency: The 30-minute SQQQ MA10 vs EMA25 trend is evaluated at the close of every 30-minute bar (e.g. 10:00, 10:30, 11:00 AM EDT) and on incoming alert triggers.
4. Buying Power Deficit Warning & Fallback Protocol
When a Buy SQQQ alert is received:
- Partial Fallback: If buying power is less than target 10% sizing but greater than $0.00, the engine purchases as much SQQQ as buying power allows.
- Zero BP Deficit Handling: If buying power ≤ $0.00, order submission is skipped to prevent broker rejection, but the engine activates the SQQQ Clamp and emergency de-leveraging as if SQQQ was purchased.
- Persistent Warning: A prominent warning banner is rendered on the dashboard until: (a) SQQQ is bought, (b) a Sell SQQQ alert is received, or (c) 30-min SQQQ MA10 ≤ EMA25.
5. Capital Rotation: SQQQ Priority 0 Mandate
In capital rotation (`swap_analysis.py`), SQQQ holds absolute Priority 0. When an SQQQ buy candidate exists:
- It is assigned as Pair #1 and paired against the worst-performing portfolio laggard.
- All subsequent long buy candidates (Pairs #2+) are subordinate and re-evaluated strictly under the 1.05x gross margin cap.