← 返回 Skills 市场
Tensortrade Rl Env
作者
Tang Weigang
· GitHub ↗
· v0.3.3
· MIT-0
105
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install tensortrade-rl-env
功能描述
提供多市场回测与强化学习交易环境构建能力,支持多交易所钱包组合管理、Plotly交互式交易可视化及RL智能体训练评估。
安全使用建议
This skill looks like domain-appropriate documentation for building RL trading/backtest pipelines, but there are a few red flags you should address before running it:
- Source trust: the skill's source/homepage is unknown and the license is proprietary — only proceed if you trust the publisher.
- Declared vs. actual requirements: SKILL.md requires Python 3.12+ and the 'uv' package manager and references the ZVT runtime (and the ZVT_HOME env var), but the registry metadata lists no required binaries, env vars, or config paths. Treat that as a mismatch—set up a clean environment yourself (see below) rather than letting an agent auto-install.
- File writes & installs: the skill's preconditions will attempt to pip-install zvt and create/write ~/.zvt; do not run these steps on a sensitive machine. Use a dedicated virtualenv/container (Python 3.12) or sandbox.
- Credentials: examples mention multi-exchange wallets (Bitfinex/Bitstamp); do NOT supply real exchange API keys unless you understand exactly how the skill uses them and you trust the code — prefer simulated wallets first. The skill does not declare any required KEY/TOKEN vars, so any prompt for secrets should be treated suspiciously.
- Review important files: inspect references/LOCKS.md, references/seed.yaml and references/ANTI_PATTERNS.md yourself to understand fatal semantic checks (e.g., next-bar execution, T+1 rules) before running automated backtests.
Recommended safe steps: run in an isolated VM/container; create a Python 3.12 virtualenv; set ZVT_HOME to a disposable directory you control; inspect the seed.yaml and SKILL.md contents locally; run only read-only prechecks first (import checks) and refuse automatic pip installs unless you audit the packages and trust PyPI sources. If you must run production-style backtests, prepare simulated data and avoid providing any live-exchange credentials until the code provenance is verified.
功能分析
Type: OpenClaw Skill
Name: tensortrade-rl-env
Version: 0.3.3
The bundle is a highly structured framework for developing reinforcement learning trading strategies using the ZVT and TensorTrade libraries. It contains extensive domain-specific safety mechanisms, such as 'Semantic Locks' (e.g., SL-01, SL-02) and 'Fatal Constraints' (e.g., finance-C-001), designed to prevent common quantitative trading errors like lookahead bias, survivorship bias, and financial rounding errors. The installation recipes and preconditions are standard for the OpenClaw environment, and the instructions focus entirely on enforcing financial logic and data integrity without any evidence of malicious intent, data exfiltration, or unauthorized execution.
能力标签
能力评估
Purpose & Capability
Name/description claim a TensorTrade-style RL trading environment (multi-market backtesting, wallets, Plotly visualization, RL training) and the provided files are documentation-heavy and domain-appropriate. However SKILL.md states a runtime requirement (Python 3.12+ with the 'uv' package manager) and references ZVT (zvt import/get_kdata) and multi-exchange examples, yet the registry metadata declares no required binaries, no required env vars, and no config paths. That mismatch (declared none vs. instructions that expect Python, 'uv', and ZVT) is incoherent and should be resolved before trust.
Instruction Scope
Runtime instructions (preconditions) tell the agent to run Python import checks, call get_kdata, possibly run pip installs (python3 -m pip install zvt), check and create ZVT_HOME and write test files under ~/.zvt. Those are file-system writes and package installs outside a pure 'documentation' scope. They also reference environment variable ZVT_HOME and advise creating directories — but requires.env did not declare ZVT_HOME. The SKILL.md otherwise stays in-domain (no external endpoints or exfiltration instructions), but the preconditions grant the agent discretion to install packages and write into the user's home directory which is not declared.
Install Mechanism
This is an instruction-only skill with no install spec or code files — low intrinsic install risk. However SKILL.md tells the agent to verify Python imports and run pip installs when preconditions fail (e.g., 'python3 -m pip install zvt'), which means the agent may attempt to install third-party packages at runtime. Because there is no declared installation recipe or pinned sources, the agent's behavior depends on runtime execution policy; that increases operational uncertainty.
Credentials
Registry metadata lists zero required environment variables, yet SKILL.md references ZVT_HOME in preconditions and uses multi-exchange wallet examples (Bitfinex, Bitstamp) which commonly require exchange API keys — but no credentials or primaryEnv are declared. The skill also instructs writing into ~/.zvt (permission checks). Missing declarations for these environment/config accesses are disproportionate and should be clarified before use.
Persistence & Privilege
Permissions flags are default (always: false, agent may invoke autonomously). The skill does not request forced always-on presence nor claim to modify other skills or system-wide settings. Its directives to re-read seed.yaml and run preconditions are self-contained and do not create persistent platform-level privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tensortrade-rl-env - 安装完成后,直接呼叫该 Skill 的名称或使用
/tensortrade-rl-env触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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
元数据
常见问题
Tensortrade Rl Env 是什么?
提供多市场回测与强化学习交易环境构建能力,支持多交易所钱包组合管理、Plotly交互式交易可视化及RL智能体训练评估。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 105 次。
如何安装 Tensortrade Rl Env?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tensortrade-rl-env」即可一键安装,无需额外配置。
Tensortrade Rl Env 是免费的吗?
是的,Tensortrade Rl Env 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Tensortrade Rl Env 支持哪些平台?
Tensortrade Rl Env 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Tensortrade Rl Env?
由 Tang Weigang(@tangweigang-jpg)开发并维护,当前版本 v0.3.3。
推荐 Skills