Yahoo Finance Data Fetch
Get current quotes, price history, financial statements, options chains, dividends, analyst estimates, and more for any stock or ETF using Yahoo Finance data. Your AI handles tickers and custom screens.
Try asking: “Get the latest income statement and options chain for AAPL”
himself65 on GitHub
Curated by PromptsEdge from a public repo · MIT license. All credit goes to the author.
What is this skill?
Accessing comprehensive financial and market data is essential for research, trading, and investment decisions. With this skill, your AI fetches real-time quotes, historical price data, financial statements, options chains, dividends, earnings, analyst estimates, ownership data, and more from Yahoo Finance using the yfinance Python library. Whether you need a quick price check, a deep dive into financials, or a custom stock screen, your AI delivers reliable, up-to-date information for any ticker.
What you can do
- Get current prices and quotes: "What’s the price of TSLA?" returns real-time price, market cap, and key ratios.
- Fetch historical price data: "Show AAPL’s price history for the last 2 years" provides OHLCV data.
- Retrieve financial statements: "Get the income statement for MSFT" returns annual or quarterly results.
- View options chains and greeks: "Show options for NVDA expiring next Friday" includes calls, puts, and greeks.
- Check dividends and splits: "Dividend history for KO" lists payouts and split events.
- Screen and compare stocks: "Screen for tech stocks with low P/E" or "Compare AAPL, MSFT, and GOOG."
- Get analyst ratings and estimates: "What are the analyst targets for AMZN?"
How it works
When you mention a ticker or request financial data, your AI uses yfinance to fetch the relevant information from Yahoo Finance. It parses your request to determine which data to retrieve—quotes, history, statements, options, or ownership—and returns formatted tables or summaries. For screens or comparisons, it processes multiple tickers and applies your filters. The AI is ready for both simple lookups and complex multi-ticker analyses.
Good to know
- Requires Python 3.8+; yfinance is auto-installed if missing.
- Works on all platforms with code execution (Claude Code, Claude.ai, etc.).
- Reference files include a complete yfinance API guide with code examples.
Install this skill
- 1
Get the skill — it’s free
Use the Get this skill panel. Unlocked skills stay in My skills. - 2
Download or clone the files
Download the zip, or clone the repo and copy theplugins/market-analysis/skills/yfinance-datafolder. - 3
Put it where your agent looks for skills
For Claude Code, use your personal skills folder (every project) or a project’s own folder:~/.claude/skills/yfinance-data/SKILL.md # all projects .claude/skills/yfinance-data/SKILL.md # this project only
- 4
Just ask
No command needed. The agent reads the skill’s description and loads it on its own when your request matches.
SKILL.md frontmatter
What your agent reads to decide when to load this skill.
--- name: yfinance-data description: Fetch financial and market data with the yfinance Python library (Yahoo Finance). Use this skill whenever the user wants stock data: current quotes and price history, financial statements (income statement, balance sheet, 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, or sector and industry data. Use it even when the user gives only a ticker symbol (AAPL, MSFT, TSLA) and the intent has to be inferred. For earnings previews or recaps, estimate revisions, valuation, correlation, liquidity, or ETF premium analysis, prefer the dedicated skill. ---
Files
Open any Markdown file to read it here.
Related skills
View all →- Stock Liquidity AnalysisFreeYour AI analyzes a stock’s liquidity: bid-ask spreads, volume, order book depth, market impact, turnover, and slippage, all from Yahoo Finance data. Get a liquidity grade and cost estimates for trading.
- SaaS Valuation CompressionFreeYour AI analyzes how a private SaaS company’s ARR multiple changed between funding rounds, attributes the causes, and benchmarks against market medians and peers. Includes charts and a concise verdict.
- Stock Correlation AnalysisFreeYour AI finds correlated stocks, measures pairwise correlation and beta, builds correlation matrices, and tracks rolling or regime-based co-movement using Yahoo Finance data. Great for pair trading, sector analysis, and risk management.
- SEPA Stock AnalysisFreeYour AI analyzes stocks using Mark Minervini’s SEPA method: trend template, stage analysis, base patterns, pivot points, and risk-based sizing. Get a full readiness check for superperformance trades.