All skills
pair-trade-screener
Screen stocks for cointegrated pairs and output z-scores, hedge ratios, and entry/exit signals.
- Part of tradermonty/claude-trading-skills
- 3.8k installs
- Finance · Quant trading
When to use it
You have a sector or ticker list and need statistically validated market-neutral pair candidates with current spread signals.
For example
You say
Use pair-trade-screener to find cointegrated pairs in the Technology sector over the past two years and flag any with a z-score beyond ±2.
You get
- pairs.json with ranked pairs
- Z-score and signal summary
- Half-life and ADF results
How it works
- Pairs are filtered by correlation ≥0.70 and ADF p-value <0.05 before signals are generated.
- Dividend-adjusted prices are preferred; raw close is used with a warning when unavailable.
Before installing
Requires an FMP API key with company screener and historical-price access, plus Python 3.9+ and statsmodels 0.14.x.
This skill includes 11 scripts your assistant may run on your computer.
More Quant trading skills
See allAlso in this pack
- backtest-expert4.8kGuides you through backtesting a trading strategy, checking robustness and avoiding overfitting and bias.
- market-news-analyst4.7kReviews recent market-moving news, central-bank decisions and earnings to explain their impact on stocks and commodities.
- technical-analyst4.6kReads weekly price charts to identify trends, support and resistance, and scenario probabilities.
- market-environment-analysis4.4kAnalyzes global markets, forex and commodities to give a risk-on or risk-off view of the trading environment.