Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

yfinance

Download historical market data from Yahoo! Finance API for analysis.

ML and data science PyPI Apache-2.0

Used in agent projects
36
0.3% of 12,697 public repos built with AI coding agents
Rank in ml and data science
#16 of 28
by use in those projects
Downloads
4M
PyPI, last 7 days, yfinance
GitHub stars
25.5K
last push Oct 5, 2026

How yfinance is used

yfinance is a dependency in 36 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.3%), #16 of 28 in ml and data science. The most used alternative there is NumPy. Projects that use it most often also use pandas (80.6%), Requests (75.0%), NumPy (66.7%).

Often used with yfinance

pandas80.6% of yfinance projects · 26.7× more than average
Requests75.0% of yfinance projects · 14.1× more than average
NumPy66.7% of yfinance projects · 17.4× more than average
python-dotenv63.9% of yfinance projects · 9.8× more than average
OpenAI Python Library38.9% of yfinance projects · 20.2× more than average
FastAPI38.9% of yfinance projects · 9.2× more than average
SciPy36.1% of yfinance projects · 32.5× more than average
Uvicorn36.1% of yfinance projects · 8.4× more than average

By coding agent

GitHub Copilot0.6% of projects set up for it
Claude Code0.5% of projects set up for it
Cursor0.4% of projects set up for it

Share of public repos configured for each agent that list yfinance as a dependency.

Install

Packagepip install yfinance
Main stacksPython (34), Next.js (2)
Example projectsThe-Swarm-Corporation/AutoHedge, MDalamin5/End-to-End-Agentic-Ai-Automation-Lab, SharesDAO/Arbitrage-Trader, huangyingting/mcp-workshop

Alternatives to yfinance

All ml and data science

Tool Used in agent projectsDownloads / wk GitHub starsLicense
NumPy pypi
Fundamental Python library for numerical computing with arrays and matrices.
487 (3.8%) 21M 33K —
pandas pypi
Data manipulation and analysis library with DataFrames for structured data.
383 (3.0%) 143M 50K —
scikit-learn pypi
Python machine learning library with classification, regression and clustering algorithms.
160 (1.3%) 44.3M 67.5K —
SciPy pypi
Fundamental algorithms for scientific computing with optimized numerical routines.
141 (1.1%) 72.2M 15.1K —
PyTorch pypi
Deep learning framework with tensors and dynamic neural networks with GPU support.
109 (0.9%) 13.2M 104K —
Sentence Transformers pypi
Pre-trained models for semantic embeddings, retrieval and reranking.
83 (0.7%) 5.1M 19.2K —
Hugging Face Transformers pypi
State-of-the-art NLP and multimodal models for inference and training.
80 (0.6%) 24.8M 167K Apache 2.0 License
NetworkX pypi
Python package for creating, analyzing and manipulating complex networks and graphs.
73 (0.6%) 50.2M 17.3K —
Is yfinance right for your project? Ask AgentGid →