← 返回 Skills 市场
tangweigang-jpg

Akshare Financial Data

作者 Tang Weigang · GitHub ↗ · v0.3.3 · MIT-0
cross-platform ⚠ suspicious
133
总下载
0
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install akshare-financial-data
功能描述
获取中国 A 股市场实时行情、历史 K 线、财务报表、基金期货等金融数据,支持股票、债券、期权等多品种数据查询。
使用说明 (SKILL.md)

AkShare 金融数据 (akshare-financial-data)

获取中国 A 股市场实时行情、历史 K 线、财务报表、基金期货等金融数据,支持股票、债券、期权等多品种数据查询。

Pipeline

data_collection -> data_storage -> factor_computation -> target_selection -> trading_execution -> visualization

Top Use Cases (1 total)

Sphinx Documentation Configuration for Akshare (UC-101)

Sets up the Sphinx documentation builder with Chinese language support (via ctex), Markdown parsing via recommonmark, and automatic version string ext Triggers: documentation, sphinx, docs build

Execute trigger: When user intent matches intent_router.uc_entries[].positive_terms AND user uses action verb (run/execute/跑/执行/backtest/fetch/collect)

What I'll Ask You

  • Target market: A-share (default), HK, or crypto? (US stocks in ZVT are half-baked — stockus_nasdaq_AAPL exists but coverage is thin)
  • Data source / provider: eastmoney (free, no account), joinquant (account+paid), baostock (free, good history), akshare, or qmt (broker)?
  • Strategy type: MACD golden-cross, MA crossover, volume breakout, fundamental screen, or custom factor?
  • Time range: start_timestamp and end_timestamp for backtest period
  • Target entity IDs: specific stocks (stock_sh_600000) or index components (SZ1000)?

Semantic Locks (Fatal)

ID Rule On Violation
SL-01 Execute sell orders before buy orders in every trading cycle halt
SL-02 Trading signals MUST use next-bar execution (no look-ahead) halt
SL-03 Entity IDs MUST follow format entity_type_exchange_code halt
SL-04 DataFrame index MUST be MultiIndex (entity_id, timestamp) halt
SL-05 TradingSignal MUST have EXACTLY ONE of: position_pct, order_money, order_amount halt
SL-06 filter_result column semantics: True=BUY, False=SELL, None/NaN=NO ACTION halt
SL-07 Transformer MUST run BEFORE Accumulator in factor pipeline halt
SL-08 MACD parameters locked: fast=12, slow=26, signal=9 halt

Full lock definitions: references/LOCKS.md

Top Anti-Patterns (14 total)

  • AP-DATA-SOURCING-001: Missing or invalid User-Agent headers for SEC API requests
  • AP-DATA-SOURCING-002: Ignoring external API rate limits causing IP blocking
  • AP-DATA-SOURCING-003: No HTTP timeout configuration causing indefinite hangs

All 14 anti-patterns: references/ANTI_PATTERNS.md

Evidence Quality Notice

[QUALITY NOTICE] This crystal was compiled from blueprint finance-bp-079. Evidence verify ratio = 30.6% and audit fail total = 41. Generated results may have uncaptured requirement gaps. Verify critical decisions against source files (LATEST.yaml / LATEST.jsonl).

Reference Files

File Contents When to Load
references/seed.yaml V6+ 全量权威 (source-of-truth) 有行为/决策争议时必读
references/ANTI_PATTERNS.md 14 条跨项目反模式 开始实现前
references/WISDOM.md 跨项目精华借鉴 架构决策时
references/CONSTRAINTS.md domain + fatal 约束 规则冲突时
references/USE_CASES.md 全量 KUC-* 业务场景 需要完整示例时
references/LOCKS.md SL-* + preconditions + hints 生成回测/交易代码前
references/COMPONENTS.md AST 组件地图(按 module 拆分) 查 API 时

Compiled by Doramagic crystal-compilation-v6.1 from finance-bp-079 blueprint at 2026-04-22T13:00:30.352072+00:00. See human_summary.md for non-technical overview.

