Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

yfinance-data

Skill by himself65

Fetches stock and market data from Yahoo Finance using the yfinance Python library. It is for users who want quotes, price history, financial statements, options, analyst data or ownership details.

  • Score 77
  • 3.6k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install yfinance-data

Built from the published package, never by AI.

git clone --depth 1 https://github.com/himself65/finance-skills /tmp/finance-skills && mkdir -p ~/.claude/skills && cp -r /tmp/finance-skills/plugins/market-analysis/skills/yfinance-data ~/.claude/skills/yfinance-data

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install yfinance-data in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The yfinance-data skill lets an AI assistant pull financial and market data from Yahoo Finance with the yfinance Python library. It covers current quotes and price history, income statements, balance sheets and cash flow, options chains, dividends and splits, earnings and analyst estimates, price targets and ratings, institutional and insider holdings, news, multi-ticker comparisons, stock screens, and sector and industry data.

The skill checks whether yfinance is installed and installs it with pip if needed. It maps each user request to a data category and runs Python code based on a reference file, with try/except wrapping and guidance on date ranges, intervals and timezones. The publisher notes that yfinance is not affiliated with Yahoo, Inc. and that the data is for research and educational purposes. It suits people who want stock data from a ticker symbol or a request.

Written from the project's SKILL.md and checked against it.

What it can do

  • Current quotesGets the current price using ticker.info or ticker.fast_info.
  • Price historyRetrieves historical OHLCV data with ticker.history() or yf.download().
  • Financial statementsReads income statement, balance sheet and cash flow, annual or quarterly.
  • Options chainsLists expiration dates and fetches calls and puts for a chosen date.
  • Dividends and splitsReturns corporate action data for dividends and stock splits.
  • Earnings and estimatesRetrieves earnings history and analyst price targets and ratings.
  • Ownership dataShows institutional holders and insider transactions.
  • News and screensFetches ticker news and runs stock screens with yf.screen() and EquityQuery.
  • Sector dataProvides sector and industry market data through yf.Sector and yf.Industry.

What you need

  • Python
  • pip, to install the yfinance library
  • Internet access to Yahoo Finance

Try asking

  • Show me AAPL's price history for the last 6 months.
  • Compare MSFT, GOOGL and AMZN using their recent price history.
  • What are the upcoming options expirations and calls for TSLA?

Good to know

  • yfinance is not affiliated with Yahoo, Inc.
  • Data is for research and educational purposes.
  • Yahoo Finance may rate-limit requests or return empty data.
  • 1m interval data only goes back about 7 days, and 1h data about 730 days.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: plugins/market-analysis/skills/yfinance-data/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • README.md2 KB
  • SKILL.md5 KB
  • references/api_reference.md9 KB

Alternatives to yfinance-data

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

yfinance-data: common questions

Does yfinance-data need an API key?

The source does not mention an API key. It states that the skill uses the yfinance Python library to fetch data from Yahoo Finance.

Is this data from Yahoo?

The data comes from Yahoo Finance through yfinance. The source states that yfinance is not affiliated with Yahoo, Inc.

What is this skill not meant for?

The source says earnings previews or recaps, estimate revisions, valuation, correlation, liquidity and ETF premium analysis should go to the dedicated skill instead.

How do I install yfinance-data?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is yfinance-data free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is yfinance-data safe to use?

It scores 77 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to yfinance-data?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

yfinance-data Install

Add to stack

Loading.