{
  "schemaVersion": "1.0",
  "item": {
    "slug": "trading-tournament",
    "name": "Trading Tournament",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/peti0402/trading-tournament",
    "canonicalUrl": "https://clawhub.ai/peti0402/trading-tournament",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/trading-tournament",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=trading-tournament",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "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/trading-tournament"
    },
    "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/trading-tournament",
    "agentPageUrl": "https://openagent3.xyz/skills/trading-tournament/agent",
    "manifestUrl": "https://openagent3.xyz/skills/trading-tournament/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/trading-tournament/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": "Trading Tournament 🏆",
        "body": "Run autonomous multi-agent trading competitions where AI strategies compete against each other with real market data."
      },
      {
        "title": "What It Does",
        "body": "5 agents compete simultaneously on OKX Demo (or Live)\nEvery 5 minutes: each agent analyzes candles, indicators, and decides to enter/exit\nDaily evolution at 07:00: top 2 survive, bottom 2 get replaced by better strategies\nExchange-level stop-losses: positions are protected even if the bot crashes\n3-layer position sizing protection: unknown assets skipped, 50% equity cap, $500 hard max"
      },
      {
        "title": "Architecture",
        "body": "┌─────────────┐\n│ Competition  │ ← runs every 5 minutes\n│  Manager     │\n└──────┬──────┘\n       │\n  ┌────┼────┬────┬────┐\n  │    │    │    │    │\n  v    v    v    v    v\nAgent1 Agent2 Agent3 Agent4 Agent5\n(S&D)  (RSI)  (S&D)  (RSI)  (RSI)\n       │\n       v\n  ┌─────────┐\n  │ OKX API │ ← real-time prices, order execution\n  └─────────┘"
      },
      {
        "title": "Strategies Included",
        "body": "Supply & Demand — Identifies accumulation/distribution zones, enters on retests\nRSI Mean Reversion — Overbought/oversold with EMA trend filter\nRSI Fast Confirm — 1-bar bounce confirmation with tight EMA alignment\nRSI Trend Filter — Long-period EMA filter with standard RSI levels"
      },
      {
        "title": "Safety Features",
        "body": "LayerProtectionWhat Happens1CT_VALS lookupUnknown asset → SKIP (never enter blind)250% equity capMax position = half of agent's capital3$500 hard capAbsolute maximum notional per trade4Exchange SLStop-loss on OKX itself (survives bot crash)5GuardianWindows Task checks every minute, restarts if dead"
      },
      {
        "title": "Prerequisites",
        "body": "OKX account (Demo or Live)\nAPI Key + Secret + Passphrase\nNode.js 18+"
      },
      {
        "title": "Quick Start",
        "body": "Copy bybit-trading/ folder to your workspace\nCreate .secrets/okx.env:\n\nOKX_API_KEY=your_key\nOKX_API_SECRET=your_secret\nOKX_PASSPHRASE=your_passphrase\n\nEdit agents_config.json with your preferred strategies and assets\nRun: node competition_manager_okx.js"
      },
      {
        "title": "Cron Setup (recommended)",
        "body": "Add a Guardian cron or Windows Task that checks competition_log_okx.txt freshness every minute. If log hasn't updated in 6 minutes → kill and restart."
      },
      {
        "title": "Evolution Rules",
        "body": "Daily at 07:00:\n\n🥇 Rank 1 → Survives (strategy + assets)\n🥈 Rank 2 → Survives (strategy + assets)\n🥉 Rank 3 → Strategy stays, assets rotate to better performers\n4️⃣ Rank 4 → Fully replaced from best_strategies pool\n5️⃣ Rank 5 → Fully replaced from best_strategies pool\n\nCriteria for new agents: PF > 1.5, DD < 25%, min 5 backtested trades."
      },
      {
        "title": "Live Trading Checklist",
        "body": "Before going live with real money:\n\n7 days continuous run without crashes\n P&L > 15% on demo\n 30+ trades for top 3 agents\n Max drawdown < 10%\n 0 sizing bugs\n Exchange-level SL verified on all new positions"
      },
      {
        "title": "Built With",
        "body": "Node.js + OKX REST API\nTechnical indicators (EMA, RSI, ATR, Supply/Demand zones)\nEvolutionary selection algorithm\nReal-time Telegram alerts"
      }
    ],
    "body": "Trading Tournament 🏆\n\nRun autonomous multi-agent trading competitions where AI strategies compete against each other with real market data.\n\nWhat It Does\n5 agents compete simultaneously on OKX Demo (or Live)\nEvery 5 minutes: each agent analyzes candles, indicators, and decides to enter/exit\nDaily evolution at 07:00: top 2 survive, bottom 2 get replaced by better strategies\nExchange-level stop-losses: positions are protected even if the bot crashes\n3-layer position sizing protection: unknown assets skipped, 50% equity cap, $500 hard max\nArchitecture\n┌─────────────┐\n│ Competition  │ ← runs every 5 minutes\n│  Manager     │\n└──────┬──────┘\n       │\n  ┌────┼────┬────┬────┐\n  │    │    │    │    │\n  v    v    v    v    v\nAgent1 Agent2 Agent3 Agent4 Agent5\n(S&D)  (RSI)  (S&D)  (RSI)  (RSI)\n       │\n       v\n  ┌─────────┐\n  │ OKX API │ ← real-time prices, order execution\n  └─────────┘\n\nStrategies Included\nSupply & Demand — Identifies accumulation/distribution zones, enters on retests\nRSI Mean Reversion — Overbought/oversold with EMA trend filter\nRSI Fast Confirm — 1-bar bounce confirmation with tight EMA alignment\nRSI Trend Filter — Long-period EMA filter with standard RSI levels\nSafety Features\nLayer\tProtection\tWhat Happens\n1\tCT_VALS lookup\tUnknown asset → SKIP (never enter blind)\n2\t50% equity cap\tMax position = half of agent's capital\n3\t$500 hard cap\tAbsolute maximum notional per trade\n4\tExchange SL\tStop-loss on OKX itself (survives bot crash)\n5\tGuardian\tWindows Task checks every minute, restarts if dead\nSetup\nPrerequisites\nOKX account (Demo or Live)\nAPI Key + Secret + Passphrase\nNode.js 18+\nQuick Start\nCopy bybit-trading/ folder to your workspace\nCreate .secrets/okx.env:\nOKX_API_KEY=your_key\nOKX_API_SECRET=your_secret\nOKX_PASSPHRASE=your_passphrase\n\nEdit agents_config.json with your preferred strategies and assets\nRun: node competition_manager_okx.js\nCron Setup (recommended)\n\nAdd a Guardian cron or Windows Task that checks competition_log_okx.txt freshness every minute. If log hasn't updated in 6 minutes → kill and restart.\n\nEvolution Rules\n\nDaily at 07:00:\n\n🥇 Rank 1 → Survives (strategy + assets)\n🥈 Rank 2 → Survives (strategy + assets)\n🥉 Rank 3 → Strategy stays, assets rotate to better performers\n4️⃣ Rank 4 → Fully replaced from best_strategies pool\n5️⃣ Rank 5 → Fully replaced from best_strategies pool\n\nCriteria for new agents: PF > 1.5, DD < 25%, min 5 backtested trades.\n\nLive Trading Checklist\n\nBefore going live with real money:\n\n 7 days continuous run without crashes\n P&L > 15% on demo\n 30+ trades for top 3 agents\n Max drawdown < 10%\n 0 sizing bugs\n Exchange-level SL verified on all new positions\nBuilt With\nNode.js + OKX REST API\nTechnical indicators (EMA, RSI, ATR, Supply/Demand zones)\nEvolutionary selection algorithm\nReal-time Telegram alerts"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/peti0402/trading-tournament",
    "publisherUrl": "https://clawhub.ai/peti0402/trading-tournament",
    "owner": "peti0402",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/trading-tournament",
    "downloadUrl": "https://openagent3.xyz/downloads/trading-tournament",
    "agentUrl": "https://openagent3.xyz/skills/trading-tournament/agent",
    "manifestUrl": "https://openagent3.xyz/skills/trading-tournament/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/trading-tournament/agent.md"
  }
}