qmetrics.net

yfinance

Python access to Yahoo Finance market data

yfinance screenshot

yfinance wraps Yahoo Finance public APIs so Python code can pull quotes, history, fundamentals, options, and related market metadata. It is unofficial and meant for research and education.

Overview

yfinance is a Python package for downloading financial and market data from Yahoo Finance. It exposes high-level types for one symbol, many symbols, bulk downloads, market metadata, live streaming via WebSocket helpers, search results, sector and industry lookups, and equity screening queries.

Typical calls fetch ticker info, calendars, analyst price targets, financial statements, historical prices with dividend-aware autoadjust defaults, and option chains. Multi-ticker workflows batch requests or use the shared download helper for several symbols at once.

It is not affiliated with Yahoo, and users must follow Yahoo terms of use for downloaded data, including personal-use limits on the underlying API. Installation is via pip from PyPI; optional install paths exist for environments without certain HTTP dependencies.

Documentation includes quick-start examples for single tickers, baskets, and fund holdings such as ETF top positions.

Key features

  • Single and multi-ticker objects
  • Historical price download helper
  • Fundamentals and calendar fields
  • Options chain access
  • Live WebSocket streaming types
  • Market search quotes and news
  • Equity screener query builder
  • Sector and industry metadata

Use cases

  • Research notebooks on equities
  • Batch historical price export
  • Option chain analysis scripts
  • ETF holdings inspection
  • Market screening prototypes

Tags

Similar software

AKShare

Python interface library for China financial market data

AKShare is a Python package that fetches stocks, futures, funds, bonds, FX, and macroeconomic series from many public sources. Results come back as pandas DataFrames with Chinese column names.

★ 23.5k⟳ 3 days agoMIT

Firecrawl

Web scrape crawl and search infrastructure for AI agents

Firecrawl turns websites into LLM-ready markdown and structured data via API, CLI, and MCP. It supports scrape, crawl, map, batch jobs, optional cloud scale, and self-hosted server deployment.

★ 211.5k⟳ todayAGPL-3.0
Open Source Alternative to:TavilyZyte

TradingAgents

Multi-agent terminal for finance research questions

TradingAgents is a command-line research assistant that routes finance questions through specialist agents, cites data sources in answers, and supports multiple LLM providers.

★ 123.9k⟳ 3 days agoApache-2.0

Sherlock Project

Username search across many social networks

Sherlock checks a username against hundreds of social sites and writes matches to per-user text files. It runs from the command line, with Docker and community packages on several Linux distributions.

★ 118.5k⟳ 26 days agoMIT

Agent Reach

CLI toolkit for AI agents to search and read many web platforms

Agent Reach installs platform connectors so AI agents can search and read sites such as GitHub, YouTube, Reddit, Bilibili, and Xiaohongshu from one command line, without relying on paid APIs for default channels.

★ 115.3k⟳ 3 days agoMIT

Scrapling

Python framework for fetching and crawling the web

Scrapling combines HTTP and browser fetchers, parsing, concurrent spiders, exports, and an MCP server for AI agents. It targets static pages, JavaScript sites, stealthy sessions, and full-site crawls from one library.

★ 106.3k⟳ 3 days agoBSD-3-Clause