📈
DataJavaScript

YFinance Data

by himself65

YFinance Data 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 YFinance Data
Copy YFinance Data 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/yfinance-data ~/.claude/skills/yfinance-data

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/yfinance-data/SKILL.md in himself65/finance-skills
Installs to
~/.claude/skills/yfinance-data
Collection
One of 25 skills cataloged from this repository
Category
Data — 668 skills

What YFinance Data does

YFinance Data fetches financial and market data from Yahoo Finance using the yfinance Python library. Use it when the user asks for stock prices, historical data, financial statements, options chains, dividends, earnings, or analyst recommendations.

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

Documentation

README

yfinance Data Skill

Fetches financial and market data from Yahoo Finance using the yfinance Python library.

Important: yfinance is not affiliated with Yahoo, Inc. Data is for research and educational purposes.


Step 1: Ensure yfinance Is Available

Current environment status:

!`python3 -c "exec('try:\n import yfinance\n print(\'yfinance \' + yfinance.__version__ + \' installed\')\nexcept Exception:\n print(\'YFINANCE_NOT_INSTALLED\')')"`

If YFINANCE_NOT_INSTALLED, install it before running any code:

import subprocess, sys
subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", "yfinance"])

If yfinance is already installed, skip the install step and proceed directly.


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

Frequently asked about YFinance Data

  • What else does himself65 publish alongside YFinance Data?

    YFinance Data 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 YFinance Data 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 YFinance Data compare to other Data skills?

    YFinance Data ranks #243 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 YFinance Data against them. Open each page to compare what they document and how they install.

More from himself65/finance-skills

YFinance Data 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