{
  "schemaVersion": "1.0",
  "item": {
    "slug": "bybit-futures",
    "name": "Bybit Futures",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Sunnyztj/bybit-futures",
    "canonicalUrl": "https://clawhub.ai/Sunnyztj/bybit-futures",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/bybit-futures",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=bybit-futures",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/bybit_api_notes.md",
      "references/custom_strategy.md",
      "scripts/backtest.py",
      "scripts/config_template.py",
      "scripts/live_trading.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/bybit-futures"
    },
    "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/bybit-futures",
    "agentPageUrl": "https://openagent3.xyz/skills/bybit-futures/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bybit-futures/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bybit-futures/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": "Bybit Futures Trading System",
        "body": "Complete trading infrastructure for Bybit USDT perpetual futures contracts."
      },
      {
        "title": "Quick Start",
        "body": "Install dependencies: pip install ccxt websockets numpy requests\nCopy scripts/config_template.py → config.py, fill in API keys\nRun paper trading: python scripts/paper_trading_ws.py\nWhen validated, switch to live: python scripts/live_trading.py"
      },
      {
        "title": "Architecture",
        "body": "config.py          ← API keys + risk parameters\nrisk_manager.py    ← Position sizing, daily loss limits, max positions\npaper_trading_ws.py ← WebSocket real-time paper trading\nlive_trading.py    ← Live execution (same logic, real orders)\nbacktest.py        ← Historical backtesting engine"
      },
      {
        "title": "Risk Management",
        "body": "All trades enforced by risk_manager.py:\n\nMax position: configurable % of capital per trade (default 20%)\nMax leverage: configurable (default 5x)\nStop loss: automatic per-trade (default 3%)\nTake profit: automatic per-trade (default 6%, 2:1 R/R)\nDaily loss limit: halt trading after X% daily drawdown (default 10%)\nMax concurrent positions: configurable (default 3)"
      },
      {
        "title": "EMA Crossover (ETH)",
        "body": "EMA(12) crosses above EMA(26) → long\nEMA(12) crosses below EMA(26) → short\nBest on: ETH/USDT 1h timeframe"
      },
      {
        "title": "RSI Mean Reversion (SOL, HYPE, PEPE)",
        "body": "RSI(14) crosses up from below 30 → long\nRSI(14) crosses down from above 70 → short\nBest on: SOL, HYPE (73% WR), 1000PEPE (53% WR) 1h timeframe\nBacktested: HYPE +$339, PEPE +$210 on 90-day 1h data"
      },
      {
        "title": "Custom Strategy Template",
        "body": "See references/custom_strategy.md for adding your own signals."
      },
      {
        "title": "WebSocket Real-Time Engine",
        "body": "The paper/live trading engine uses Bybit's WebSocket v5 API:\n\nTicker subscription: millisecond-level price updates for SL/TP\nKline subscription: signal calculation on candle close only\nAuto-reconnect: 5s retry on disconnect\nState persistence: saves every 5 minutes to JSON"
      },
      {
        "title": "Deployment",
        "body": "Recommended: systemd service on a VPS.\n\n# Create service file\nsudo tee /etc/systemd/system/paper-trading.service << 'EOF'\n[Unit]\nDescription=Paper Trading Bot (WebSocket)\nAfter=network.target\n\n[Service]\nType=simple\nWorkingDirectory=/root/trading\nExecStart=/usr/bin/python3 paper_trading_ws.py\nRestart=always\nRestartSec=10\n\n[Install]\nWantedBy=multi-user.target\nEOF\n\nsudo systemctl enable --now paper-trading"
      },
      {
        "title": "Telegram Notifications",
        "body": "Built-in Telegram push for all events:\n\nPosition opened/closed\nStop loss / take profit hit\n6-hourly summary reports\nError alerts\n\nSet TG_BOT_TOKEN and TG_CHAT_ID in config."
      },
      {
        "title": "Files",
        "body": "scripts/config_template.py — Configuration template\nscripts/risk_manager.py — Risk management engine\nscripts/paper_trading_ws.py — WebSocket paper trading bot\nscripts/live_trading.py — Live trading bot\nscripts/backtest.py — Backtesting engine\nreferences/custom_strategy.md — Guide for adding custom strategies\nreferences/bybit_api_notes.md — Bybit API gotchas and tips"
      }
    ],
    "body": "Bybit Futures Trading System\n\nComplete trading infrastructure for Bybit USDT perpetual futures contracts.\n\nQuick Start\nInstall dependencies: pip install ccxt websockets numpy requests\nCopy scripts/config_template.py → config.py, fill in API keys\nRun paper trading: python scripts/paper_trading_ws.py\nWhen validated, switch to live: python scripts/live_trading.py\nArchitecture\nconfig.py          ← API keys + risk parameters\nrisk_manager.py    ← Position sizing, daily loss limits, max positions\npaper_trading_ws.py ← WebSocket real-time paper trading\nlive_trading.py    ← Live execution (same logic, real orders)\nbacktest.py        ← Historical backtesting engine\n\nRisk Management\n\nAll trades enforced by risk_manager.py:\n\nMax position: configurable % of capital per trade (default 20%)\nMax leverage: configurable (default 5x)\nStop loss: automatic per-trade (default 3%)\nTake profit: automatic per-trade (default 6%, 2:1 R/R)\nDaily loss limit: halt trading after X% daily drawdown (default 10%)\nMax concurrent positions: configurable (default 3)\nIncluded Strategies\nEMA Crossover (ETH)\nEMA(12) crosses above EMA(26) → long\nEMA(12) crosses below EMA(26) → short\nBest on: ETH/USDT 1h timeframe\nRSI Mean Reversion (SOL, HYPE, PEPE)\nRSI(14) crosses up from below 30 → long\nRSI(14) crosses down from above 70 → short\nBest on: SOL, HYPE (73% WR), 1000PEPE (53% WR) 1h timeframe\nBacktested: HYPE +$339, PEPE +$210 on 90-day 1h data\nCustom Strategy Template\n\nSee references/custom_strategy.md for adding your own signals.\n\nWebSocket Real-Time Engine\n\nThe paper/live trading engine uses Bybit's WebSocket v5 API:\n\nTicker subscription: millisecond-level price updates for SL/TP\nKline subscription: signal calculation on candle close only\nAuto-reconnect: 5s retry on disconnect\nState persistence: saves every 5 minutes to JSON\nDeployment\n\nRecommended: systemd service on a VPS.\n\n# Create service file\nsudo tee /etc/systemd/system/paper-trading.service << 'EOF'\n[Unit]\nDescription=Paper Trading Bot (WebSocket)\nAfter=network.target\n\n[Service]\nType=simple\nWorkingDirectory=/root/trading\nExecStart=/usr/bin/python3 paper_trading_ws.py\nRestart=always\nRestartSec=10\n\n[Install]\nWantedBy=multi-user.target\nEOF\n\nsudo systemctl enable --now paper-trading\n\nTelegram Notifications\n\nBuilt-in Telegram push for all events:\n\nPosition opened/closed\nStop loss / take profit hit\n6-hourly summary reports\nError alerts\n\nSet TG_BOT_TOKEN and TG_CHAT_ID in config.\n\nFiles\nscripts/config_template.py — Configuration template\nscripts/risk_manager.py — Risk management engine\nscripts/paper_trading_ws.py — WebSocket paper trading bot\nscripts/live_trading.py — Live trading bot\nscripts/backtest.py — Backtesting engine\nreferences/custom_strategy.md — Guide for adding custom strategies\nreferences/bybit_api_notes.md — Bybit API gotchas and tips"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Sunnyztj/bybit-futures",
    "publisherUrl": "https://clawhub.ai/Sunnyztj/bybit-futures",
    "owner": "Sunnyztj",
    "version": "1.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/bybit-futures",
    "downloadUrl": "https://openagent3.xyz/downloads/bybit-futures",
    "agentUrl": "https://openagent3.xyz/skills/bybit-futures/agent",
    "manifestUrl": "https://openagent3.xyz/skills/bybit-futures/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/bybit-futures/agent.md"
  }
}