SuperAPIAI Directory

yfinance

github.com · AI developer platforms

Open-source Python library for accessing Yahoo Finance data. Provides stock, ETF, and crypto historical prices without API key. Essential data source for AI-powered quantitative trading and financial analysis.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

yfinance is an open-source Python library that provides a Pythonic way to access the Yahoo Finance public API for downloading financial and market data. It is not an official Yahoo product and is not affiliated with or endorsed by Yahoo; it is intended for research and educational purposes only. The right to use downloaded data is subject to Yahoo's Terms of Service, and the Yahoo Finance API is intended for personal use only.

The main components include: Ticker for retrieving data for a single stock symbol; Tickers for retrieving data for multiple symbols; download for batch downloading market data for multiple symbols; Market for retrieving market information; WebSocket and AsyncWebSocket for providing real-time streaming data; Search for retrieving quotes and news from search; Sector and Industry for providing sector and industry information; EquityQuery and Screener for building market screening queries.

The installation method is to install yfinance from PyPI via pip; if you need to avoid using curl_cffi during request fallback, refer to the advanced installation instructions in the documentation. The project uses the Apache Software License; see LICENSE.txt in the distribution for details.

The library relies on the community to investigate defects and contribute code. Regarding fees, pricing, the specific scope of platform support, and usage results, the materials do not currently provide information.

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools