← Back to Skills Marketplace
tangweigang-jpg

Rqalpha Cn Backtest

by Tang Weigang · GitHub ↗ · v0.3.3 · MIT-0
cross-platform ⚠ suspicious
99
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install rqalpha-cn-backtest
Description
基于20日价格动量在沪深300、沪深500与国债之间自动轮转配置,通过RQAlpha框架执行完整回测并评估组合绩效。
Usage Guidance
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.
Capability Analysis
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.
Capability Tags
cryptocan-make-purchases
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rqalpha-cn-backtest
  3. After installation, invoke the skill by name or use /rqalpha-cn-backtest
  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 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
Metadata
Slug rqalpha-cn-backtest
Version 0.3.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Rqalpha Cn Backtest?

基于20日价格动量在沪深300、沪深500与国债之间自动轮转配置,通过RQAlpha框架执行完整回测并评估组合绩效。 It is an AI Agent Skill for Claude Code / OpenClaw, with 99 downloads so far.

How do I install Rqalpha Cn Backtest?

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

Is Rqalpha Cn Backtest free?

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

Which platforms does Rqalpha Cn Backtest support?

Rqalpha Cn Backtest is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Rqalpha Cn Backtest?

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

💬 Comments