# Send BacktestBot to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "backtestbot",
    "name": "BacktestBot",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/CollierKing/backtestbot",
    "canonicalUrl": "https://clawhub.ai/CollierKing/backtestbot",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/backtestbot",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=backtestbot",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "backtestbot",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-29T01:42:08.905Z",
      "expiresAt": "2026-05-06T01:42:08.905Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=backtestbot",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=backtestbot",
        "contentDisposition": "attachment; filename=\"backtestbot-0.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "backtestbot"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/backtestbot"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/backtestbot",
    "downloadUrl": "https://openagent3.xyz/downloads/backtestbot",
    "agentUrl": "https://openagent3.xyz/skills/backtestbot/agent",
    "manifestUrl": "https://openagent3.xyz/skills/backtestbot/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/backtestbot/agent.md"
  }
}
```
## Documentation

### 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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: CollierKing
- Version: 0.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-29T01:42:08.905Z
- Expires at: 2026-05-06T01:42:08.905Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/backtestbot)
- [Send to Agent page](https://openagent3.xyz/skills/backtestbot/agent)
- [JSON manifest](https://openagent3.xyz/skills/backtestbot/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/backtestbot/agent.md)
- [Download page](https://openagent3.xyz/downloads/backtestbot)