Search

PythonReactSEOPDF
OpenClaw

Backtestbot

BacktestBot

collierking0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install collierking/backtestbot

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

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.

Source information

Source
github
Repository
openclaw/skills
Path
skills/collierking/backtestbot
Version
—
Commit
a57a9ccef9b2c8d98f5e3cdaaea22d82626027d2
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# 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 skills

OpenClaw

a-stock-trader

bombfuock

A股模拟交易系统 - 数据爬取、存储、策略回测、模拟交易 / A-Share Paper Trading System - Data Fetch, Storage, Backtest, Simulation

OpenClaw

adaptive-skill-factory

505768069-rgb

Discover, install, update, or create the right skill when a workflow gap appears. Use when a task is repetitive, a role lacks a reliable procedure, an existing skill might save time, ClawHub search/install coul...