yfinance
Skill by mkurman
Downloads Yahoo Finance market data for quant research and backtesting. It covers stock prices, options chains, fundamentals, dividends, splits, earnings, institutional holders and financial statements.
Install yfinance
Built from the published package, never by AI.
git clone --depth 1 https://github.com/mkurman/zorai /tmp/zorai && mkdir -p ~/.claude/skills && cp -r /tmp/zorai/skills/scientific-skills/yfinance ~/.claude/skills/yfinanceRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/mkurman/zorai /tmp/zorai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/zorai/skills/scientific-skills/yfinance ~/.gemini/antigravity-cli/skills/yfinanceAntigravity 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
yfinance is an agent skill that downloads Yahoo Finance market data. According to the source, it covers stock prices, options chains, fundamentals, dividends, splits, earnings, institutional holders and financial statements. The skill is installed with uv pip install yfinance and its examples are written in Python.
The examples show how to pull price history with yf.download, read company information such as market cap and PE ratio from a Ticker, and load balance sheets, financials and option chains into pandas DataFrames. The source describes it as a fast path from ticker symbol to DataFrame for quant research and backtesting. The listed publisher is mkurman.
Written from the project's SKILL.md and checked against it.
What it can do
- Price historyDownloads stock prices for a ticker and date range with yf.download.
- Company fundamentalsReads ticker info such as market cap, trailing PE ratio and dividend yield.
- Financial statementsPrints a ticker's balance sheet and financials.
- Options chainsLists calls and puts with strike, last price, implied volatility and volume.
- Other market dataListed in the description: dividends, splits, earnings and institutional holders.
What you need
- Python
- uv, used for the uv pip install command
Try asking
- Download MSFT daily prices for 2024 and show the first rows.
- What are AAPL's market cap, PE ratio and dividend yield?
- Show the first calls and puts in AAPL's options chain.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/scientific-skills/yfinance/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to yfinance
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: common questions
What market data does yfinance download?
According to the source, it downloads stock prices, options chains, fundamentals, dividends, splits, earnings, institutional holders and financial statements from Yahoo Finance.
Who is yfinance meant for?
The source says it is a quick data ingestion tool for quant research and backtesting.
Where can I find the upstream yfinance project?
The source links to the yfinance GitHub repository at github.com/ranaroussi/yfinance.
How do I install yfinance?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is yfinance free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is yfinance safe to use?
It scores 57 of 100. Grades: maintenance A, licence A, quality B. 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?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
