TopRank Skills

Home / Claw Skills / Finance / Crypto / Backtestbot
Official OpenClaw rules 54%

Backtestbot

BacktestBot

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Backtestbot 技能。 若已安装,则直接安装 Backtestbot 技能。

Overview

Skill Key
collierking/backtestbot
Author
collierking
Source Repo
openclaw/skills
Version
-
Source Path
skills/collierking/backtestbot
Latest Commit SHA
a57a9ccef9b2c8d98f5e3cdaaea22d82626027d2

Extracted Content

SKILL.md excerpt

# BacktestBot

Backtest trading strategies against historical market data with detailed performance analytics.

## What it does

BacktestBot enables you to define, test, and evaluate trading strategies using historical data, including:

- **Strategy definition** — describe strategies in natural language or structured rules (entry/exit signals, position sizing, stop losses)
- **Historical simulation** — run strategies against years of tick or daily data across equities, options, futures, and crypto
- **Performance metrics** — Sharpe ratio, max drawdown, win rate, profit factor, CAGR, and trade-level breakdown
- **Risk analysis** — value-at-risk, correlation to benchmarks, worst-case drawdown periods, and tail risk metrics
- **Comparison** — test multiple strategy variants side-by-side and rank by risk-adjusted returns

## Usage

Ask your agent to backtest strategies and analyze results:

- "Backtest a mean reversion strategy on SPY using RSI below 30 as entry over the last 5 years"
- "Compare buy-and-hold vs momentum rotation across the S&P 500 sectors since 2020"
- "What is the max drawdown if I use a 2% trailing stop on AAPL swing trades?"
- "Optimize the lookback period for my moving average crossover strategy on QQQ"

## Configuration

Set the following environment variables:

- `BACKTESTBOT_API_KEY` — API key for BacktestBot. Used to authenticate requests for historical OHLCV data, strategy simulations, and performance metrics.
- `BACKTESTBOT_DATA_DIR` — (optional) local directory for cached historical data. Defaults to `~/.backtestbot/data`.

Related Claw Skills