yahoo-finance
This 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.
Why use this skill?
Fetch real-time stock prices, earnings, and financial data directly in OpenClaw using the Yahoo Finance CLI tool. Perfect for market analysis.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/stuhorsman/yahoo-finance-cliWhat This Skill Does
The yahoo-finance skill for OpenClaw provides a powerful command-line interface (CLI) to fetch real-time and historical stock market data. Leveraging the yahoo-finance2 Node.js library, this tool enables the OpenClaw agent to retrieve comprehensive financial metrics, including current stock prices, earnings history, company profiles, analyst recommendations, and trending market symbols. By integrating jq for data processing, the skill allows the agent to parse complex financial JSON responses into precise, actionable insights for the user. It is the definitive bridge between terminal-based financial data fetching and automated agent workflows.
Installation
To integrate this skill into your OpenClaw environment, ensure you have Node.js installed along with the jq processor. Run the following commands:
- Install dependencies:
brew install jqandnpm install yahoo-finance2. - Link the binary:
sudo ln -s /opt/homebrew/bin/yahoo-finance /usr/local/bin/yf. - Install via OpenClaw:
clawhub install openclaw/skills/skills/stuhorsman/yahoo-finance-cli.
Use Cases
- Investment Research: Retrieve detailed company profiles and financial health indicators to perform quick fundamental analysis.
- Market Tracking: Monitor real-time ticker performance and track how major indices or individual stocks like NVDA or AAPL move throughout the trading day.
- Earnings Monitoring: Automatically pull upcoming earnings release dates to prepare for volatility.
- Trend Analysis: Identify currently trending symbols in the US market to spot emerging opportunities.
- Portfolio Automation: Build custom shell scripts that utilize
yfandjqto extract specific metrics like P/E ratios or dividend yields for custom reports.
Example Prompts
- "What is the current stock price of Apple, and can you show me the percentage change today?"
- "Get the earnings report calendar for Tesla (TSLA) to see when their next announcement is."
- "Find out which stocks are currently trending in the US market right now."
Tips & Limitations
- Data Precision: Always use
jqto filter results. The raw JSON output from Yahoo Finance can be extremely verbose; piping tojqensures the agent only processes relevant data fields. - Historical Data: The
historicalmodule is officially deprecated. Always prefer thechartmodule when requesting OHLCV data to ensure future compatibility. - Symbol Accuracy: While
yf searchhelps locate identifiers, always ensure you have the correct ticker symbol, as exchanges can differ (e.g., BTC-USD vs. BTC). - Rate Limiting: Be mindful that massive, repeated calls to the Yahoo Finance API may trigger rate limits; cache your results when building automated monitoring loops.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-stuhorsman-yahoo-finance-cli": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, code-execution
Related Skills
openinsider
Fetch SEC Form 4 insider trading data (Directors, CEOs, Officers) from OpenInsider. Use this to track corporate insider buying/selling signals.
quiver
Query alternative financial data from Quiver Quantitative (Congress trading, Lobbying, Government Contracts, Insider transactions). Use this to track politician stock trades or unconventional market signals.
apewisdom
Scan Reddit for trending stocks and sentiment spikes using the ApeWisdom API (free). Use this to find "meme stocks", retail momentum, and sentiment shifts on r/wallstreetbets.