Skip to content

Statistical arbitrage screener that finds cointegrated stock pairs, computes spread z-scores, and suggests market-neutral entries and exits.

CCM score
61 of 100
skills.sh installs
4.1K
GitHub stars
8.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full pair trading workflow: universe selection, correlation filtering, cointegration testing, spread analysis, and signal generation
  • Includes find_pairs.py with sector, symbol-list, and lookback options, using FMP dividend-adjusted prices with an unadjusted close fallback
  • Enforces a 0.70 minimum correlation, an ADF p-value below 0.05 for cointegration, and liquidity screens of $2B market cap and 1M shares daily volume
  • Designed for traders building market-neutral portfolios who need statistical screening that requires an FMP API key and statsmodels

Install

$ npx -y skills add tradermonty/claude-trading-skills --skill pair-trade-screener -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Pair Trade Screener

Overview

This skill identifies and analyzes statistical arbitrage opportunities through pair trading. Pair trading is a market-neutral strategy that profits from the relative price movements of two correlated securities, regardless of overall market direction. The skill uses rigorous statistical methods including correlation analysis and cointegration testing to find robust trading pairs.

Core Methodology:

  • Identify pairs of stocks with high correlation and similar sector/industry exposure
  • Test for cointegration (long-term statistical relationship)
  • Calculate spread z-scores to identify mean-reversion opportunities
  • Generate entry/exit signals based on statistical thresholds
  • Provide position sizing for market-neutral exposure

Key Advantages:

  • Market-neutral: Profits in up, down, or sideways markets
  • Risk management: Limited exposure to broad market movements
  • Statistical foundation: Data-driven, not discretionary
  • Diversification: Uncorrelated to traditional long-only strategies

When to Use This Skill

Details

Repository
github.com/tradermonty/claude-trading-skills
Categories
Finance & Trading, Data Science & Analytics
First seen
Jun 3, 2026

More from tradermonty/claude-trading-skills

All 54

Similar to Pair Trade Screener

More Finance & Trading