← 返回 Skills 市场
tangweigang-jpg

Rqalpha Cn Backtest

作者 Tang Weigang · GitHub ↗ · v0.3.3 · MIT-0
cross-platform ⚠ suspicious
99
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install rqalpha-cn-backtest
功能描述
基于20日价格动量在沪深300、沪深500与国债之间自动轮转配置,通过RQAlpha框架执行完整回测并评估组合绩效。
安全使用建议
This skill appears coherent with a backtesting helper, but there are important mismatches you should address before installing or granting the agent permission to run it: - Expect the agent to run Python commands and possibly pip install packages (e.g., zvt). Run these installs yourself in a controlled environment (virtualenv/container) rather than letting the agent run them automatically. - The skill references ZVT_HOME (~/.zvt) and will attempt to write there as a precondition test; ensure you are comfortable with that path and permissions or set ZVT_HOME to an isolated directory. - If you plan to use paid data providers (joinquant, brokers), the skill will need credentials — the package manifest does not declare these env vars. Do not paste credentials into a conversation; prefer configuring them in the host's secret store and only grant minimal-scoped tokens. - Ask the publisher for a concrete install spec and a list of required env vars (jqdatasdk tokens, broker API keys) and for a minimal reproducible example of the exact shell/python commands the agent will run. The current mismatch (no install spec vs SKILL.md that runs installs) is the main reason this is flagged suspicious. If you want to proceed safely: run the skill locally inside an isolated VM/container, manually perform and inspect the prereq installs, set ZVT_HOME to a disposable directory, and do not provide credentials until you confirm what calls will be made and where data will be transmitted.
功能分析
Type: OpenClaw Skill Name: rqalpha-cn-backtest Version: 0.3.3 The bundle is a highly structured configuration for a quantitative trading assistant focused on the A-share market using the zvt and rqalpha frameworks. It contains extensive domain-specific knowledge, including 25 anti-patterns (ANTI_PATTERNS.md), market-specific constraints (CONSTRAINTS.md), and semantic locks (LOCKS.md) designed to prevent common backtesting errors like look-ahead bias and T+1 settlement violations. The execution protocols in seed.yaml are complex but strictly aligned with the stated purpose of providing a safe, rule-bound environment for generating financial code. No indicators of data exfiltration, malicious execution, or harmful prompt injection were found.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
Purpose (backtesting A‑share rotation strategy via RQAlpha/ZVT) matches the included content (lots of domain constraints, anti‑patterns, pipelines). However SKILL.md claims runtime requirements (Python 3.12+ and 'uv' package manager, Doramagic-host compatibility, compiled blueprint v6.1) that are not reflected in the registry metadata (no required binaries, no install spec). Also the skill references third‑party data providers (joinquant, eastmoney, akshare) where credentials may be needed but no credentials are declared.
Instruction Scope
SKILL.md and seed.yaml instruct the agent to run precondition commands (python checks, pip install zvt if missing), to re-read seed.yaml at runtime, and to create/write files under ZVT_HOME (~/.zvt). They also direct the agent to choose data providers that can require account tokens. These are normal for a backtest helper, but the instructions give the agent permission to run shell/Python commands and write to disk; the skill does not clearly limit or declare those operations in the manifest.
Install Mechanism
The registry shows no install spec and no code files (instruction‑only), but seed.yaml's execution_protocol and SKILL.md expect the host/agent to perform installs/verification (pip installs, verify packages). That mismatch (no declared install steps vs instructions that perform installs) is an inconsistency and increases risk because the agent could be instructed to run arbitrary package installs at runtime.
Credentials
The skill declares no required environment variables, yet the SKILL.md and preconditions reference ZVT_HOME and data providers (joinquant, brokers) that commonly require credentials. The skill may prompt the agent/user for provider credentials at runtime but has not declared or scoped them in the manifest; this is a proportionality/visibility gap.
Persistence & Privilege
always:false and disable-model-invocation:false (normal). The skill does instruct the agent to re-read seed.yaml on every behavioral decision and to write into ~/.zvt as part of precondition checks; this gives the skill runtime persistence (filesystem writes) but not elevated platform privileges or forced always-on inclusion. No evidence it modifies other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rqalpha-cn-backtest
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rqalpha-cn-backtest 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.3
v0.3.3: bilingual metadata injected. H1 shows RQAlpha A 股回测; 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 rqalpha-cn-backtest
版本 0.3.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Rqalpha Cn Backtest 是什么?

基于20日价格动量在沪深300、沪深500与国债之间自动轮转配置,通过RQAlpha框架执行完整回测并评估组合绩效。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 99 次。

如何安装 Rqalpha Cn Backtest?

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

Rqalpha Cn Backtest 是免费的吗?

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

Rqalpha Cn Backtest 支持哪些平台?

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

谁开发了 Rqalpha Cn Backtest?

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

💬 留言讨论