pair-trade-screener

Identify and analyze stock pairs using cointegration and correlation tests.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/darkounus90/BOTTX3 --skill pair-trade-screener-darkounus90
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pair-trade-screener
Source: https://github.com/darkounus90/BOTTX3/tree/main/.agents/skills/pair-trade-screener
Command: npx skills add https://github.com/darkounus90/BOTTX3 --skill pair-trade-screener-darkounus90

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, scipy, statsmodels, requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps traders identify and analyze pairs of stocks with strong correlation and cointegration, enabling them to execute market-neutral strategies.

Core Features & Use Cases

  • Cointegration Testing: Tests for long-term equilibrium relationships between stock pairs.
  • Correlation Analysis: Measures the strength and stability of the relationship between pairs.
  • Mean Reversion Analysis: Determines the speed at which the spread between pairs reverts to the mean.
  • Trade Signal Generation: Provides automatic entry and exit recommendations based on statistical thresholds.
  • Use Case: A trader wants to find pairs of stocks that have historically moved together and are currently mispriced, with the aim of profiting from the mean reversion.

Quick Start

Run the pair-trade-screener skill on the sector 'Technology' to find pairs of stocks with strong correlation and cointegration.

Frequently Asked Questions about pair-trade-screener

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find cointegrated stock pairs for market-neutral pair trading?

To find cointegrated stock pairs for market-neutral pair trading, this skill applies statistical cointegration testing and correlation analysis to identify equities with strong historical relationships and mean reversion potential.

What statistical methods are used to test for mean reversion in a pair trading strategy?

Mean reversion in a pair trading strategy is tested using cointegration testing, correlation analysis, and spread calculations powered by statsmodels and scipy to determine the speed at which stock pairs revert to their historical equilibrium.

Can I use pandas and numpy to screen for correlated stocks in a specific sector like Technology?

Yes, you can use pandas and numpy to screen for correlated stocks in a specific sector like Technology by running the skill to calculate statistical measures and identify pairs exhibiting strong correlation and cointegration.

How do I generate trade signals for mispriced stock pairs?

Trade signals for mispriced stock pairs are generated by applying statistical thresholds to the mean reversion analysis, providing automatic entry and exit recommendations when the spread between correlated equities diverges from its historical mean.

Does this pair trading screener require historical price data from external requests?

Yes, the pair trading screener requires the requests library to fetch historical price data, which is then processed using pandas and statsmodels to calculate cointegration and correlation metrics for market-neutral opportunities.

When should I not rely on correlation analysis for pair trading?

You should not rely on correlation analysis alone for pair trading when stocks lack long-term equilibrium, as this skill requires cointegration testing alongside correlation to confirm that the spread between pairs will actually exhibit mean reversion.