← Back to Skills Marketplace
tangweigang-jpg

Eastmoney Api

by Tang Weigang · GitHub ↗ · v0.3.3 · MIT-0
cross-platform ⚠ suspicious
119
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install eastmoney-api
Description
为 VAlpha 量化终端用户提供 A 股市场数据获取、多数据源自动切换与熔断保护,支持 Tushare/Akshare 链路 fallback,并根据积分额度自动配置请求频率限制。
README (SKILL.md)

东方财富接口 (eastmoney-api)

为 VAlpha 量化终端用户提供 A 股市场数据获取、多数据源自动切换与熔断保护,支持 Tushare/Akshare 链路 fallback,并根据积分额度自动配置请求频率限制。

Pipeline

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

Top Use Cases (26 total)

VAlpha Terminal Entry Point (UC-101)

Provides unified entry point for starting FastAPI server or running pre/post-market analysis Triggers: start, server, run

FastAPI Application Factory (UC-102)

Creates and configures FastAPI application instance with CORS, routers, and lifespan management Triggers: application, fastapi, server

Static File Serving and SPA Routing (UC-103)

Serves frontend static files and implements SPA catch-each routing for client-side navigation Triggers: static, frontend, spa

For all 26 use cases, see references/USE_CASES.md.

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-084. Evidence verify ratio = 36.8% and audit fail total = 26. 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-084 blueprint at 2026-04-22T13:00:34.071788+00:00. See human_summary.md for non-technical overview.

Usage Guidance
This skill appears to be a guidance/blueprint for an Eastmoney/ZVT data-collection and FastAPI stack and contains many checks that will run Python commands and touch a ZVT home directory (~/.zvt). Before installing or running it: (1) Expect it to require Python 3.12+ and to install Python packages (pip); review and approve any package installs. (2) Prepare provider credentials (Tushare/API tokens) if you plan to use paid links — the skill does not declare these env vars but will need them for some providers. (3) Be aware it will read and create files under your home (ZVT_HOME); inspect/backup that directory if needed. (4) If you want stronger guarantees, ask the author for an explicit manifest listing required binaries, exact pip packages (with versions), and any external endpoints or env vars (e.g., TUSHARE_TOKEN), and request a build/install script that you can review before execution.
Capability Analysis
Type: OpenClaw Skill Name: eastmoney-api Version: 0.3.3 The skill bundle is a highly structured quantitative trading blueprint for the ZVT framework, specifically targeting the A-share market. It contains extensive domain-specific constraints (e.g., T+1 settlement rules, price limits, and financial reporting delays) and architectural guardrails to ensure data integrity and strategy realism. While it requires sensitive environment variables like TUSHARE_API_TOKEN and LLM API keys (finance-C-094, finance-C-138), there is no evidence of intentional data exfiltration, malicious execution, or harmful prompt injection. The instructions are strictly aligned with the stated purpose of financial analysis, data sourcing, and backtesting.
Capability Tags
cryptorequires-sensitive-credentials
Capability Assessment
Purpose & Capability
SKILL.md describes an Eastmoney/TuShare/Akshare data sourcing and ZVT-based pipeline (data collection, recorder, FastAPI server). That purpose aligns with instructions that reference zvt recorders, FastAPI app factory, and data pipelines. However the registry metadata declares no required binaries/env but the SKILL.md explicitly requires Python 3.12+ and mentions zvt and other Python packages — an omission in the skill manifest. Also the description mentions provider fallbacks (Tushare/Akshare) but no provider credentials (e.g., TUSHARE_TOKEN) are declared; this mismatch between declared requirements and stated functionality is unexpected.
Instruction Scope
The runtime instructions direct the agent to run precondition checks (python import/version checks), possibly install Python packages (pip install zvt), read/reload seed.yaml, and read/write the ZVT home directory (~/.zvt or ZVT_HOME). Those actions are consistent with setting up a local data-collection/backtest service. The instructions do not attempt to contact unknown external endpoints or exfiltrate secrets in the files shown. Still, they give the agent wide discretion to run Python commands, create files, and install packages — capabilities that should be reviewed by the user before allowing execution.
Install Mechanism
This is an instruction-only skill with no install spec or code files to extract/run, which is lower risk than arbitrary downloads. The SKILL.md suggests using Python package installation (pip) at runtime, but no install URLs or archives are embedded in the skill.
Credentials
The skill requests no environment variables in the manifest, yet the instructions reference ZVT_HOME and implicit dependencies (zvt, providers like Tushare which typically require API tokens). The absence of declared required credentials (e.g., TUSHARE_TOKEN) and the manifest's 'no binaries required' entry are inconsistent with the SKILL.md content. Users should assume the skill may prompt to install packages and may require service API keys to access paywalled endpoints.
Persistence & Privilege
always is false and the skill is user-invocable; it does instruct writing/creating the ZVT home directory and temporary files under ~/.zvt, which is reasonable for a data-collection/backtest tool. There is no evidence the skill requests persistent, platform-wide privileges or self-enablement beyond its own workspace.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install eastmoney-api
  3. After installation, invoke the skill by name or use /eastmoney-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.3.3
v0.3.3: bilingual metadata injected. H1 shows 东方财富接口; 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
Metadata
Slug eastmoney-api
Version 0.3.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Eastmoney Api?

为 VAlpha 量化终端用户提供 A 股市场数据获取、多数据源自动切换与熔断保护,支持 Tushare/Akshare 链路 fallback,并根据积分额度自动配置请求频率限制。 It is an AI Agent Skill for Claude Code / OpenClaw, with 119 downloads so far.

How do I install Eastmoney Api?

Run "/install eastmoney-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Eastmoney Api free?

Yes, Eastmoney Api is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Eastmoney Api support?

Eastmoney Api is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Eastmoney Api?

It is built and maintained by Tang Weigang (@tangweigang-jpg); the current version is v0.3.3.

💬 Comments