stocks

Solid

Stock quotes, history, search, compare, crypto via Yahoo.

AI & Automation 173,893 stars 29465 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Stocks Skill Read-only market data via Yahoo Finance. Five commands: `quote`, `search`, `history`, `compare`, `crypto`. Python stdlib only — no API key, no pip installs. Yahoo's endpoint is unofficial and may rate-limit or change. ## When to Use - User asks for a current stock price (AAPL, TSLA, MSFT, ...) - User wants to look up a ticker by company name - User wants OHLCV history or performance over a date range - User wants to compare several tickers side by side - User asks for a crypto price (BTC, ETH, SOL, ...) ## Prerequisites Python 3.8+ stdlib only. Optional: set `ALPHA_VANTAGE_KEY` to enrich `market_cap`, `pe_ratio`, and 52-week levels when Yahoo's crumb-protected fields come back null. Free key: https://www.alphavantage.co/support/#api-key ## How to Run Invoke through the `terminal` tool. Once installed: ``` SCRIPT=~/.hermes/skills/finance/stocks/scripts/stocks_client.py python3 $SCRIPT quote AAPL ``` All output is JSON on stdout — pipe through `jq` if you want to slice it. ## Quick Reference ``` python3 $SCRIPT quote AAPL python3 $SCRIPT quote AAPL MSFT GOOGL TSLA python3 $SCRIPT search "Tesla" python3 $SCRIPT history NVDA --range 6mo python3 $SCRIPT compare AAPL MSFT GOOGL python3 $SCRIPT crypto BTC ETH SOL ``` ## Commands ### `quote SYMBOL [SYMBOL2 ...]` Current price, change, change%, volume, 52-week high/low. ### `search QUERY` Find tickers by company name. Returns top 5: symbol, name, exchange, type. ### `history SYMBOL [--range RANGE]` Dai...

Details

Author
NousResearch
Repository
NousResearch/hermes-agent
Created
10 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

stock-quote

Get real-time stock quote with price, volume, change, market cap, and 52-week range for any ticker symbol. Use when user asks about current stock price, quote, or basic stock info.

229 Updated today
staskh
AI & Automation Solid

alpha-vantage

Access real-time and historical stock market data, forex rates, cryptocurrency prices, commodities, economic indicators, and 50+ technical indicators via the Alpha Vantage API. Use when fetching stock prices (OHLCV), company fundamentals (income statement, balance sheet, cash flow), earnings, options data, market news/sentiment, insider transactions, GDP, CPI, treasury yields, gold/silver/oil prices, Bitcoin/crypto prices, forex exchange rates, or calculating technical indicators (SMA, EMA, MACD, RSI, Bollinger Bands). Requires a free API key from alphavantage.co.

2,202 Updated 1 weeks ago
foryourhealth111-pixel
AI & Automation Listed

yahoo-finance

Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.

2 Updated 4 days ago
Silex-Research
AI & Automation Featured

alpha-vantage

Access 20+ years of global financial data: equities, options, forex, crypto, commodities, economic indicators, and 50+ technical indicators.

39,227 Updated today
sickn33
Testing & QA Solid

alphaear-stock

Search A-Share/HK/US finance stock tickers and retrieve finance stock price history. Use when user asks about finance stock codes, recent price changes, or specific company finance stock info.

2,374 Updated 2 months ago
RKiding