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.
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-dataRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/himself65/finance-skills /tmp/finance-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/finance-skills/plugins/market-analysis/skills/yfinance-data ~/.gemini/antigravity-cli/skills/yfinance-dataAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
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
ANo 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 →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
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.
