yfinance

Fetch real-time and historical stock market data from Yahoo Finance.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/077tan/yun-skill --skill yfinance-077tan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yfinance
Source: https://github.com/077tan/yun-skill/tree/main/yfinance
Command: npx skills add https://github.com/077tan/yun-skill --skill yfinance-077tan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yfinance, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of obtaining stock market data, including real-time prices, historical charts, financial statements, options, and holdings information.

Core Features & Use Cases

  • Real-Time Stock Data: Retrieve the latest stock market prices, including price, market cap, P/E ratio, P/B ratio, dividend yield, etc.
  • Historical Charts: Access historical price charts for a given period and interval.
  • Financial Statements: View financial statements such as income statements, balance sheets, and cash flow statements.
  • Options Data: Get options data including strike price, last price, bid, ask, volume, and implied volatility.
  • Use Case: If you want to get a quick overview of Apple Inc.'s (AAPL) financial health and current stock price, use this Skill.

Quick Start

Use the yfinance skill to get the current price of Apple Inc. (AAPL).

Frequently Asked Questions about yfinance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch real-time stock market data and historical charts for financial analysis?

Fetch real-time and historical stock market data by querying the Yahoo Finance API, which returns current prices, market cap, and interval-based historical charts for financial analysis and portfolio tracking.

Can I retrieve financial statements like income statements and balance sheets for investment research?

Yes, retrieve financial statements including income statements, balance sheets, and cash flow statements for investment research to evaluate a company's financial health and performance.

Does this Skill require internet access to query Yahoo Finance for options trading data?

Yes, this Skill requires internet access to query the Yahoo Finance API for options trading data, including strike price, last price, bid, ask, volume, and implied volatility.

What's the best way to get a quick overview of a stock's current price and key financial metrics?

Query global stock market data to get a quick overview of current price, P/E ratio, P/B ratio, dividend yield, and market cap for stocks like Apple Inc. (AAPL).

What are the limitations of using the Yahoo Finance API for real-time stock market data?

This approach depends on the Yahoo Finance API for real-time and historical stock market data, meaning availability and accuracy are subject to the API's rate limits and data update frequency.

Do I need to install the yfinance Python library before using this Skill?

Yes, you must have the yfinance Python library installed in your environment, as this Skill uses it to fetch global stock market data, financial statements, and options information.