yfinance

Fetch Yahoo Finance market data for stocks, indices, ETFs, and FX rates.

15|2|Updated May 1, 2026
One-click install
npx skills add https://github.com/OpenSucker/OpenSucker --skill yfinance-opensucker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yfinance
Source: https://github.com/OpenSucker/OpenSucker/tree/main/skills/vibe_skills/yfinance
Command: npx skills add https://github.com/OpenSucker/OpenSucker --skill yfinance-opensucker

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a straightforward interface for retrieving comprehensive market data, including historical prices, financials, insider transactions, and institutional holdings, from Yahoo Finance, eliminating the need for complex API integrations.

Core Features & Use Cases

  • Global Market Data Access: Fetch OHLCV, financial statements, dividends, splits, insider trades, and holdings for US stocks, HK stocks, ETFs, indices, and currencies.
  • Versatile Data Retrieval: Support batch downloads, real-time quotes, and multiple interval granularities for analysis, backtesting, or research scenarios.
  • Use Case: Fetch historical daily prices for Apple and Tencent stocks to analyze recent trends or perform comparative market analysis.

Quick Start

Retrieve the latest daily price data for Apple using yfinance, and analyze the first few rows of the data.

Frequently Asked Questions about yfinance

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

FAQPage Schema
How do I get Yahoo Finance historical stock prices in Python without an API key?

You can retrieve Yahoo Finance historical stock prices in Python without an API key by using this Skill to fetch OHLCV data directly. It provides easy access to global market data for stocks, ETFs, and indices, supporting multiple intervals for financial analysis.

What financial data can I pull for backtesting global stocks and ETFs?

For backtesting global stocks and ETFs, you can pull historical OHLCV prices, dividends, splits, financial statements, insider transactions, and institutional holdings. This data supports multiple interval granularities to facilitate quantitative research workflows.

Can I download market data for multiple ticker symbols at once?

Yes, you can download market data for multiple ticker symbols at once. The Skill supports batch downloads of global stocks, indices, and FX rates, ensuring quick integration into your Python projects for comparative market analysis.

Does this approach work for retrieving both US and Hong Kong stock market data?

Yes, this approach works for retrieving both US and Hong Kong stock market data. It provides extensive access to global market data, allowing you to fetch financials, real-time quotes, and historical prices for international stocks without complex API integrations.

What are the limitations of using free Yahoo Finance market data for quantitative analysis?

A limitation of using free Yahoo Finance market data for quantitative analysis is that it provides a basic implementation depth without guarantees on real-time data latency. It is suitable for research workflows but may lack institutional-grade reliability for high-frequency trading.