yahoo-finance-cliThis skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.
Install via ClawdBot CLI:
clawdbot install stuhorsman/yahoo-finance-cliInstall jq (Homebrew):
Install jq (Homebrew)Install Yahoo Finance CLI (npm):
Install Yahoo Finance CLI (npm)Link yf binary:
Link yf binaryRequires:
A Node.js CLI for fetching comprehensive stock data from Yahoo Finance using the yahoo-finance2 library.
yahoo-finance2 installed globally or available as yfjqbrew install jq
npm install yahoo-finance2
sudo ln -s /opt/homebrew/bin/yahoo-finance /usr/local/bin/yf
The tool is available as yf. It outputs JSON, which can be piped to jq for filtering.
yf <module> <symbol> [queryOptions]
Get real-time price, change, and basic data.
yf quote AAPL
yf quote AAPL | jq '.regularMarketPrice'
Get detailed modules like earnings, financial data, and profiles.
# Get specific sub-modules
yf quoteSummary AAPL '{"modules":["assetProfile", "financialData", "defaultKeyStatistics"]}'
# Common modules to request:
# - assetProfile (Company info, sector)
# - financialData (Target price, margins, cash)
# - defaultKeyStatistics (Enterprise value, float, shares)
# - calendarEvents (Earnings dates)
# - earnings (History and trend)
# - recommendationTrend (Analyst ratings)
# - upgradeDowngradeHistory
Get technical and fundamental insights (valuation, outlook).
yf insights AAPL
Search for symbols.
yf search "Apple"
yf search "BTC-USD"
Get historical OHLCV data. Note: historical is deprecated; use chart instead.
# Deprecated - use chart instead
yf historical AAPL '{"period1":"2024-01-01","period2":"2024-12-31"}'
# Recommended: use chart
yf chart AAPL '{"period1":"2024-01-01","period2":"2024-12-31"}'
See what's trending.
yf trendingSymbols US
Quick Price Check
# Full JSON then filter with jq
yf quote NVDA | jq '{symbol: .symbol, price: .regularMarketPrice, changePct: .regularMarketChangePercent}'
Next Earnings Date
# Use single quotes around the JSON option in zsh/bash
yf quoteSummary TSLA '{"modules":["calendarEvents"]}' | jq '.calendarEvents.earnings.earningsDate'
Analyst Recommendations
yf quoteSummary AAPL '{"modules":["recommendationTrend"]}'
Company Profile
yf quoteSummary MSFT '{"modules":["assetProfile"]}'
Historical OHLCV
# Using chart (recommended)
yf chart AAPL '{"period1":"2024-01-01","period2":"2024-12-31","interval":"1d"}' | jq '.quotes[0:5]'
# Using historical (deprecated, but still works)
yf historical AAPL '{"period1":"2024-01-01","period2":"2024-12-31","interval":"1d"}' | jq '.[0:5]'
Search for Symbols
yf search 'Apple'
yf search 'BTC-USD'
Trending Symbols (US)
yf trendingSymbols US
Insights (valuation, outlook)
yf insights AAPL
~/.yf2-cookies.json). If you encounter issues, try deleting this file.jq to parse it for scripts or readability.Additional tips:
rm -f ~/.yf2-cookies.json
yf quote AAPL
yf quote AAPL | jq -r '.regularMarketPrice'
Generated Feb 23, 2026
An individual investor uses the skill to track real-time stock prices and key metrics like earnings dates and analyst recommendations for their portfolio holdings. They automate daily price checks via scripts and use jq to extract specific values for logging or alerts.
A financial analyst at a small firm leverages the skill to quickly gather fundamental data such as financial statements, valuation insights, and company profiles for equity research reports. They integrate it into data pipelines to compare multiple stocks efficiently.
A fintech startup incorporates the skill as a backend tool in their mobile app to provide users with stock quotes, trending symbols, and historical chart data. They use the JSON output to populate dashboards and generate visualizations.
Instructors in finance or business courses use the skill to teach students how to access and analyze real-world market data. Students run commands to explore modules like quote summary and insights for hands-on learning projects.
A hobbyist developer builds a simple trading bot that uses the skill to fetch real-time price data and technical insights for algorithmic decision-making. They automate trades based on thresholds extracted via jq filters.
A company offers basic stock data for free through this CLI tool to attract users, then upsells to a premium API with higher rate limits, advanced analytics, and real-time streaming data. Revenue comes from subscription fees for enterprise clients.
A software-as-a-service platform integrates this skill to provide advisors with automated data fetching and reporting features. Clients pay monthly fees for access to customized dashboards and compliance tools built on the data.
A data firm uses the skill to collect and clean stock market data from Yahoo Finance, then packages it into datasets sold to hedge funds, researchers, or media outlets. Revenue is generated through one-time sales or licensing agreements.
💬 Integration Tip
Use jq to parse JSON output for scripting; automate with cron jobs for regular data updates and ensure cookie file management to avoid authentication issues.
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.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
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.