← Back to Skills Marketplace
cry779

OpenClaw Backtester

by cry779 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
79
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-backtester
Description
Professional backtesting framework for trading strategies. Tests SMA crossover, RSI, MACD, Bollinger Bands, and custom strategies on historical data. Generat...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-backtester
  3. After installation, invoke the skill by name or use /openclaw-backtester
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug openclaw-backtester
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is OpenClaw Backtester?

Professional backtesting framework for trading strategies. Tests SMA crossover, RSI, MACD, Bollinger Bands, and custom strategies on historical data. Generat... It is an AI Agent Skill for Claude Code / OpenClaw, with 79 downloads so far.

How do I install OpenClaw Backtester?

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

Is OpenClaw Backtester free?

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

Which platforms does OpenClaw Backtester support?

OpenClaw Backtester is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Backtester?

It is built and maintained by cry779 (@cry779); the current version is v1.0.0.

💬 Comments