
Yfinance Data
Fetch and analyze stock quotes, price history, financials, options, and ownership data via yfinance.
- skills.sh installs
- 4.5K
- GitHub stars
- 3.6K
- last updated
- Aug 21, 2026
What it does
- Covers quotes, OHLCV price history, financial statements, options chains, dividends, splits, and analyst data from Yahoo Finance
- Includes an API reference (
references/api_reference.md) with code for every data category, plus multi-ticker downloads and stock screens - Enforces try/except wrapping and timezone-aware date handling, and limits intraday history to about 7 days for 1m data
- Designed for research and educational use when a ticker or financial data request needs a quick, inferred data pull
Install
$ npx -y skills add himself65/finance-skills --skill yfinance-data -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
yfinance Data Skill
If your host has not already executed the shell probes below (for example, in Codex), run the commands inside the ! wrappers with its shell tool before choosing a setup path. Use the actual output; if shell access is unavailable, report that limitation.
Fetches financial and market data from Yahoo Finance using the yfinance Python library.
Important: yfinance is not affiliated with Yahoo, Inc. Data is for research and educational purposes.
Step 1: Ensure yfinance Is Available
Current environment status:
!`python3 -c "exec('try:\n import yfinance\n print(\'yfinance \' + yfinance.__version__ + \' installed\')\nexcept Exception:\n print(\'YFINANCE_NOT_INSTALLED\')')"`
If YFINANCE_NOT_INSTALLED, install it before running any code:
import subprocess, sys
subprocess.check_call([sys.executable, "-m", "pip", "install", "-q", "yfinance"])
If yfinance is already installed, skip the install step and proceed directly.
Step 2: Identify What the User Needs
Details
- Repository
- github.com/himself65/finance-skills
- Categories
- Finance & Trading, Data Science & Analytics, Python
- First seen
- Apr 16, 2026
More from himself65/finance-skills
All 24- Stock Correlation4K
- Options Payoff3.9K
- Earnings Recap3.7K
- Generative Ui3.7K
- Earnings Preview3.7K
- Estimate Analysis3.6K
- Hormuz Strait3.6K
- Stock Liquidity3.6K
- Twitter Reader3.6K
- Etf Premium3.6K
- Company Valuation3.6K
- Sepa Strategy3.5K
- Startup Analysis3.5K
- Saas Valuation Compression3.4K
- Yc Reader3.3K
- Skill Creator3.3K
- Telegram Reader1.7K
- Finance Sentiment1.7K
- Discord Reader1.6K
- Linkedin Reader1.3K
- Tradingview Reader1.2K
- Opencli Reader1.1K
- Hyperliquid Reader599
Similar to Yfinance Data
More Finance & Trading
Yahoo FinanceMCP servernarumiruna211 starsYahoo Finance quotes, analyst data, news, screeners, options, and price history via yfinance.
price-historySkillstaskh/trading_skills100 installsFetch historical stock price data (OHLCV) from Yahoo Finance for chart and trend analysis.
yahoo-financeSkillgracefullight/stock-checker4.7K installsCommand-line access to Yahoo Finance quotes, fundamentals, earnings, options, and analyst ratings with no API key.
financeSkilljjyaoao/helloagents289 installsComprehensive financial data skill for real-time and historical market data, screening, and company research.
TickDB Market DataMCP servertickdb938 starsUnified real-time and historical market data for forex, stocks, futures, indices, and crypto.
financial-newsSkillaws-samples/sample-strands-agent-with-agentcore260 installsQuery stock quotes, price history, news, and analysis for tickers, with a built-in not-advice disclaimer.