This pulls stock data for A-Share, Hong Kong, and US markets with fuzzy search and historical OHLCV prices. You can search by ticker or company name, grab price history between dates, and get basic fundamentals like PE ratios and market cap. It uses akshare for Chinese markets and yfinance for US stocks, which means you might need proxy settings depending on where you're running it. The source mentions proxy detection that auto-switches to direct connection for A-Share data, which is a nice touch if you're dealing with network restrictions. Straightforward tool if you need multi-market stock data without building API integrations yourself.

skills.sh installs
1.2K
GitHub stars
3.1K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/rkiding/awesome-finance-skills
Category
Finance & Trading
First seen
Apr 16, 2026

More from rkiding/awesome-finance-skills

All 10
1anthropics avatarfixed-income-portfolioanthropics/financial-services-pluginsfixed income portfolio913skills.sh installs
2anthropics avatarbond-futures-basisanthropics/financial-services-pluginsbond futures basis882skills.sh installs
3joellewis avatarfinancial-planning-workflowjoellewis/finance_skillsOrchestrate the advisor workflow for assembling and delivering a comprehensive financial plan — data gathering, cash flow analysis, retirement modeling, Monte C751skills.sh installs
4joellewis avatarportfolio-management-systemsjoellewis/finance_skillsSelect, configure, and operate portfolio management systems for advisory firms, covering model portfolios, UMA/sleeve management, drift monitoring, rebalancing,721skills.sh installs
5staskh avatarib-portfoliostaskh/trading_skillsGet portfolio positions from Interactive Brokers. Use when user asks about their portfolio, positions, holdings, or what stocks they own. Requires TWS or IB Gat0skills.sh installs
6staskh avatarib-portfolio-action-reportstaskh/trading_skillsGenerate a comprehensive portfolio action report with earnings dates and risk assessment. Use when user asks for portfolio review, action items, earnings risk, 0skills.sh installs