RKiding

alphaear-stock

Search A-Share 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.

RKiding 2,409 328 Updated 4mo ago

Resources

2
GitHub

Install

npx skillscat add rkiding/awesome-finance-skills/alphaear-stock

Install via the SkillsCat registry.

SKILL.md

AlphaEar Stock Skill

Overview

Search A-Share/HK 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".

Dependencies

  • pandas, requests
  • scripts/database_manager.py (stock tables)