
Yfinance Data
Wraps the yfinance Python library to pull stock prices, historical data, financial statements, options chains, analyst recommendations, and pretty much anything Yahoo Finance exposes. The skill document is thorough: it checks if yfinance is installed, maps user requests to the right API methods (ticker.info for quotes, ticker.history for charts, ticker.option_chain for derivatives), and includes handling for timezones and rate limits. Good for quick market data queries without setting up your own financial API. Just know that yfinance is unofficial and Yahoo can change things without warning, so treat this as research grade rather than production infrastructure.
- skills.sh installs
- 4.2K
- GitHub stars
- 3.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add himself65/finance-skills --skill yfinance-data --agent claude-codeInstalls into .claude/skills of the current project.
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
Sponsors
Details
- Repository
- github.com/himself65/finance-skills
- Categories
- Python, CLI & Terminal, Finance & Trading
- First seen
- Apr 16, 2026
More from himself65/finance-skills
All 25- Stock Correlation3.7K
- Options Payoff3.6K
- Earnings Recap3.4K
- Generative Ui3.4K
- Earnings Preview3.4K
- Estimate Analysis3.4K
- Hormuz Strait3.4K
- Company Valuation3.4K
- Stock Liquidity3.3K
- Etf Premium3.3K
- Twitter Reader3.3K
- Sepa Strategy3.2K
- Startup Analysis3.2K
- Saas Valuation Compression3.2K
- Yc Reader3.1K
- Skill Creator3K
- Telegram Reader1.7K
- Finance Sentiment1.6K
- Discord Reader1.6K
- Linkedin Reader1.3K
- Tradingview Reader1.2K
- Funda Data1.2K
- Opencli Reader1.1K
- Hyperliquid Reader576