yahoo-finance

Retrieve stock prices, fundamentals, earnings, options, dividends, and analyst ratings via a Python CLI.

43|8|Updated Jan 5, 2025
One-click install
npx skills add https://github.com/gracefullight/stock-checker --skill yahoo-finance-gracefullight
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yahoo-finance
Source: https://github.com/gracefullight/stock-checker/tree/main/.agent/skills/yahoo-finance
Command: npx skills add https://github.com/gracefullight/stock-checker --skill yahoo-finance-gracefullight

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill provides automated access to stock data from Yahoo Finance via the yfinance library, consolidating prices, fundamentals, earnings, options, dividends, and analyst ratings into a single CLI tool.

Core Features & Use Cases

  • Retrieve real-time and historical prices and volumes for multiple tickers.
  • Access fundamentals, earnings, options chains, dividends, and analyst ratings for portfolio analysis.
  • Use it to power daily dashboards, research reports, or automated alerts without needing API keys.

Quick Start

Use the yahoo-finance CLI to fetch data for AAPL and MSFT: yf AAPL MSFT

Frequently Asked Questions about yahoo-finance

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

FAQPage Schema
How do I fetch stock data for multiple tickers without an API key?

You can fetch stock data for multiple tickers without an API key by using a CLI powered by the yfinance library. It retrieves prices, fundamentals, and earnings directly from Yahoo Finance without requiring authentication keys.

Can I retrieve analyst ratings and dividends for portfolio analysis using Yahoo Finance?

Yes, you can retrieve analyst ratings and dividends for portfolio analysis using this Yahoo Finance CLI. It consolidates options chains, fundamentals, and analyst ratings via yfinance to support comprehensive portfolio research.

Does yfinance support fetching historical prices and volumes for automated dashboards?

Yes, yfinance supports fetching historical prices and volumes for automated dashboards. The CLI retrieves real-time and historical stock data formatted with rich, enabling automated data retrieval for daily reporting.

What's the best way to get real-time stock quotes and fundamentals from Yahoo Finance?

The best way to get real-time stock quotes and fundamentals from Yahoo Finance is using a Python CLI. It leverages yfinance for data retrieval and rich for formatted output, providing comprehensive quotes and fundamentals in one command.

Can I use this stock data CLI to automate earnings and options chain retrieval?

Yes, you can use this stock data CLI to automate earnings and options chain retrieval. It accesses Yahoo Finance data via yfinance, allowing you to automate the extraction of earnings reports and options chains without manual intervention.

Why use a CLI for Yahoo Finance data instead of manual exports?

Using a CLI for Yahoo Finance data automates the retrieval of prices, dividends, and analyst ratings instead of relying on manual exports. It eliminates the need for API keys while consolidating multiple data points into formatted outputs.