yahoo-finance

Fetch a stock or ETF snapshot from Yahoo Finance using yfinance.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/ekkus93/vscode_skills --skill yahoo-finance-ekkus93
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yahoo-finance
Source: https://github.com/ekkus93/vscode_skills/tree/main/skills/yahoo-finance
Command: npx skills add https://github.com/ekkus93/vscode_skills --skill yahoo-finance-ekkus93

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yfinance.

What problem does it solve?

Investors and analysts need a fast, reliable snapshot of a stock or ETF without manual data gathering.

Core Features & Use Cases

  • Single-ticker snapshot: price, market cap, and key fundamentals.
  • Supports common periods (1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max) for trend context.
  • Returns a structured summary suitable for quick dashboards or prompts.
  • Handles missing data gracefully and reports when data is unavailable.

Quick Start

Provide a ticker symbol and an optional period to fetch a Yahoo Finance snapshot.

Frequently Asked Questions about yahoo-finance

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

FAQPage Schema
How do I get a quick Yahoo Finance stock snapshot using Python?

To get a Yahoo Finance stock snapshot, provide a ticker symbol and an optional period to fetch current price, market cap, and key fundamentals using the yfinance Python library.

What stock fundamentals can I retrieve with a single ticker request?

A single ticker request retrieves a structured summary including the company name, current price, market cap, and key metrics, along with price action for the specified period.

Can I fetch historical price trends for multiple periods with yfinance?

Yes, you can fetch historical price trends by specifying a period parameter, which supports common ranges like 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, and max.

Does this yfinance approach handle missing stock data gracefully?

Yes, the approach handles missing data gracefully by reporting when specific data points are unavailable, ensuring the snapshot returns without failing on incomplete metrics.

Can I pull market snapshot data for ETFs or only individual stocks?

You can pull market snapshot data for both ETFs and individual stocks, as the tool accepts any valid ticker symbol to return price action and basic fundamentals.

What is the best way to view basic market cap and current price for a ticker?

The best way to view market cap and current price is to request a single-ticker snapshot, which returns a structured summary of core metrics suitable for quick dashboards.