COINQuant & risk

Cointegration

pairs trading

Find pairs whose prices are tethered together over time, size the trade that profits when they drift apart and snap back, and time entries off how far apart they currently are.

What it does04
01

A pair of stocks can wander individually while a specific combination of them holds steady — that combination, and whether it's real or a statistical accident, is what this tool tests.

02

Once a pair checks out, it gives you the spread to trade, the hedge ratio that makes it market-neutral, and a live reading of how stretched the spread is right now.

03

The Screener side skips the testing step and hands you a ranked shortlist of a stock's already-vetted partners, so you can scan for a tradeable setup instead of hunting for one pair at a time.

04

Only tickers inside the app's sample universe can be tested; anything else won't have the history needed to run the checks.

Views02
Analyze

Test two tickers for a genuine, stable relationship, then read the current spread to decide whether it's stretched enough to trade.

Screener

Scan an anchor stock's pre-vetted partners for one that is both statistically sound and currently dislocated.

How you use it05
01

Choose how the hedge ratio is estimated and whether the tests allow for a trend, which changes both the spread you'd trade and the strength of the cointegration verdict.

02

Switch the hedge ratio between a fixed value and a Kalman filter that lets it drift, trading stability for responsiveness to a relationship that's slowly changing.

03

Run the test on the full history or a shorter rolling window, and scrub that window back through time to see whether the relationship has always held or only recently.

04

Turn on the structural-break test to catch a pair whose relationship shifted once and then re-stabilized — something the standard test alone can miss.

05

In the Screener, filter to only partners that already passed the vetting, and sort or re-axis the list by reversion speed, significance, or current dislocation.