← Back to Skills Marketplace
taylen

Stock Strategy Backtester Clean

by taylen · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
691
Downloads
1
Stars
3
Active Installs
2
Versions
Install in OpenClaw
/install stock-strategy-backtester-clean
Description
Backtest stock trading strategies on historical OHLCV data and report win rate, return, CAGR, drawdown, Sharpe ratio, and trade logs. Use when evaluating or...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install stock-strategy-backtester-clean
  3. After installation, invoke the skill by name or use /stock-strategy-backtester-clean
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug stock-strategy-backtester-clean
Version 1.0.1
License
All-time Installs 3
Active Installs 3
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 691 downloads so far.

How do I install Stock Strategy Backtester Clean?

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

Is Stock Strategy Backtester Clean free?

Yes, Stock Strategy Backtester Clean is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Stock Strategy Backtester Clean support?

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

Who created Stock Strategy Backtester Clean?

It is built and maintained by taylen (@taylen); the current version is v1.0.1.

💬 Comments