{
  "schemaVersion": "1.0",
  "item": {
    "slug": "crypto-backtest",
    "name": "Crypto Backtest",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Sunnyztj/crypto-backtest",
    "canonicalUrl": "https://clawhub.ai/Sunnyztj/crypto-backtest",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/crypto-backtest",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=crypto-backtest",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/custom_strategy.md",
      "references/strategy_notes.md",
      "scripts/backtest_engine.py",
      "scripts/sweep.py"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/crypto-backtest"
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/crypto-backtest",
    "agentPageUrl": "https://openagent3.xyz/skills/crypto-backtest/agent",
    "manifestUrl": "https://openagent3.xyz/skills/crypto-backtest/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/crypto-backtest/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Crypto Backtest Engine",
        "body": "Fast, scriptable backtesting for crypto futures strategies. Fetches data via ccxt, runs strategies, reports metrics."
      },
      {
        "title": "Quick Start",
        "body": "pip install ccxt numpy\npython scripts/backtest_engine.py --symbol ETH/USDT:USDT --strategy ema --fast 12 --slow 26"
      },
      {
        "title": "Features",
        "body": "Multi-exchange: Any ccxt-supported exchange (Bybit, Binance, OKX, Bitget...)\nBuilt-in strategies: EMA crossover, RSI, MACD, Bollinger Bands\nParameter sweep: Test all combinations automatically\nRisk simulation: Configurable leverage, position size, SL/TP, fees\nJSON export: Machine-readable results for pipeline integration\nCustom strategies: Simple plug-in interface"
      },
      {
        "title": "Single Strategy",
        "body": "python scripts/backtest_engine.py \\\n  --symbol SOL/USDT:USDT \\\n  --strategy rsi \\\n  --period 14 --oversold 30 --overbought 70 \\\n  --capital 1000 --leverage 5"
      },
      {
        "title": "Parameter Sweep",
        "body": "python scripts/sweep.py \\\n  --symbol ETH/USDT:USDT \\\n  --strategies ema,rsi,macd,bbands \\\n  --capital 1000 --leverage 5 \\\n  --output results.json"
      },
      {
        "title": "Custom Strategy",
        "body": "See references/custom_strategy.md for the plug-in interface."
      },
      {
        "title": "Output Metrics",
        "body": "Each backtest reports:\n\nTotal trades, win rate, profit factor\nTotal PnL (absolute + percentage)\nMax drawdown\nBest/worst trade\nFinal balance"
      },
      {
        "title": "Files",
        "body": "scripts/backtest_engine.py — Core engine with EMA, RSI, MACD, Bollinger Bands\nscripts/sweep.py — Multi-strategy parameter sweep runner\nreferences/custom_strategy.md — Guide for adding custom strategies\nreferences/strategy_notes.md — Notes on each built-in strategy's edge cases"
      }
    ],
    "body": "Crypto Backtest Engine\n\nFast, scriptable backtesting for crypto futures strategies. Fetches data via ccxt, runs strategies, reports metrics.\n\nQuick Start\npip install ccxt numpy\npython scripts/backtest_engine.py --symbol ETH/USDT:USDT --strategy ema --fast 12 --slow 26\n\nFeatures\nMulti-exchange: Any ccxt-supported exchange (Bybit, Binance, OKX, Bitget...)\nBuilt-in strategies: EMA crossover, RSI, MACD, Bollinger Bands\nParameter sweep: Test all combinations automatically\nRisk simulation: Configurable leverage, position size, SL/TP, fees\nJSON export: Machine-readable results for pipeline integration\nCustom strategies: Simple plug-in interface\nUsage\nSingle Strategy\npython scripts/backtest_engine.py \\\n  --symbol SOL/USDT:USDT \\\n  --strategy rsi \\\n  --period 14 --oversold 30 --overbought 70 \\\n  --capital 1000 --leverage 5\n\nParameter Sweep\npython scripts/sweep.py \\\n  --symbol ETH/USDT:USDT \\\n  --strategies ema,rsi,macd,bbands \\\n  --capital 1000 --leverage 5 \\\n  --output results.json\n\nCustom Strategy\n\nSee references/custom_strategy.md for the plug-in interface.\n\nOutput Metrics\n\nEach backtest reports:\n\nTotal trades, win rate, profit factor\nTotal PnL (absolute + percentage)\nMax drawdown\nBest/worst trade\nFinal balance\nFiles\nscripts/backtest_engine.py — Core engine with EMA, RSI, MACD, Bollinger Bands\nscripts/sweep.py — Multi-strategy parameter sweep runner\nreferences/custom_strategy.md — Guide for adding custom strategies\nreferences/strategy_notes.md — Notes on each built-in strategy's edge cases"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Sunnyztj/crypto-backtest",
    "publisherUrl": "https://clawhub.ai/Sunnyztj/crypto-backtest",
    "owner": "Sunnyztj",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/crypto-backtest",
    "downloadUrl": "https://openagent3.xyz/downloads/crypto-backtest",
    "agentUrl": "https://openagent3.xyz/skills/crypto-backtest/agent",
    "manifestUrl": "https://openagent3.xyz/skills/crypto-backtest/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/crypto-backtest/agent.md"
  }
}