What problem does it solve?
This Skill helps traders and quantitative analysts identify pairs of financial assets that exhibit a stable, long-term relationship, enabling the development of pairs trading and statistical arbitrage strategies.
Core Features & Use Cases
- Cointegration Testing: Implements Engle-Granger and Johansen tests to statistically validate long-run relationships between asset prices.
- Hedge Ratio Estimation: Calculates the optimal ratio for constructing a market-neutral spread.
- Mean Reversion Analysis: Assesses the stationarity and speed of convergence of the spread using ADF tests, Hurst exponents, and half-life calculations.
- Rolling Stability: Monitors cointegration relationships over time to detect structural breaks.
- Use Case: A quantitative analyst can use this Skill to screen a universe of cryptocurrencies for pairs that are cointegrated, estimate their hedge ratio, and determine if the spread is mean-reverting, thus identifying potential pairs for a statistical arbitrage strategy.
Quick Start
Analyze the cointegration between 'SOL' and 'ETH' price series using the cointegration analysis skill.