New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Search and retrieve A-Share, HK, and US stock tickers with OHLCV price history and fundamentals.

skills.sh installs
1.3K
GitHub stars
3.1K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers ticker lookup by code or company name, plus OHLCV price history over a date range
  • Provides search_ticker, get_stock_price, and get_stock_fundamentals through the StockTools class in scripts/stock_tools.py
  • Returns sector, industry, market cap, and PE ratio for A-Share, HK, and US stocks
  • Requires pandas, requests, akshare, and yfinance; US data may need proxy environment variables

Install

$ npx -y skills add rkiding/awesome-finance-skills --skill alphaear-stock -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

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, yfinance
  • scripts/database_manager.py (stock tables)

Notes

Details

Repository
github.com/rkiding/awesome-finance-skills
Categories
Finance & Trading, Data Science & Analytics
First seen
Apr 16, 2026

More from rkiding/awesome-finance-skills

All 10

Similar to Alphaear Stock

More Finance & Trading