← 返回 Skills 市场
uu-z

Trading DevBox

作者 uuz · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
2637
总下载
0
收藏
22
当前安装
1
版本数
在 OpenClaw 中安装
/install trading-devbox
功能描述
Trading strategy development sandbox. User describes trading intent in natural language, agent writes a Python backtest strategy and returns results.
安全使用建议
This skill is internally inconsistent: it says it will run backtests and return results but the runtime instructions only write a template script to /tmp and print a placeholder; it doesn't provide data sources or dependency installation steps (backtrader is imported but not installed). Before installing or running this skill: 1) Ask the author to clarify how market data is obtained and where results are stored; 2) Request explicit, pinned install steps for dependencies (e.g., pip install backtrader==<version>) rather than leaving the agent to fetch packages; 3) Require the agent to seek explicit user confirmation before executing any generated code or installing packages; 4) Run the skill in an isolated/containerized environment and review the generated strategy.py before execution to avoid arbitrary code running on your machine; 5) If the skill will access exchange APIs, ensure it requests only the minimal credentials needed and documents how they are used. These changes would resolve the main incoherences; absent them, treat the skill cautiously.
功能分析
Type: OpenClaw Skill Name: trading-devbox Version: 0.1.0 The skill bundle describes a 'trading-devbox' for generating and backtesting trading strategies. The `SKILL.md` contains instructions for the AI agent to parse user intent, confirm parameters, and generate a Python backtest strategy. The embedded shell commands (`mkdir`, `cat`, `python3`) are used to write and execute a fixed, self-contained Python script (`strategy.py`) in a temporary directory. This Python script uses the `backtrader` library for a basic trading simulation and does not contain any malicious code, network calls, file system access beyond its own execution, or attempts to exfiltrate data. There are no prompt injection attempts within the `SKILL.md` instructions that would lead the agent to deviate from its stated purpose or perform harmful actions. The skill's core functionality involves code generation, which inherently carries risk if the agent's generation logic is flawed, but the provided skill bundle itself does not demonstrate or instruct malicious exploitation of this capability.
能力评估
Purpose & Capability
The skill claims to write and run Python backtests and return results, but it declares no required binaries, dependencies, or credentials. The SKILL.md references backtrader (a third‑party Python package) and backtesting over market data, yet gives no instructions for obtaining market data, installing backtrader, or accessing exchange/data APIs. These omissions are disproportionate to the stated capability.
Instruction Scope
The instructions tell the agent to write /tmp/trading-devbox/strategy.py and run python3 on it. The included strategy.py imports backtrader but only outputs a JSON status message and does not actually perform a backtest or load any market data. There is no guidance about data sources, credentials, or where to store results. Writing files and executing Python is expected for a devbox, but the steps are incomplete and grant the agent discretion to install packages or fetch data if it attempts to complete the workflow — this ambiguity is risky.
Install Mechanism
No install spec is provided (instruction-only), which keeps risk lower because nothing is preinstalled by the skill. However, the instructions import backtrader without telling the agent how to install it; a real agent might attempt to pip install packages at runtime, which could pull arbitrary code from PyPI. The absence of explicit, pinned install steps is a missing and notable detail.
Credentials
The skill requests no environment variables, no credentials, and no config paths. This is proportionate to the stated purpose on its face, but because backtesting usually requires market data or exchange API keys, the lack of declared data/credential requirements may indicate incomplete design rather than excessive privilege requests.
Persistence & Privilege
always is false, the skill is user-invocable, and there is no indication it attempts to modify other skills or system-wide settings. File writes are limited to /tmp in the instructions. No elevated persistence behavior is requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install trading-devbox
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /trading-devbox 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
trading-devbox 0.1.0 – Initial Release - Introduces a skill that converts natural language trading ideas into backtestable Python strategies using backtrader. - Parses user intent into structured parameters (asset, entry/exit conditions, timeframe) before strategy generation. - Confirms parameters with the user and outputs Python code for backtesting. - Provides clear, structured responses including parsed intent, strategy details, and execution results. - Supports both English and Chinese user requests for trading strategy development and backtesting.
元数据
Slug trading-devbox
版本 0.1.0
许可证
累计安装 23
当前安装数 22
历史版本数 1
常见问题

Trading DevBox 是什么?

Trading strategy development sandbox. User describes trading intent in natural language, agent writes a Python backtest strategy and returns results. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2637 次。

如何安装 Trading DevBox?

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

Trading DevBox 是免费的吗?

是的,Trading DevBox 完全免费(开源免费),可自由下载、安装和使用。

Trading DevBox 支持哪些平台?

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

谁开发了 Trading DevBox?

由 uuz(@uu-z)开发并维护,当前版本 v0.1.0。

💬 留言讨论