{
  "schemaVersion": "1.0",
  "item": {
    "slug": "openclaw-bot-prob-trade",
    "name": "Openclaw Bot Prob Trade",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/vlprosvirkin/openclaw-bot-prob-trade",
    "canonicalUrl": "https://clawhub.ai/vlprosvirkin/openclaw-bot-prob-trade",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/openclaw-bot-prob-trade",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=openclaw-bot-prob-trade",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.yaml",
      "docs/deployment.md",
      "docs/references.md",
      "docs/strategies.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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/openclaw-bot-prob-trade"
    },
    "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/openclaw-bot-prob-trade",
    "agentPageUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "probtrade-bot — Autonomous Polymarket Trading Bot",
        "body": "Autonomous trading bot that uses the probtrade skill to trade on Polymarket via prob.trade. Includes built-in risk management, pluggable strategies, and dry-run mode.\n\nRequires: The probtrade skill must be installed and configured with API keys."
      },
      {
        "title": "Setup",
        "body": "Install and configure the probtrade skill first (API key required)\nEdit {baseDir}/config.yaml to set your strategy and risk limits\nBy default, dry_run: true — the bot will only log, not trade"
      },
      {
        "title": "Run Bot",
        "body": "Start the autonomous trading loop. Scans markets and places orders every cycle.\n\npython3 {baseDir}/scripts/bot.py run\n\nOverride strategy:\n\npython3 {baseDir}/scripts/bot.py run --strategy pair_arb"
      },
      {
        "title": "Scan Markets",
        "body": "Run a single scan to see what the strategy would do, without placing orders.\n\npython3 {baseDir}/scripts/bot.py scan"
      },
      {
        "title": "Bot Status",
        "body": "Check balance, positions, open orders, and risk state.\n\npython3 {baseDir}/scripts/bot.py status"
      },
      {
        "title": "List Strategies",
        "body": "See all available strategies.\n\npython3 {baseDir}/scripts/bot.py strategies"
      },
      {
        "title": "Built-in Strategies",
        "body": "momentum — Contrarian momentum / mean reversion. Buys markets where YES price dropped significantly in 24h, betting on reversion.\npair_arb — Async pair cost arbitrage. Finds markets where YES + NO price < $0.95, buys the cheaper side for guaranteed profit on resolution."
      },
      {
        "title": "Creating Your Own Strategy",
        "body": "Create a file in {baseDir}/lib/strategies/ (e.g. my_strategy.py)\nImplement a class that extends Strategy:\n\nfrom lib.strategy_base import Strategy, Signal, get_yes_price, get_price_change\n\nclass MyStrategy(Strategy):\n    name = \"my_strategy\"\n\n    def initialize(self, config):\n        self.threshold = config.get(\"my_param\", 0.15)\n\n    def scan(self, markets, positions, balance):\n        signals = []\n        for m in markets:\n            if should_buy(m):\n                signals.append(Signal(\n                    market=m[\"condition_id\"],\n                    side=\"BUY\", outcome=\"Yes\",\n                    order_type=\"LIMIT\", amount=5,\n                    price=get_yes_price(m),\n                    confidence=0.8,\n                    reason=\"My reason\"\n                ))\n        return signals\n\nSet strategy: my_strategy in config.yaml\nTest: python3 {baseDir}/scripts/bot.py scan --strategy my_strategy"
      },
      {
        "title": "Risk Management",
        "body": "The bot enforces risk limits defined in config.yaml:\n\nmax_position_size: Maximum USDC per single order\nmax_daily_spend: Total USDC allowed per day\nmax_open_positions: Maximum concurrent positions\nmax_drawdown_pct: Circuit breaker — halts all trading if portfolio drops by this %\nmax_consecutive_losses: Circuit breaker trigger after N losses in a row"
      },
      {
        "title": "Environment Variables",
        "body": "Override config values via env vars:\n\nDRY_RUN=true — force dry run mode\nSTRATEGY=pair_arb — override strategy\nLOOP_INTERVAL=60 — override scan interval\nPROBTRADE_SKILL_PATH=/path/to/probtrade/lib — custom path to probtrade skill lib"
      },
      {
        "title": "Output",
        "body": "All commands output structured data (JSON or formatted text) for easy parsing by AI agents."
      }
    ],
    "body": "probtrade-bot — Autonomous Polymarket Trading Bot\n\nAutonomous trading bot that uses the probtrade skill to trade on Polymarket via prob.trade. Includes built-in risk management, pluggable strategies, and dry-run mode.\n\nRequires: The probtrade skill must be installed and configured with API keys.\n\nSetup\nInstall and configure the probtrade skill first (API key required)\nEdit {baseDir}/config.yaml to set your strategy and risk limits\nBy default, dry_run: true — the bot will only log, not trade\nCommands\nRun Bot\n\nStart the autonomous trading loop. Scans markets and places orders every cycle.\n\npython3 {baseDir}/scripts/bot.py run\n\n\nOverride strategy:\n\npython3 {baseDir}/scripts/bot.py run --strategy pair_arb\n\nScan Markets\n\nRun a single scan to see what the strategy would do, without placing orders.\n\npython3 {baseDir}/scripts/bot.py scan\n\nBot Status\n\nCheck balance, positions, open orders, and risk state.\n\npython3 {baseDir}/scripts/bot.py status\n\nList Strategies\n\nSee all available strategies.\n\npython3 {baseDir}/scripts/bot.py strategies\n\nBuilt-in Strategies\nmomentum — Contrarian momentum / mean reversion. Buys markets where YES price dropped significantly in 24h, betting on reversion.\npair_arb — Async pair cost arbitrage. Finds markets where YES + NO price < $0.95, buys the cheaper side for guaranteed profit on resolution.\nCreating Your Own Strategy\nCreate a file in {baseDir}/lib/strategies/ (e.g. my_strategy.py)\nImplement a class that extends Strategy:\nfrom lib.strategy_base import Strategy, Signal, get_yes_price, get_price_change\n\nclass MyStrategy(Strategy):\n    name = \"my_strategy\"\n\n    def initialize(self, config):\n        self.threshold = config.get(\"my_param\", 0.15)\n\n    def scan(self, markets, positions, balance):\n        signals = []\n        for m in markets:\n            if should_buy(m):\n                signals.append(Signal(\n                    market=m[\"condition_id\"],\n                    side=\"BUY\", outcome=\"Yes\",\n                    order_type=\"LIMIT\", amount=5,\n                    price=get_yes_price(m),\n                    confidence=0.8,\n                    reason=\"My reason\"\n                ))\n        return signals\n\nSet strategy: my_strategy in config.yaml\nTest: python3 {baseDir}/scripts/bot.py scan --strategy my_strategy\nRisk Management\n\nThe bot enforces risk limits defined in config.yaml:\n\nmax_position_size: Maximum USDC per single order\nmax_daily_spend: Total USDC allowed per day\nmax_open_positions: Maximum concurrent positions\nmax_drawdown_pct: Circuit breaker — halts all trading if portfolio drops by this %\nmax_consecutive_losses: Circuit breaker trigger after N losses in a row\nEnvironment Variables\n\nOverride config values via env vars:\n\nDRY_RUN=true — force dry run mode\nSTRATEGY=pair_arb — override strategy\nLOOP_INTERVAL=60 — override scan interval\nPROBTRADE_SKILL_PATH=/path/to/probtrade/lib — custom path to probtrade skill lib\nOutput\n\nAll commands output structured data (JSON or formatted text) for easy parsing by AI agents."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/vlprosvirkin/openclaw-bot-prob-trade",
    "publisherUrl": "https://clawhub.ai/vlprosvirkin/openclaw-bot-prob-trade",
    "owner": "vlprosvirkin",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade",
    "downloadUrl": "https://openagent3.xyz/downloads/openclaw-bot-prob-trade",
    "agentUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent",
    "manifestUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/openclaw-bot-prob-trade/agent.md"
  }
}