General 458 installs

A股分析全能 Skill(AKShare)

by molezzz/openclaw-stock-skill

A股分析全能 Skill(实时行情、技术面、基本面、板块、衍生品与跨市场),基于 akshare + 自然语言路由

Skill content

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

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. 目录组织(建议)