yahoo-financeGet stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Install via ClawdBot CLI:
clawdbot install ajanraj/yahoo-financeA Python CLI for fetching comprehensive stock data from Yahoo Finance using yfinance.
The script requires uv - an extremely fast Python package manager. Check if it's installed:
uv --version
If not installed, install it using one of these methods:
curl -LsSf https://astral.sh/uv/install.sh | sh
brew install uv
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
pip install uv
After installation, restart your terminal or run:
source ~/.bashrc # or ~/.zshrc on macOS
The yf script uses PEP 723 inline script metadata - dependencies are auto-installed on first run.
# Make executable
chmod +x /path/to/skills/yahoo-finance/yf
# Optionally symlink to PATH for global access
ln -sf /path/to/skills/yahoo-finance/yf /usr/local/bin/yf
First run will install dependencies (yfinance, rich) to uv's cache. Subsequent runs are instant.
yf AAPL # shorthand for price
yf price AAPL
yf quote MSFT
yf fundamentals NVDA
Shows: PE ratios, EPS, market cap, margins, ROE/ROA, analyst targets.
yf earnings TSLA
Shows: Next earnings date, EPS estimates, earnings history with surprises.
yf profile GOOGL
Shows: Sector, industry, employees, website, address, business description.
yf dividends KO
Shows: Dividend rate/yield, ex-date, payout ratio, recent dividend history.
yf ratings AAPL
Shows: Buy/hold/sell distribution, mean rating, recent upgrades/downgrades.
yf options SPY
Shows: Near-the-money calls and puts with strike, bid/ask, volume, OI, IV.
yf history GOOGL 1mo # 1 month history
yf history TSLA 1y # 1 year
yf history BTC-USD 5d # 5 days
Ranges: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max
yf compare AAPL,MSFT,GOOGL
yf compare RELIANCE.NS,TCS.NS,INFY.NS
Side-by-side comparison with price, change, 52W range, market cap.
yf search "reliance industries"
yf search "bitcoin"
yf search "s&p 500 etf"
# Quick price check
yf AAPL
# Get valuation metrics
yf fundamentals NVDA
# Next earnings date + history
yf earnings TSLA
# Options chain for SPY
yf options SPY
# Compare tech giants
yf compare AAPL,MSFT,GOOGL,META,AMZN
# Find Indian stocks
yf search "infosys"
# Dividend info for Coca-Cola
yf dividends KO
# Analyst ratings for Apple
yf ratings AAPL
Install uv using the instructions above.
Yahoo Finance may rate limit excessive requests. Wait a few minutes and try again.
yf search "company name"Generated Mar 1, 2026
Retail investors can quickly check stock prices, fundamentals like P/E ratios and market cap, and analyst ratings to make informed buy/sell decisions. This is useful for monitoring portfolios or researching new investments without needing a paid API key.
Small business owners or analysts can compare competitors' financial metrics, such as earnings history and dividend yields, to benchmark performance. This helps in strategic planning and market positioning by accessing data on public companies.
Students in finance or economics courses can use this skill to fetch real-time stock data, options chains, and historical trends for projects or case studies. It provides hands-on experience with market data analysis using a command-line interface.
Crypto traders can track prices and historical data for assets like BTC-USD or ETH-USD, enabling quick checks on market movements. This supports decision-making in volatile markets by offering easy access to cryptocurrency data.
Financial advisors can analyze stocks, ETFs, and global securities (e.g., Indian markets with .NS symbols) to provide clients with up-to-date recommendations. The compare feature allows side-by-side evaluation of multiple assets for diversified portfolios.
Offer basic stock data for free via this skill, then upsell users to a premium version with advanced analytics, real-time alerts, or API access. Revenue comes from subscription fees for enhanced features like historical data exports or custom reports.
Integrate this skill into online finance courses or trading simulators as a tool for students. Revenue is generated through course fees or platform subscriptions, leveraging the skill's ease of use and no-API-key requirement to attract learners.
Provide this skill as part of a software package for small to medium enterprises needing financial data for internal analysis. Revenue comes from licensing fees or custom integrations, targeting businesses that lack resources for expensive data feeds.
💬 Integration Tip
Ensure uv is installed and the script is executable; use symlinks for global access to simplify command-line usage across different projects.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.
Market news briefings with AI summaries. Use when asked about stock news, market updates, portfolio performance, morning/evening briefings, financial headlines, or price alerts. Supports US/Europe/Japan markets, WhatsApp delivery, and English/German output.