Pairs & relative value
For stat-arb desks, relative-value and market-neutral PMs
Hedge ratio, half-life, cointegration test and live spread z-score in one call. Candidate pairs come from a nightly correlation graph instead of a brute-force search.
- Financial markets
- 6 steps
- Runs on live data
Built for
How EquationDB answers it
Each step is one query on live data. Run them in order, or open any one and adapt it: change the symbol, the station, the dates or the filter.
Full pairs diagnostic
Hedge ratio, spread z-score, half-life, ADF statistic and the current signal for Coca-Cola versus PepsiCo.
ANALYZE pairs KO VS PEP
Payment networks
The same diagnostic on Visa versus Mastercard, a textbook relative-value pair.
ANALYZE pairs V VS MA
Find the natural partner
JPMorgan's closest co-movers by 60-day correlation, with 250-day correlation and beta, as pair candidates.
GRAPH NEIGHBORS OF JPM LIMIT 10
Who leads whom
Cross-correlations at daily lags for every pair of large oil producers: is there a leader to trade the laggards against?
ANALYZE lead_lag (XOM, CVX, COP, OXY, EOG)
Bank covariance and factors
Annualized covariance of the big six banks and its principal components: how much is one common factor.
ANALYZE covariance (JPM, BAC, C, WFC, GS, MS)
Cheapest bank on a z-score
Banks ranked by 20-day price z-score, to spot the member that has lagged its group.
GET top500 SELECT symbol, industry, zscore(close, 20) AS z, rsi(14) WHERE industry LIKE '%bank%' SORT z
Run it on your own question
Sign in and press Try it on any step, or ask for a short demo on your data.
More financial markets use cases
- Morning briefingPortfolio managers, heads of trading, desk strategists
- Momentum & trend followingCTAs, trend followers, growth PMs
- Mean reversion & short-term reversalShort-term traders, stat-arb desks
- Event-driven tradingEvent-driven PMs, special-situations traders
- Earnings tradingEarnings traders, fundamental L/S analysts
- Volatility & regime tradingVolatility traders, options desks, risk-premia PMs