Skip to content
alyn
RKiding

Alphaear Stock 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.

$npx skills add RKiding/Awesome-finance-skills --skill alphaear-stock
GitHub stars
3,113
Pack installs
6.8k
Alyn Score
48/99
Updated
8 months ago
License
Apache-2.0

RKiding

Alphaear Stock

Install Alphaear Stock

Pick your agent. Every command is ready to paste.

$npx skills add RKiding/Awesome-finance-skills --skill alphaear-stock

The open skills CLI detects your agents (Claude Code, Cursor, Codex and 70+ more) and installs to the right folder. Add -g to install globally.

01

Install it

Run the command above, or upload the folder in Claude.

02

Ask naturally

Describe the task. Your agent loads alphaear-stock when the request matches its description.

03

Name it if needed

If it does not trigger, say “use the alphaear-stock skill”. In Codex, type $alphaear-stock.

The skill itself

SKILL.md

GitHub

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.

Tips for Alphaear Stock

  • • Start a fresh session after installing so your agent picks up the new skill.
  • • This skill ships scripts. Read them before the first run, and run it in a project without secrets first.
  • • It is part of a pack with 10 skills. Install only the ones you need with --skill to keep triggers precise.
  • • If two skills overlap, mention the one you want by name.

Questions about Alphaear Stock

What does the Alphaear Stock skill do?

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.

How do I install Alphaear Stock?

Run "npx skills add RKiding/Awesome-finance-skills --skill alphaear-stock" in your project. The skills CLI installs it for Claude Code, Cursor, Codex and 70+ other agents. In Claude on the web, upload the skill folder as a ZIP under Customize > Skills.

Does Alphaear Stock work in Cursor and Codex?

Yes. Alphaear Stock uses the open SKILL.md format, so it works in Claude Code, Claude, Cursor, OpenAI Codex, Gemini CLI, GitHub Copilot and other agents that support agent skills.

Is Alphaear Stock free?

Alphaear Stock is open source on GitHub under the Apache-2.0 license. It is free to install; check the license before commercial use.

Who made Alphaear Stock?

Alphaear Stock is published by RKiding in the RKiding/Awesome-finance-skills repository, together with 9 other skills.

Similar skills. From other creators.