A professional quantitative backtesting framework for validating and optimizing trading strategies across stocks, crypto, and forex.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install openclaw-backtester
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install openclaw-backtester using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Beta Backtester is a specialized tool within the Openclaw Skills ecosystem designed for quantitative analysts and traders. It provides a robust environment to test technical strategies like SMA crossover, RSI, MACD, and Bollinger Bands against historical OHLCV data. By simulating real-world trading conditions—including commissions and slippage—it allows users to stress-test their logic before deploying capital.
The framework excels at iterative optimization, enabling developers to perform grid searches and parameter sweeps to find the best risk-adjusted returns. Whether you are using local SQLite databases for A-shares or Yahoo Finance for international markets, Beta Backtester ensures high-fidelity simulations with detailed performance reporting.
Ensure you have Python 3.8+ installed. The framework will automatically handle dependencies like pandas and matplotlib upon first run.
# Standard backtest command
python3 backtest.py --strategy sma_crossover --ticker 600036 --start 2025-01-01 --end 2025-03-31
# Optimization command with custom thresholds
python3 backtest.py --strategy rsi --ticker 000001 --upper 65 --lower 35
The skill organizes data primarily through a structured SQLite schema or CSV inputs.
| Component | Format | Description |
|---|---|---|
| Input Data | OHLCV | Open, High, Low, Close, Volume bars |
| Metrics | JSON/Text | Sharpe, Sortino, Max Drawdown, Win % |
| Database | .db | Local SQLite file (e.g., a_stock_complete.db) |
| Logs | .txt | Detailed trade-by-trade entry and exit logs |
Loading
A safety-first preflight guard that analyzes shell and infrastructure commands for risks, secret leakage, and destructive side effects before execution.

A sophisticated Model Context Protocol integration that enables AI agents to perform full-lifecycle document and table operations within Feishu.

A powerful corporate monitoring tool that provides real-time news, sentiment analysis, and risk warnings for listed companies using the FEEDAX API.

An automated testing suite designed to validate trigger accuracy, functional correctness, and performance benchmarks for AI agent skills.

A zero-dependency CLI tool for instantaneous music searching and streaming link retrieval.

A unified API skill for generating asynchronous AI videos from text or images using top-tier models like Bytedance Seedance and Google Veo.








