安全使用建议
This skill appears to be a coherent A‑share data / pipeline blueprint, but it contains runtime instructions that will run Python checks, may install or require Python packages (zvt), and will read/write a ZVT_HOME directory. Before installing or invoking it: 1) Verify you are willing to let an agent run python/pip commands and create files under your home directory (consider a sandbox or container). 2) Confirm your host Python version (SKILL.md asks for 3.12+) and whether you need to manually install zvt or provider tokens. 3) Inspect seed.yaml and the referenced files (they are included) to ensure no unexpected external endpoints or commands are present. 4) Be prepared to supply any data-provider API keys if you plan to use paid sources (the skill does not declare required env vars but may need them at runtime). 5) Check the license/provenance (SKILL.md says 'Proprietary' but no LICENSE.txt was provided) and prefer running first in an isolated environment until you accept the files/commands it will execute.
功能分析
Type: OpenClaw Skill Name: akshare-financial-data Version: 0.3.3 The bundle is a comprehensive configuration for an AI agent to perform financial data analysis and backtesting for the Chinese A-share market using the AkShare and ZVT libraries. It includes detailed domain-specific constraints (e.g., T+1 settlement rules in SHARED-CN-ASTOCK-T1-001) and semantic locks (e.g., SL-01 to SL-12 in seed.yaml) designed to prevent common quantitative trading errors like look-ahead bias. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found; the instructions are strictly focused on enforcing financial logic, data quality, and documentation setup (UC-101).
能力标签
cryptorequires-sensitive-credentials
能力评估
Purpose & Capability
The skill declares itself as an AkShare / A‑share data pipeline which is consistent with the included documents (seed.yaml, components, anti‑patterns). However the SKILL.md and seed.yaml require Python 3.12+, zvt (and use of pip/recorder commands), and mention the 'uv' package manager and Doramagic-host compatibility — none of these runtime requirements are listed in the registry metadata (required binaries/env). That mismatch between declared requirements and the runtime instructions is an incoherence to be aware of.
Instruction Scope
This is an instruction-only skill whose SKILL.md and seed.yaml direct the agent to: re-read seed.yaml, run python one‑liners that check/import zvt, invoke recorders (which may call network APIs), and check/write to a ZVT_HOME directory (touch/unlink). Those instructions give the agent permission to run commands and create files under the user's ~/.zvt (or alternate ZVT_HOME). While reasonable for a data-collector skill, they are broader than the registry metadata implies and allow host file-system and package-install operations — exercise caution.
Install Mechanism
There is no declared install spec (lowest static risk). However the seed.yaml execution_protocol and SKILL.md reference running pip installs (e.g., pip install zvt) and host_adapter.install_recipes[]. Because the skill lacks a formal install block, these implied installation steps are not tracked by the registry metadata — an inconsistency that could surprise users who expect no install activity.
Credentials
The registry declares no required environment variables or credentials, but the runtime instructions explicitly reference ZVT_HOME and preconditions depend on zvt and data recorders that may require API tokens from data providers (tushare/joinquant/eastmoney) in practice. The skill also embeds many anti-patterns and constraints referring to API rate limits and tokens. The absence of declared env-vars/credentials vs. instructions that read/write ZVT_HOME and may require provider tokens is disproportionate and should be clarified.
Persistence & Privilege
always:false and user-invocable:true — no forced global presence. The skill does instruct writing to its own data directory (~/.zvt) and running local recorders, but it does not request to modify other skills or system-wide agent settings. This level of privilege is expected for a data-collection skill, though you should still review any package installs or filesystem writes before allowing them.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install akshare-financial-data
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /akshare-financial-data 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.3
v0.3.3: bilingual metadata injected. H1 shows AkShare 金融数据; tagline replaced with skill-specific Chinese hook; tags upgraded to Level 1-4.
v0.3.1
Remove install.sh — knowledge-only bundle. Host AI consumes directly from URL; no user-side installation needed. Fixes ClawHub suspicious flag.
v0.3.0
Doramagic crystal portfolio v0.3.0. Full 5-layer bp-009 standard. github.com/tangweigang-jpg/doramagic-skills
v0.2.0
Doramagic crystal portfolio v0.2.0. Full 5-layer bp-009 standard. github.com/tangweigang-jpg/doramagic-skills
v0.1.0
Doramagic crystal v0.2.0 portfolio. Compiled from finance blueprint. Source: github.com/tangweigang-jpg/doramagic-skills
元数据
Slug akshare-financial-data
版本 0.3.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Akshare Financial Data 是什么?

获取中国 A 股市场实时行情、历史 K 线、财务报表、基金期货等金融数据,支持股票、债券、期权等多品种数据查询。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 133 次。

如何安装 Akshare Financial Data?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install akshare-financial-data」即可一键安装,无需额外配置。

Akshare Financial Data 是免费的吗?

是的,Akshare Financial Data 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Akshare Financial Data 支持哪些平台?

Akshare Financial Data 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Akshare Financial Data?

由 Tang Weigang(@tangweigang-jpg)开发并维护,当前版本 v0.3.3。

💬 留言讨论