← Back to list
💰

alphaear-stock Checked

Search A-Share/HK/US finance stock tickers and retrieve finance stock price history. Use when use…
💰 Finance & Trading skills By RKiding Version v1.0.0 Added 2026-09-20 Updated 2026-09-20 Source ↗
7.5Overall rating
2Views
4Downloads
3.0kStars

Installation

🤖 Install via AI

Copy the prompt below and send it to your AI assistant (e.g. Claude Code) — it will follow the instructions and install automatically.

Install the "alphaear-stock" skill by following the instructions at https://skill123.me/install/alphaear-stock.
⌨️ Command line install

Run in your terminal — downloads and installs to ~/.claude/skills/.

curl -fsSL https://skill123.me/install/alphaear-stock.sh | bash
📦 Download ZIP

Download the zip and extract it into your skills directory (e.g. ~/.claude/skills/), then restart your session.

⬇ Download v1.0.0 · 10 KB
📊 Static rating
7.5/10
Trigger
5.0
Structure
8.0
Workflow
7.2
Content
8.0
Engineering
8.0
Security
9.5

Six-dimension rubric with reviewer rationale.

View scorecard ↓
🛡 Dynamic test
—

Not live-tested yet — this skill is rated on static analysis only.

About this skill

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.

AlphaEar Stock Skill

Documentation

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.

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

  • **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.

Score breakdown

Trigger
5.0
Description includes What plus an explicit 'Use when user asks about...' clause (stock codes, price changes, company info); missing When-Not boundary; no Chinese trigger words despite A-share focus; limited synonym coverage (no 行情/股价/OHLCV variants).
Structure
8.0
40-line SKILL.md is appropriately small but under-documented; clean scripts/ (+tests/); no references needed at this scale; usage docs partly live only in code docstrings/Chinese comments.
Workflow
7.2
Tool wrapper with concrete API (search_ticker/get_stock_price/get_stock_fundamentals); strong failure handling: DB cache, staleness check, akshare->EastMoney direct->yfinance fallback chain, proxy-error retry with env restore; verification limited to one shallow non-hermetic test that hits the network on init.
Content
8.0
Concise SKILL.md but no runnable CLI examples (requires writing Python to use); API signatures with arg formats are given; some guidance only in code comments (Chinese).
Engineering
8.0
Valid frontmatter; modules lack shebangs (acceptable as importable modules) and loguru is imported but missing from the declared dependency list; referenced script paths exist.
Security
9.5
Manifest: GET market data from push2his/push2.eastmoney.com (direct), akshare (EastMoney/Sina) and Yahoo Finance via yfinance — all declared public data sources; reads/Temporarily-unsets http(s)_proxy env vars (restored afterwards); writes only local SQLite cache data/signal_flux.db; no credential access, no persistence mechanisms. Hardcoded 'ut' param is a public EastMoney web constant, not a credential. Capabilities match declared scope (proxy note in SKILL.md declares network use).
Functional A-share/HK/US stock data tool with genuine engineering: SQLite cache with incremental sync, multi-source fallback (akshare -> EastMoney direct HTTP -> yfinance), proxy detection with temporary no-proxy retry. SKILL.md is thin (40 lines), no Chinese trigger words despite China-market focus, loguru dependency undeclared, test is non-hermetic (triggers network), and analysis report labels all prices as CNY regardless of market.