PromptsEdge
FreeGitHubData

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.