This skill may not reflect the latest upstream change
SEC Press Releases update on 2026-11-25 may affect this skill Last checked Nov 25, 2026.
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 this skill
No account required. Pick your tool, or use the command that detects it for you.
Run in your terminal. It detects your AI tool.
npx @skills-hub-ai/cli install finance-skills-cn-alphaear-stockManual setup by platform
Claude Code
~/.claude/skills/finance-skills-cn-alphaear-stock/SKILL.md
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Instructions
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.
Security
Reviews (0)
Related skills
Browse all →More from Finance Skills (CN/EN)
View source →More Build skills
Browse category →Frequently asked questions about alphaear-stock
What does the alphaear-stock skill do?
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. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the alphaear-stock skill?
Run `npx @skills-hub-ai/cli install finance-skills-cn-alphaear-stock` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/finance-skills-cn-alphaear-stock/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does alphaear-stock work with?
alphaear-stock runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the alphaear-stock skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use alphaear-stock after installing it?
In Claude Code, type `/finance-skills-cn-alphaear-stock` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the alphaear-stock skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.