Stock Strategy Backtester Clean

v1.0.1

Backtest stock trading strategies on historical OHLCV data and report win rate, return, CAGR, drawdown, Sharpe ratio, and trade logs. Use when evaluating or...

1· 592·3 current·3 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
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.
What to consider before installing
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.

Like a lobster shell, security has layers — review code before you run it.

backtestvk97bt2cr20vrwmsd9hkx819gt982169jcleanvk97bt2cr20vrwmsd9hkx819gt982169jlatestvk97bt2cr20vrwmsd9hkx819gt982169jquantvk97bt2cr20vrwmsd9hkx819gt982169jstocksvk97bt2cr20vrwmsd9hkx819gt982169j

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments