← 返回 Skills 市场
cry779

OpenClaw Backtester

作者 cry779 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
79
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-backtester
功能描述
Professional backtesting framework for trading strategies. Tests SMA crossover, RSI, MACD, Bollinger Bands, and custom strategies on historical data. Generat...
安全使用建议
This package is a small Python backtester that reads a local SQLite database at ~/.openclaw/workspace/trading/a_stock_complete.db and prints results. Before installing/using it: (1) Verify you have Python and required packages (pandas, numpy) in the environment — the skill has no install step. (2) Confirm the referenced DB path and contents; running the script will access that file path and will print errors if missing. (3) Don’t assume remote data sources or auto-install behavior described in SKILL.md — the included code does not call Yahoo Finance, Tiger API, or perform downloads. (4) If you need the advertised features (API or CSV ingestion), request the author/source code for those implementations or run the script in a sandbox until you confirm behavior. If you will run this on sensitive systems, inspect or run the backtest.py in an isolated environment first and ensure no unexpected network or file access occurs.
功能分析
Type: OpenClaw Skill Name: openclaw-backtester Version: 1.0.0 The skill bundle provides a legitimate trading strategy backtesting framework. The Python script `backtest.py` implements standard financial indicators (SMA, RSI, MACD) and performs backtesting against a local SQLite database (`a_stock_complete.db`) without any network activity, suspicious file access, or dangerous execution patterns. The documentation in `SKILL.md` is consistent with the code's functionality and contains no prompt injection or malicious instructions.
能力评估
Purpose & Capability
Name/description match a Python backtester and required binary (python3) is appropriate. However, SKILL.md advertises multiple data sources (Yahoo Finance, Tiger API, CSV upload) and auto-install of pandas/numpy/matplotlib, while the included backtest.py only reads a local SQLite DB and uses pandas/numpy (no network or plotting). The advertised capabilities exceed the actual code.
Instruction Scope
SKILL.md instructs the user that the tool can use remote APIs and CSV upload and implies plotting output, but the runtime file only loads data from a specific local DB path (~/.openclaw/workspace/trading/a_stock_complete.db) and prints results. The prose gives the agent broad expectations (external APIs, fallback sources) that are not implemented in backtest.py, which is an inconsistency an operator should be aware of.
Install Mechanism
There is no install spec (instruction-only), which is low risk. SKILL.md claims pandas/numpy/matplotlib will be auto-installed but no install step is provided; the skill relies on runtime environment having these Python packages. This is a usability/consistency issue rather than an active install risk.
Credentials
The code accesses a single, clearly documented file path in the user's home directory for a local SQLite DB. No environment variables or network credentials are requested. File access is consistent with the stated local-database use, though users should confirm the DB path before running.
Persistence & Privilege
The skill does not request persistent privileges; always:false and no special system-wide modifications are present. The script only reads a local DB and prints output.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-backtester
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-backtester 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of openclaw-backtester – a professional backtesting framework for trading strategies. - Supports SMA crossover, RSI, MACD, Bollinger Bands, and custom strategies on historical data. - Generates equity curves, drawdown analysis, and key performance metrics (Sharpe, Sortino, Max Drawdown, Win Rate). - Offers parameter optimization, A/B strategy comparison, and robust error handling with fallback data sources. - Context-aware data loading for different markets and timeframes; handles common edge cases and input validation. - Designed for reliable validation, comparison, and optimization of quantitative trading strategies before live deployment.
元数据
Slug openclaw-backtester
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OpenClaw Backtester 是什么?

Professional backtesting framework for trading strategies. Tests SMA crossover, RSI, MACD, Bollinger Bands, and custom strategies on historical data. Generat... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 79 次。

如何安装 OpenClaw Backtester?

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

OpenClaw Backtester 是免费的吗?

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

OpenClaw Backtester 支持哪些平台?

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

谁开发了 OpenClaw Backtester?

由 cry779(@cry779)开发并维护,当前版本 v1.0.0。

💬 留言讨论