yfinance

Retrieve OHLCV, financial statements, and institutional holdings from Yahoo Finance.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill yfinance-0xzknw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yfinance
Source: https://github.com/0xZKnw/vibe-trading-tap/tree/main/agent/src/skills/yfinance
Command: npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill yfinance-0xzknw

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the challenge of accessing reliable, real-time, and historical financial market data without the need for expensive subscriptions or complex API key management.

Core Features & Use Cases

  • Market Data Retrieval: Fetch historical OHLCV bars, financial statements, and corporate actions for global stocks, ETFs, and indices.
  • Fundamental Analysis: Access institutional holdings, insider transactions, and valuation metrics like PE ratios and analyst price targets.
  • Use Case: A trader can use this Skill to pull the last 5 years of daily price data for a specific ticker and simultaneously retrieve the company's latest balance sheet to perform a comprehensive fundamental and technical analysis.

Quick Start

Use the yfinance skill to fetch the daily historical price data for AAPL.US from January 2025 to January 2026.

Frequently Asked Questions about yfinance

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

FAQPage Schema
How can I retrieve historical OHLCV data for stocks without an API key?

To retrieve historical OHLCV data without an API key, this Skill accesses unauthenticated public endpoints from Yahoo Finance. It provides normalized global market data for stocks, ETFs, and indices without requiring complex API registration or expensive subscriptions.

Does yfinance support retrieving financial statements and institutional holdings?

Yes, yfinance supports retrieving financial statements and institutional holdings. It fetches comprehensive fundamental analysis data including insider transactions, balance sheets, and valuation metrics like PE ratios and analyst price targets for global equities.

Can I pull market data for both US and HK stocks for backtesting?

You can pull market data for both US and HK stocks for backtesting. The Skill supports agent-based trading workflows by retrieving historical daily price bars and corporate actions for global stocks, ETFs, and indices.

What is the best way to access real-time market data for fundamental and technical analysis?

The best way to access real-time market data for combined analysis is utilizing unauthenticated Yahoo Finance endpoints. You can simultaneously retrieve years of daily price data and a company's latest balance sheet to perform comprehensive technical and fundamental evaluations.

What are the limitations of using unauthenticated public endpoints for financial data?

Limitations of using unauthenticated public endpoints include dependency on Yahoo Finance's public access rules and potential retrieval constraints. This approach provides normalized financial data but may face restrictions on request volume or real-time data latency compared to paid API subscriptions.