akshare-stock

Installation
Summary

Real-time and historical A-stock analysis with natural language routing across market, fundamental, sector, and derivatives data.

  • Supports 11 analysis intents: real-time indices, K-line patterns, intraday moves, limit-up/down stats, money flow, fundamentals, margin/dragon-tiger boards, sector rotation, derivatives, funds, and cross-border markets
  • Four-layer architecture (Router → Service → Analyzer → Formatter) isolates intent parsing, data fetching, metric calculation, and platform-specific output formatting
  • Includes 30–120 second caching for market data, daily caching for financials, and fallback to last trading day data on API failures
  • Output automatically compresses to QQ/Telegram format with emoji, key metrics first, and 1000-character message limits with auto-splitting
SKILL.md

A股分析全能 Skill(AKShare)

目标:在 OpenClaw 中通过自然语言触发 A 股和相关市场分析,输出适配 QQ/Telegram 的紧凑文本。

  • 运行环境:Mac + Python 3.9
  • akshare 路径:/Users/molezz/Library/Python/3.9/lib/python3.9/site-packages
  • Skill 入口建议:python3 skills/akshare-stock/main.py --query "${USER_QUERY}"

1) 整体架构设计

采用 Router -> Service -> Analyzer -> Formatter 四层结构,便于扩展和维护。

A. 目录组织(建议)

Installs
8.3K
GitHub Stars
12
First Seen
Feb 24, 2026