Editor's Note
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.
Install
npx skills add https://github.com/rkiding/awesome-finance-skills --skill alphaear-stockSKILL.md
AlphaEar Stock Skill
Overview
Search A-Share/HK/US stock tickers and retrieve historical price data (OHLCV).
Capabilities
1. Stock Search & Data
Use scripts/stock_tools.py via StockTools.
- Search:
search_ticker(query)- Fuzzy search by code or name (e.g., "Moutai", "600519").
- Returns: List of
{code, name}.
- Get Price:
get_stock_price(ticker, start_date, end_date)- Returns DataFrame with OHLCV data.
- Dates format: "YYYY-MM-DD".
- Get Fundamentals:
get_stock_fundamentals(ticker)- Returns dict with sector, industry, market cap, PE ratio, and summary.
- Supports A-Share/HK/US stocks.
Dependencies
pandas,requests,akshare,yfinancescripts/database_manager.py(stock tables)
Notes
- Proxy: For US stock data (via
yfinance), you may need to set environment variables if your network cannot reach Yahoo Finance directly:export HTTP_PROXY="http://<proxy_ip>:<port>" export HTTPS_PROXY="http://<proxy_ip>:<port>" - A-Share/HK: Data is primarily fetched via
akshare(EastMoney), which usually works best with a direct connection in China. The tool automatically detects proxy issues and attempts direct connection for these markets.
Installs687
GitHub Stars2.2k
LanguagePython
AddedJan 31, 2026
Categories
Related AI & Agent Building Skills
View allfind-skills
vercel-labs/skills
1.1M18.6k1.1M
vercel-react-best-practices
vercel-labs/agent-skills
320.4K26.6k320.4K
frontend-design
anthropics/skills
299.9K134.5k299.9K
web-design-guidelines
vercel-labs/agent-skills
256.2K26.6k256.2K
remotion-best-practices
remotion-dev/skills
243.3K3.2k243.3K
agent-browser
vercel-labs/agent-browser
186.7K33.1k186.7K