rkiding/awesome-finance-skills

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.

All-time #8637 First seen Feb 9, 2026
8-week activity · all time api

Installation

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

Also in this package

Other skills from rkiding/awesome-finance-skills.

npx skills add rkiding/awesome-finance-skills

Browse all from rkiding/awesome-finance-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3.0K
License LICENSE
Default branch main
Open issues 4
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,532 B
  • docs SUMMARY.md 1,435 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1,207 installs

SKILL.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: 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/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:

``bash export HTTPPROXY="http://<proxyip>:<port>" export HTTPSPROXY="http://<proxyip>:<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.