Cointegration Breakout Alert
Trading when crypto breaks from tradition.
Overview
This pillar identifies when a crypto asset's price diverges from a macro asset it historically follows, like a stock index or commodity. This breakdown in their statistical relationship can signal a major market shift or a significant mispricing opportunity.
What It Does
The pillar first uses statistical tests, like the Augmented Dickey-Fuller test, to confirm a stable, long-term relationship (cointegration) between a crypto asset and a traditional asset. It then continuously tracks the price ratio or spread between the pair. An alert is triggered when this spread deviates significantly from its historical average, suggesting the relationship is breaking.
Why It Matters
Simple correlation can be misleading. Cointegration provides a more robust, statistical confirmation of a long-term economic link between assets. A breakout from this link is a powerful signal that underlying fundamentals are changing, often preceding a major price move.
How It Works
First, the system establishes a cointegrated pair, for example Bitcoin and the Nasdaq 100 ETF (QQQ). It then calculates the historical mean and standard deviation of the price spread between them. The pillar monitors the live spread and flags a breakout when its z-score exceeds a predefined threshold, like 2.0, indicating an unusual divergence.
Methodology
Uses an Augmented Dickey-Fuller (ADF) test to establish cointegration with a p-value threshold of < 0.05. A linear regression finds the hedge ratio for the pair. The pillar then calculates the z-score of the current price spread (Crypto Asset Price - hedge_ratio * Macro Asset Price). Breakouts are triggered when the z-score exceeds +/- 2.0 based on a 90-day rolling window.
Edge & Advantage
This pillar moves beyond basic correlation to find statistically significant structural breaks in pricing relationships that most retail traders overlook.
Key Indicators
-
Z-Score of Price Ratio
highMeasures how many standard deviations the current asset price ratio is from its historical mean. A high value signals a potential breakout.
-
Dickey-Fuller Test Stat
highA statistical test used to validate the long-term cointegration relationship between assets. A significant result is required for the model to be active.
-
Residual Variance
mediumMeasures the volatility of the spread between the two assets. Increasing variance can be a precursor to a relationship breakdown.
Data Sources
-
Provides historical and real-time price data for a wide range of crypto assets.
-
Source for historical price data for traditional stocks, ETFs, and indices like the S&P 500.
-
Provides on-chain metrics that can help explain the fundamental reasons for a crypto asset's price divergence.
Example Questions This Pillar Answers
- → Will Bitcoin's correlation with the Nasdaq 100 fall below 0.3 by year-end?
- → Will Ethereum outperform Gold by more than 15% in the next quarter?
- → Will Solana's price decouple from the S&P 500's trend for more than 30 consecutive days?
Tags
Use Cointegration Breakout Alert on a real market
Run this analytical framework on any Polymarket or Kalshi event contract.
Try PillarLab