yfinance

Retrieves and normalizes Yahoo Finance data for global markets via a unified ticker format.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/Liangwei-zhang/six-stock --skill yfinance-liangwei-zhang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yfinance
Source: https://github.com/Liangwei-zhang/six-stock/tree/main/Vibe-Trading/agent/src/skills/yfinance
Command: npx skills add https://github.com/Liangwei-zhang/six-stock --skill yfinance-liangwei-zhang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

yfinance provides easy access to global market data (OHLCV, financials, insider transactions, and institutional holdings) from Yahoo Finance without requiring an API key.

Core Features & Use Cases

  • Unified data loading for US stocks, HK stocks, ETFs, and indices, including OHLCV, financials, insider transactions, and institutional holdings.
  • Automatic ticker-format conversion and a single interface to retrieve data across markets.
  • Suitable for backtesting, research, dashboards, and lightweight data pulls with no authentication.

Quick Start

Install yfinance and pandas, then download Apple data with yf.download.

Frequently Asked Questions about yfinance

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

FAQPage Schema
How do I fetch Yahoo Finance market data without an API key?

You can fetch Yahoo Finance market data without an API key by using a unified DataLoader that retrieves and normalizes OHLCV, financials, and institutional holdings for global markets. It requires no authentication, making it suitable for lightweight research and backtesting.

Can I pull OHLCV data for both US and HK stocks using a single interface?

Yes, you can pull OHLCV data for both US and HK stocks using a single interface. The system handles automatic ticker-format conversion, allowing you to retrieve data across global markets, including ETFs and indices, through one unified data loading process.

What is the best way to get institutional holdings and insider transactions for backtesting?

The best way to get institutional holdings and insider transactions for backtesting is to use a free data loader that normalizes Yahoo Finance data. It retrieves these specific financial metrics alongside OHLCV data, requiring no API key, which simplifies historical research and analysis.

Does this Yahoo Finance data loader work with ETFs and global indices?

Yes, this Yahoo Finance data loader works with ETFs and global indices. It is explicitly designed for unified data loading across US stocks, HK stocks, ETFs, and indices, automatically handling ticker-format conversion to normalize the retrieved market data.

Why do I need to convert ticker formats when downloading global market data?

You need to convert ticker formats when downloading global market data because different international markets use distinct ticker conventions. Automatic ticker-format conversion ensures a unified interface, allowing seamless retrieval of OHLCV and financials across US stocks, HK stocks, and ETFs.

Are there limitations to using free Yahoo Finance data for research?

Limitations of using free Yahoo Finance data for research include potential restrictions on data volume or real-time latency compared to paid alternatives. However, it effectively handles format conversion and load options for historical OHLCV and financials without authentication, suitable for lightweight pulls.