Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

alphaear-stock

Skill by RKiding

Searches A-Share, Hong Kong and US stock tickers by code or name, and retrieves OHLCV price history and company fundamentals. It is for users who ask about finance stock codes, recent price changes or company stock information.

  • Score 62
  • 3.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install alphaear-stock

Built from the published package, never by AI.

git clone --depth 1 https://github.com/RKiding/Awesome-finance-skills /tmp/Awesome-finance-skills && mkdir -p ~/.claude/skills && cp -r /tmp/Awesome-finance-skills/skills/alphaear-stock ~/.claude/skills/alphaear-stock

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install alphaear-stock in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

AlphaEar Stock is an agent skill that searches A-Share, Hong Kong and US stock tickers by code or name, such as "Moutai" or "600519". It can also return OHLCV price history for a date range in YYYY-MM-DD format, and company fundamentals including sector, industry, market cap, PE ratio and a summary. The skill is implemented through scripts/stock_tools.py as a StockTools class.

Market data comes from akshare, which uses EastMoney for A-Share and HK stocks, and from yfinance for US stocks. The source says akshare usually works best with a direct connection in China, and that the tool detects proxy issues and tries a direct connection for these markets. For US data, proxy environment variables may be needed if Yahoo Finance cannot be reached directly. It is for users who ask about stock codes, recent price changes or company stock information.

Written from the project's SKILL.md and checked against it.

What it can do

  • search_tickerFuzzy search for A-Share, HK and US stocks by code or name, returning code and name.
  • get_stock_priceReturns a DataFrame with OHLCV price data for a ticker between two YYYY-MM-DD dates.
  • get_stock_fundamentalsReturns sector, industry, market cap, PE ratio and a summary for A-Share, HK or US stocks.

What you need

  • Python packages: pandas, requests, akshare, yfinance
  • scripts/database_manager.py for the stock tables

Try asking

  • Find the ticker code for Moutai
  • Show Moutai's OHLCV prices from 2024-01-01 to 2024-03-31
  • Get the sector, market cap and PE ratio for AAPL

Good to know

  • US stock data via yfinance may need proxy environment variables.
  • akshare data from EastMoney usually works best with a direct connection in China.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/alphaear-stock/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to alphaear-stock

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

alphaear-stock: common questions

Which markets does alphaear-stock cover?

The source says it searches A-Share, HK and US stock tickers. Fundamentals are also listed as supporting A-Share, HK and US stocks.

Why might US stock data fail to load?

The source says yfinance may need HTTP_PROXY and HTTPS_PROXY environment variables if the network cannot reach Yahoo Finance directly.

What does get_stock_price return?

According to the source, it returns a DataFrame with OHLCV data for the dates given in YYYY-MM-DD format.

How do I install alphaear-stock?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is alphaear-stock free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is alphaear-stock safe to use?

It scores 62 of 100. Grades: maintenance D, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to alphaear-stock?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

alphaear-stock Install

Add to stack

Loading.