← 返回 Skills 市场
tangweigang-jpg

Zipline Daily Backtest

作者 Tang Weigang · GitHub ↗ · v0.3.3 · MIT-0
cross-platform ⚠ suspicious
108
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install zipline-daily-backtest
功能描述
使用 Zipline 框架执行日频股票策略回测,支持多市场数据接入、因子研究、可视化绩效分析,默认本金千万级。。
安全使用建议
Before installing or running this skill: - Clarify scope: ask the publisher whether this is a Zipline-only skill or a Zipline+ZVT blueprint. The SKILL.md mixes Zipline and ZVT concepts — that matters for runtime behavior. - Expect local side effects: the skill's runtime instructions will check for and may create ~/.zvt and run python import checks; run it in an isolated virtualenv or sandbox to avoid contaminating your global Python environment. - Credentials: if you plan to use paid data providers (joinquant, broker APIs), confirm where/how you must supply API keys — the skill metadata does not declare required env vars but the workflow references providers that need credentials. - Review seed.yaml and references: the package includes a large seed.yaml and many constraint/anti-pattern documents; read those to understand semantic locks (fatal constraints) that the skill enforces (e.g., no look-ahead, T+1 rules, MACD parameter lock). - Evidence quality & safety: the skill notes Evidence verify ratio = 48.1% and audit failures; treat generated code/results as needing independent verification. - If you need least privilege: run any backtests locally with your own controlled data and an explicit virtualenv; don't supply unrelated credentials or allow the agent to run system-wide installers. If you want, I can: (1) extract the exact precondition commands and show the file paths/actions it will perform; (2) produce a safe minimal wrapper (virtualenv + pip requirements) to test the skill in isolation; or (3) draft questions to ask the skill author to resolve the Zipline/ZVT mixing and missing install/credential declarations.
功能分析
Type: OpenClaw Skill Name: zipline-daily-backtest Version: 0.3.3 The skill bundle is a highly structured framework for performing financial backtesting using the Zipline and ZVT libraries. It employs a sophisticated 'Doramagic' instruction set (crystals, blueprints, and semantic locks) designed to ensure the AI agent generates technically accurate and logically sound trading strategies. The bundle includes extensive documentation on avoiding common quant pitfalls (anti-patterns) and enforces strict 'fatal' constraints to prevent errors like look-ahead bias and survivorship bias. No indicators of malicious intent, data exfiltration, or unauthorized execution were found; instead, the bundle includes security-positive features such as shell operator restrictions and explicit warnings against hardcoding credentials.
能力标签
cryptocan-make-purchasesrequires-sensitive-credentials
能力评估
Purpose & Capability
The skill advertises 'Zipline 日频回测' (Zipline daily backtest) and backtesting/factor-research capabilities, which aligns with the included content. However the instructions and many reference files are heavily ZVT-specific (zvt commands, ZVT_HOME, recorders, ZVT anti-patterns) and the seed.yaml mentions 'zipline-reloaded' and a Doramagic host ecosystem. This mixing of Zipline, ZVT, and host-specific orchestration is unexpected: a Zipline-only helper would not normally embed ZVT-specific preconditions and a host execution protocol. The requirement for Python 3.12+ with an 'uv' package manager is also declared but not reconciled with the more typical Zipline/ZVT runtime assumptions.
Instruction Scope
SKILL.md and seed.yaml include explicit runtime steps: agents are instructed to reload seed.yaml, run precondition python -c checks (import zvt, get_kdata etc.), check/create ZVT_HOME, and touch a file under that directory. These runtime actions access environment variables (ZVT_HOME), local filesystem (creating ~/.zvt/.write_test), and attempt to verify installed packages. The skill declares no required env vars/config paths yet its instructions read/write local config and run arbitrary python checks — a mismatch that expands the agent's scope beyond what the metadata declares. There are also execution_protocol directives (install_trigger, host_adapter.install_recipes[]) referenced despite there being no install spec included.
Install Mechanism
There is no install spec and no code files to execute, which lowers supply-chain risk. However seed.yaml and SKILL.md reference host-side install triggers and package verification steps (host_adapter.install_recipes[], 'python3 -m pip install zvt') that are not provided in the package; this is an inconsistency (documentation asks the host to install things but the skill doesn't declare or bundle an install recipe).
Credentials
The registry metadata lists no required environment variables or credentials, yet the instructions and preconditions implicitly rely on ZVT_HOME, on installed Python packages (zvt), and on external data providers (eastmoney, joinquant, akshare, qmt). Some data providers mentioned (joinquant, qmt/broker) require account credentials, but the skill does not declare or request them. The skill may therefore prompt the agent (or user) to supply sensitive API keys during use without that being evident from the metadata.
Persistence & Privilege
always:false (no forced global inclusion) and disable-model-invocation is not set, which is standard. The execution steps reference creating or writing to ~/.zvt (precondition PC-04) and initialize directories via zvt.init_dirs — actions that persist data/config under a user home directory. This is a modest privilege but is not declared in requires.config. There is no indication the skill will alter other skills or system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install zipline-daily-backtest
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /zipline-daily-backtest 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.3
v0.3.3: bilingual metadata injected. H1 shows Zipline 日频回测; 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
元数据
Slug zipline-daily-backtest
版本 0.3.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Zipline Daily Backtest 是什么?

使用 Zipline 框架执行日频股票策略回测,支持多市场数据接入、因子研究、可视化绩效分析,默认本金千万级。。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 108 次。

如何安装 Zipline Daily Backtest?

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

Zipline Daily Backtest 是免费的吗?

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

Zipline Daily Backtest 支持哪些平台?

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

谁开发了 Zipline Daily Backtest?

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

💬 留言讨论