← 返回 Skills 市场
691
总下载
1
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install stock-strategy-backtester-clean
功能描述
Backtest stock trading strategies on historical OHLCV data and report win rate, return, CAGR, drawdown, Sharpe ratio, and trade logs. Use when evaluating or...
安全使用建议
This skill appears to do what it says (local CSV backtests) and requests no secrets, but the included Python file is truncated and contains an apparent typo that will likely cause runtime errors or incomplete output. Before using it on important data: (1) open and review the complete scripts/backtest_strategy.py file locally and fix obvious bugs (e.g., 'gros' -> 'gross' or correct variable name) and ensure the final output routine exists; (2) run the script in an isolated environment with small test CSVs to validate outputs and JSON contract; (3) do not supply any credentials or sensitive files; (4) if you rely on results for decisions, independently verify metrics with another trusted tool. If you want, I can (a) point out the exact lines that need fixing if you paste the full script, or (b) provide a small test CSV and expected output to validate behavior.
功能分析
Type: OpenClaw Skill
Name: stock-strategy-backtester-clean
Version: 1.0.1
The skill bundle is a stock strategy backtester. The `SKILL.md` and `agents/openai.yaml` files contain clear, benign instructions for the AI agent, without any prompt injection attempts to subvert its behavior or encourage malicious actions. The `scripts/backtest_strategy.py` script reads a specified CSV file for OHLCV data, performs financial calculations, and prints a JSON summary to stdout. It uses standard libraries, handles file parsing errors, and does not contain any code for arbitrary command execution, network communication, data exfiltration, or persistence mechanisms. File access is strictly for reading and parsing the input CSV, which is essential for its stated purpose, and the script's parsing logic prevents it from disclosing arbitrary file contents.
能力评估
Purpose & Capability
Name, description, SKILL.md, and the included Python script consistently implement a local, long-only backtester for OHLCV CSV files. No network calls, external services, or unrelated credentials are requested.
Instruction Scope
Instructions only tell the agent to run the bundled script against local CSVs, which is appropriate. However the provided script is truncated in the manifest and contains at least one obvious typo (e.g., 'proceeds = gros' / 'gros' undefined) and truncation near the finalization of in-position handling and output. That creates a risk the script will crash or produce incomplete/misleading output; SKILL.md mentions exporting artifacts and JSON output but it's unclear whether those are fully implemented.
Install Mechanism
Instruction-only skill with a bundled Python script; no install steps, no downloads, and no package manager usage. Risk from install mechanism is low.
Credentials
No environment variables, credentials, or config paths are requested. The script only requires a local CSV path and uses standard library modules.
Persistence & Privilege
Skill is not forced-always, does not request persistent system privileges, and does not modify other skills or system configuration in the manifest.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install stock-strategy-backtester-clean - 安装完成后,直接呼叫该 Skill 的名称或使用
/stock-strategy-backtester-clean触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Security hardening aligned with main slug: simplified runtime script and reduced suspicious pattern surface.
v1.0.0
Clean slug release for users affected by suspicious-pattern flags on legacy slug.
元数据
常见问题
Stock Strategy Backtester Clean 是什么?
Backtest stock trading strategies on historical OHLCV data and report win rate, return, CAGR, drawdown, Sharpe ratio, and trade logs. Use when evaluating or... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 691 次。
如何安装 Stock Strategy Backtester Clean?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install stock-strategy-backtester-clean」即可一键安装,无需额外配置。
Stock Strategy Backtester Clean 是免费的吗?
是的,Stock Strategy Backtester Clean 完全免费(开源免费),可自由下载、安装和使用。
Stock Strategy Backtester Clean 支持哪些平台?
Stock Strategy Backtester Clean 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Stock Strategy Backtester Clean?
由 taylen(@taylen)开发并维护,当前版本 v1.0.1。
推荐 Skills