Agent skill · data analytics · rkiding

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.

Why this skill is useful

Provides specific commands for retrieving stock price history and fundamentals that the AI wouldn't reliably generate on its own.

What it needs

Requires akshare, pandas, requests, yfinance installed locally. About 1k tokens when loaded. Last updated 2026-03-29. 2,757 stars on the source repository.

What this skill does

AlphaEar Stock Skill Overview Search A-Share/HK/US stock tickers and retrieve historical price data (OHLCV). Capabilities 1. Stock Search & Data Use scripts/stocktools.py via StockTools. Search: searchticker(query) Fuzzy search by code or name (e.g., "Moutai", "600519"). Returns: List of {code, name}. Get Price: getstockprice(ticker, startdate, enddate) Returns DataFrame with OHLCV data. Dates format: "YYYY-MM-DD". Get Fundamentals: getstockfundamentals(ticker) Returns dict with sector, industry, market cap, PE ratio, and summary. Supports A-Share/HK/US stocks. Dependencies pandas, requests, akshare, yfinance scripts/databasemanager.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: 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.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills rkiding/alphaear-stock

View the source on GitHub

Browse the @skills marketplace