Profits from mean reversion of SPY-QQQ spread, regardless of market direction
| Strategy Type | Statistical Arbitrage / Market Neutral |
| Market Outlook | Profits from mean reversion of SPY-QQQ spread, regardless of market direction |
| Risk Profile | Moderate - Market neutral but exposed to spread divergence risk |
| Reward Profile | Consistent returns from spread reversion with reduced market exposure |
| Time Horizon | Swing trading (days to weeks) |
| Iv Environment | Works in any IV; spread behavior independent of absolute volatility |
| Breakeven | Spread returns to mean from entry level |
| Primary Instruments | SPY (S&P 500 ETF), QQQ (Nasdaq-100 ETF) |
| Futures Alternative | ES (E-mini S&P 500), NQ (E-mini Nasdaq-100) |
| Sec Compliance | Standard trading rules; no special requirements for ETF pairs |
| Contract Size | 100 shares per ETF, or 1 futures contract |
| Trading Hours | 9:30 AM - 4:00 PM ET (ETFs), nearly 24 hours (futures) |
| Settlement | T+1 for ETFs, same day for futures |
| Margin Requirements | Reg T for ETFs (50% each leg); reduced margin for futures spread |
| Pdt Rule | Applicable if day trading with under $25K |
| Tax Treatment | Short-term capital gains; futures have 60/40 tax treatment |
No! That's the beauty of pairs trading. If you're long SPY and short QQQ, you profit from SPY outperforming QQQ regardless of whether the market goes up or down. If both rise but SPY rises more, you profit. If both fall but QQQ falls more, you profit. You're betting on relative performance, not absolute direction.
For ETF pairs, you need capital for both legs plus margin for the short. A minimum practical size might be $10K each leg ($20K total). With Reg T margin, you'd need about $15K cash. For futures (ES-NQ), spread margin reduces this significantly, potentially to $10-15K for one spread.
In a crash, both typically fall together (correlation spikes). If you're long SPY/short QQQ, losses on SPY are offset by gains on QQQ short. The net P&L depends on which falls more. Usually, the spread compresses (moves toward mean), potentially helping your trade if you had a spread position on.
In a standard brokerage account, you can short QQQ by selling shares you don't own (borrowing them from your broker). You'll need a margin account. Alternatively, you can buy inverse ETFs (like SQQQ) or buy put options on QQQ. Most brokers make shorting major ETFs like QQQ easy and cheap.
Typically 5-15 days for most trades. The spread usually reverts within 2-3 weeks if it's going to revert. We use time stops (20-30 days) because trades lasting longer may indicate the relationship has changed. Some traders hold longer, but capital efficiency suffers.
Dollar-neutral (equal $ in each leg) is simpler and works reasonably well for SPY-QQQ because their beta difference is moderate (~0.80-0.85). Beta-neutral (adjusting for volatility difference) provides slightly better market neutrality but requires more capital in one leg. Start with dollar-neutral for simplicity.
At minimum, recalculate monthly. For active trading, use rolling regression with trailing 60 days and update daily or weekly. The SPY-QQQ relationship is fairly stable, so monthly updates are usually sufficient. During volatile periods or regime changes, more frequent updates help.
Non-reversion can occur from: (1) Structural shifts (e.g., tech permanently re-rated), (2) Prolonged sector rotation (e.g., extended value outperformance), (3) Correlation breakdown (relationship fundamentally changed), (4) Continuous flow imbalance (persistent buying/selling in one ETF). Monitor macro context to assess whether divergence is temporary or structural.
Yes, but it adds complexity. You could buy SPY calls and QQQ puts (or vice versa) to express the pairs view with defined risk. However, you're fighting theta decay, and the options spread may not move exactly with the underlying spread. Longer-dated options (30-45 DTE) work better than weeklies for pairs.
Both SPY and QQQ pay dividends. If you're long SPY, you receive its dividend. If you're short QQQ, you pay its dividend. SPY typically has slightly higher dividend yield than QQQ. The net effect is small but consider it for longer holds. Ex-dividend dates can cause small spread movements.
The Kalman filter models the hedge ratio as a hidden state that evolves over time. State equation: β_t = β_{t-1} + w_t (random walk). Observation equation: SPY_t = α + β_t × QQQ_t + v_t. Initialize with OLS estimate, then recursively update with each new observation. Libraries like pykalman in Python make implementation straightforward.
There's no universal optimal - it depends on your trading horizon. Shorter lookbacks (10-20 days) capture recent behavior but are noisy. Longer lookbacks (60-90 days) are more stable but may miss regime changes. Typically 20-30 days works well for swing trading. You can optimize via backtesting, but avoid overfitting by keeping it within reasonable range.
Roll both legs simultaneously 1-2 weeks before expiration when the new contract has sufficient liquidity. Use calendar spread orders if available to minimize slippage. Account for roll cost (typically small for ES/NQ). Track your spread position in the new contracts. Some traders stay in front month only; others use continuous contracts for analysis.
In my testing, the most predictive features are: (1) Spread Z-Score itself (extreme values predict reversion), (2) Spread momentum (5-10 day) - overshoots often snap back, (3) Rolling correlation - high correlation predicts reversion, low doesn't, (4) VIX level - moderate VIX is best for reversion, (5) Relative RSI (SPY RSI - QQQ RSI) - shows momentum divergence.
To scale: (1) Add more pairs (SPY-IWM, sector pairs, stock pairs) with independent Z-Scores, (2) Create portfolio-level position limits and correlation adjustments between pairs, (3) Implement dynamic capital allocation based on signal strength, (4) Build automated execution infrastructure, (5) Monitor portfolio Greeks and factor exposures, (6) Implement risk controls at pair and portfolio level.
Full guided lessons, quizzes, and a complete strategy library for the United States market. One-time purchase. No subscription, ever.
Get United States access →