📈
DataJavaScript

Stock Correlation

by himself65

Stock Correlation is a Data skill for Claude Code, published by himself65 in finance-skills.

3.2K stars368 forkson himself65/finance-skillsAdded 2026/08/17+1% in starsRepository updated 2026/08/15
agent-skillsclaude-codeskillstrading
Install in seconds
Install Stock Correlation
Copy Stock Correlation into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/himself65/finance-skills/tree/main/plugins/market-analysis/skills/stock-correlation ~/.claude/skills/stock-correlation

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/himself65/finance-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
plugins/market-analysis/skills/stock-correlation/SKILL.md in himself65/finance-skills
Installs to
~/.claude/skills/stock-correlation
Collection
One of 25 skills cataloged from this repository
Category
Data668 skills

What Stock Correlation does

Stock Correlation analyzes historical price data from Yahoo Finance to find related stocks, compute return correlations, cluster sector peers, and identify trading pairs. Use it when someone asks what correlates with a ticker, how two stocks move together, or for sector peer analysis.

Stock Correlation is cataloged under Data on DirSkills. Stock Correlation comes from a repository tagged agent-skills, claude-code, skills and trading.

Documentation

README

Stock Correlation Analysis Skill

Finds and analyzes correlated stocks using historical price data from Yahoo Finance via yfinance. Routes to specialized sub-skills based on user intent.

Important: This is for research and educational purposes only. Not financial advice. yfinance is not affiliated with Yahoo, Inc.


Step 1: Ensure Dependencies Are Available

Current environment status:

!`python3 -c "exec('try:\n import yfinance, pandas, numpy\n print(f\'yfinance={yfinance.__version__} pandas={pandas.__version__} numpy={numpy.__version__}\')\nexcept Exception:\n print(\'DEPS_MISSING\')')"`

If DEPS_MISSING, install required packages before running any code:

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Stock Correlation

  • What else does himself65 publish alongside Stock Correlation?

    Stock Correlation is one of 25 skills that DirSkills catalogs from himself65/finance-skills, the repository it ships in. Its siblings there include Company Valuation, Discord Reader and ETF Premium. Each one is a separate skill with its own page in this directory, installs the same way Stock Correlation does, and is maintained by himself65 in that same repository. The rest of the collection is listed on the himself65/finance-skills page.

  • How does Stock Correlation compare to other Data skills?

    Stock Correlation ranks #237 by stars among the 668 Data skills in this catalog. The most-starred ones next to it are Benchmark Methodology, Jupyter Notebook and Solana. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Stock Correlation against them. Open each page to compare what they document and how they install.

More from himself65/finance-skills

Stock Correlation is one of 25 skills cataloged on DirSkills from himself65/finance-skills.

See all 25 skills
📊
2w ago

Company Valuation

Company Valuation estimates intrinsic value using DCF, relative peer multiples, and sum-of-parts methods, then blends them into an implied share price with upside/downside. Use it for questions like 'what is AAPL worth' or to assess over/undervaluation.
Data
3.2K368
💬
2w ago

Discord Reader

Discord Reader reads Discord channels and messages using opencli, a read-only CLI tool for financial research. Use it to search trading servers, monitor crypto or market discussion groups, and gather sentiment from Discord.
Automation
3.2K368
📊
2w ago

ETF Premium

ETF Premium calculates an ETF's market price premium or discount relative to its NAV using Yahoo Finance data, and decomposes surges into NAV-driven vs structural components. Use it when analyzing gaps between ETF price and underlying value, especially for bond, leveraged, crypto, and international ETFs.
Data
3.2K368
📊
2w ago

Earnings Preview

Earnings Preview generates a pre-earnings briefing for any stock using Yahoo Finance data. Use it to prepare for upcoming earnings reports, understand analyst expectations, and review beat/miss history.
Data
3.2K368
📊
2w ago

Earnings Recap

Earnings Recap generates a post-earnings analysis for any stock using Yahoo Finance data, covering beat/miss results, revenue trends, and stock price reaction. Use this when someone asks about a company's recent earnings outcome.
Data
3.2K368
📊
2w ago

Estimate Analysis

Estimate Analysis deep-dives into analyst estimates and revision trends for any stock using Yahoo Finance data. Use it to understand EPS and revenue forecast changes, revision momentum, and growth projections across periods.
Data
3.2K368