stocks

Fetch real-time stock quotes and historical data from Yahoo Finance using Python stdlib.

Updated Jun 19, 2026
One-click install
npx skills add https://github.com/AnandaAnugrahHandyanto/savarez_agent --skill stocks-anandaanugrahhandyanto
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: stocks
Source: https://github.com/AnandaAnugrahHandyanto/savarez_agent/tree/main/optional-skills/finance/stocks
Command: npx skills add https://github.com/AnandaAnugrahHandyanto/savarez_agent --skill stocks-anandaanugrahhandyanto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Stock market data access for quick insights without API keys or external services.

Core Features & Use Cases

  • Quote, search, history, compare, and crypto lookups for tickers and company names.
  • Python stdlib only — no external dependencies.
  • Optional Alpha Vantage enrichment when an API key is provided.

Quick Start

Get the current price and 52-week high for AAPL.

Frequently Asked Questions about stocks

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

FAQPage Schema
How do I get stock quotes and historical data without an API key?▼

Stock quotes and historical data can be fetched directly from Yahoo Finance using Python standard library modules, returning JSON without requiring external API keys.

Can I look up cryptocurrency prices and company names alongside regular stock tickers?▼

Crypto lookups, ticker searches, and company name queries are supported natively, allowing you to retrieve real-time quotes and compare assets seamlessly.

What's the best way to enrich stock history data with backfilled metrics?▼

Stock history data can be optionally enriched with backfilled metrics by providing an Alpha Vantage API key, adding deeper financial context to the fetched results.

Do I need to install external Python packages to fetch Yahoo Finance stock data?▼

No external Python packages are needed to fetch Yahoo Finance stock data, as the Skill operates entirely on Python 3.8+ standard library modules with zero dependencies.

How do I compare stock quotes from the command line?▼

Comparing stock quotes from the command line is handled by the built-in compare function, which retrieves and evaluates multiple ticker symbols to output relative JSON data.

Are there limitations to fetching stock history using only Python stdlib?▼

Fetching stock history using only Python stdlib limits complex backfilled metrics unless an optional Alpha Vantage key is provided for additional data enrichment.