yfinance

Retrieve OHLCV price bars, financials, and options chains from Yahoo Finance.

Updated Jul 29, 2026
One-click install
npx skills add https://github.com/santoosaraujo/vibe-trading-claude --skill yfinance-santoosaraujo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yfinance
Source: https://github.com/santoosaraujo/vibe-trading-claude/tree/main/.claude/skills/yfinance
Command: npx skills add https://github.com/santoosaraujo/vibe-trading-claude --skill yfinance-santoosaraujo

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, free, and real-time financial market data without the need for expensive API subscriptions or complex authentication setups.

Core Features & Use Cases

  • Market Data Retrieval: Access historical and real-time OHLCV price bars for global stocks, ETFs, and indices.
  • Fundamental Analysis: Retrieve comprehensive company profiles, financial statements, institutional holdings, and insider transactions.
  • Options & Consensus: Analyze options chains and analyst recommendation trends for US and Hong Kong markets.
  • Use Case: Use this skill to perform a deep-dive valuation analysis on a ticker by pulling its latest income statement, institutional ownership, and historical price performance in a single workflow.

Quick Start

Use the yfinance skill to fetch the latest financial summary and historical price data for the ticker AAPL.US.

Frequently Asked Questions about yfinance

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

FAQPage Schema
How do I get historical OHLCV price bars for stocks without an API key?

Retrieve OHLCV price bars for global stocks without an API key by using Yahoo Finance data loaders. These loaders fetch historical and real-time market data while managing rate limits internally for data consistency.

Can I pull company financials and institutional holdings for fundamental analysis?

Pull company financials and institutional holdings for fundamental analysis by retrieving comprehensive company profiles and financial statements. This supports deep-dive valuation workflows across US and Hong Kong markets.

Does yfinance support cross-market ticker normalization for Hong Kong and US exchanges?

Cross-market ticker normalization for US and Hong Kong exchanges is fully supported. This allows you to standardize ticker formats across distinct markets for unified fundamental research and options analysis.

What is the best free way to automate backtesting with global market data?

Automate backtesting using free global market data accessed via Yahoo Finance. Robust internal loaders retrieve historical price bars and options chains, providing the consistent datasets required for automated testing.

Do I need a paid API subscription to retrieve options chains and analyst recommendations?

No paid API subscription is needed to retrieve options chains and analyst recommendations. The system accesses Yahoo Finance directly, utilizing internal loaders to manage requests and rate limits without authentication.

Why does my automated data fetching for multiple tickers hit rate limits?

Automated data fetching for multiple tickers hits rate limits due to Yahoo Finance request constraints. The system utilizes robust internal loaders specifically designed to manage rate-limiting and ensure data consistency.