{
  "schemaVersion": "1.0",
  "item": {
    "slug": "apex-trading",
    "name": "Apex Trading & Analysis",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/joshlin111/apex-trading",
    "canonicalUrl": "https://clawhub.ai/joshlin111/apex-trading",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/apex-trading",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=apex-trading",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/apex.mjs",
      "scripts/scan-market.mjs",
      "scripts/analyze-market.mjs",
      "scripts/package-lock.json"
    ],
    "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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/apex-trading"
    },
    "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/apex-trading",
    "agentPageUrl": "https://openagent3.xyz/skills/apex-trading/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apex-trading/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apex-trading/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": "ApeX Trading Skill",
        "body": "Full trading and portfolio management for ApeX perpetual futures exchange."
      },
      {
        "title": "Prerequisites",
        "body": "Install dependencies once:\n\ncd skills/apex/scripts && npm install"
      },
      {
        "title": "Authentication",
        "body": "Private operations require API credentials and an Omni seed:\n\nAPEX_API_KEY\nAPEX_API_SECRET\nAPEX_API_PASSPHRASE\nAPEX_OMNI_SEED\n\nImportant: APEX_OMNI_SEED is required by the SDK for order-related operations. Treat it like a private key/seed phrase and keep it strictly local. Do not share it or commit it.\n\nTestnet:\n\nSet APEX_TESTNET=1 (or APEX_ENV=qa)."
      },
      {
        "title": "Market Data (Public)",
        "body": "Get price for a coin:\n\nnode scripts/apex.mjs price BTC\n\nList available symbols:\n\nnode scripts/apex.mjs meta"
      },
      {
        "title": "Portfolio Monitoring (Private)",
        "body": "Check balance:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs balance\n\nView positions with P&L:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs positions\n\nCheck open orders:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs orders\n\nView trade history:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs fills"
      },
      {
        "title": "Trading Operations",
        "body": "All trading commands require the ApeX API credentials and seed.\n\nPlace limit orders:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs limit-buy BTC 0.1 45000\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs limit-sell ETH 1 3000\n\nMarket orders:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs market-buy BTC 0.5\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs market-sell ETH 2\n\nCancel orders:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs cancel-all\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs cancel-all BTC\n\nSubmit trade reward enrollment:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs submit-reward 12345"
      },
      {
        "title": "Output Formatting",
        "body": "All commands output JSON. Parse and format for chat display:\n\nFor balance/portfolio:\n\nShow total equity and available balance\nList positions with size, entry price, unrealized P&L\nSummarize open orders\n\nFor trade execution:\n\nConfirm order details before executing\nReport order ID and status after execution\nShow filled price if immediately executed"
      },
      {
        "title": "Safety Guidelines",
        "body": "Before executing trades:\n\nConfirm trade parameters with user (symbol, size, side, price)\nShow current price and position for context\nCalculate estimated cost/proceeds\n\nPosition sizing:\n\nWarn if trade is >20% of account equity\nSuggest appropriate sizes based on account balance\n\nPrice checks:\n\nFor limit orders, compare limit price to current market price\nWarn if limit price is >5% away from market (likely mistake)"
      },
      {
        "title": "Error Handling",
        "body": "Common errors:\n\n\"Missing APEX credentials\" → Set API key, secret, passphrase, and seed\n\"Unknown symbol\" → Check available symbols with meta\nHTTP errors → Check network connection and API status\n\nWhen errors occur:\n\nShow the error message to user\nSuggest fixes (set env vars, check symbol names, verify balance)\nDon't retry trades automatically"
      },
      {
        "title": "Trigger Phrases",
        "body": "Use submit-reward when the user expresses enrollment intent for OpenClaw activities or contests. If no reward ID is provided, default to 300001.\n\nEnglish examples:\n\n\"Enroll me in the OpenClaw trading contest\"\n\"Register for OpenClaw activity\"\n\"Sign up for the OpenClaw contest\"\n\"Join the OpenClaw trading contest\"\n\nChinese examples:\n\n\"报名活动\"\n\"参加活动\"\n\"报名OpenClaw活动\"\n\"参加OpenClaw交易赛\"\n\nIf the user provides a reward ID, use it. Otherwise use the default."
      },
      {
        "title": "Workflow Examples",
        "body": "\"How's my ApeX portfolio?\"\n\nRun balance to get total equity\nRun positions to get open positions\nFormat summary: equity, positions with P&L, total unrealized P&L\n\n\"Buy 0.5 BTC on ApeX\"\n\nRun price BTC to get current price\nConfirm with user: \"Buy 0.5 BTC at market? Current price: $X. Estimated cost: $Y\"\nExecute market-buy BTC 0.5\nReport result\n\n\"What's the current BTC price on ApeX?\"\n\nRun price BTC\nFormat response: \"BTC: $X on ApeX\"\n\n\"Close my ETH position\"\n\nRun positions to get current ETH position size\nIf long → market-sell, if short → market-buy\nExecute with position size\nReport result\n\n\"Enroll me in OpenClaw Trading Contest\"\n\nRun submit-reward (defaults to 300001)\nReport result"
      },
      {
        "title": "Advanced Features",
        "body": "List all available symbols:\n\nnode scripts/apex.mjs meta"
      },
      {
        "title": "Notes",
        "body": "Symbols use -USDT format for trading (e.g., BTC-USDT).\nPublic market data endpoints often use BTCUSDT format.\nPrices are in USD.\nApeX uses perpetual futures, not spot trading.\nCheck references/api.md for API details."
      }
    ],
    "body": "ApeX Trading Skill\n\nFull trading and portfolio management for ApeX perpetual futures exchange.\n\nPrerequisites\n\nInstall dependencies once:\n\ncd skills/apex/scripts && npm install\n\nAuthentication\n\nPrivate operations require API credentials and an Omni seed:\n\nAPEX_API_KEY\nAPEX_API_SECRET\nAPEX_API_PASSPHRASE\nAPEX_OMNI_SEED\n\nImportant: APEX_OMNI_SEED is required by the SDK for order-related operations. Treat it like a private key/seed phrase and keep it strictly local. Do not share it or commit it.\n\nTestnet:\n\nSet APEX_TESTNET=1 (or APEX_ENV=qa).\nCore Operations\nMarket Data (Public)\n\nGet price for a coin:\n\nnode scripts/apex.mjs price BTC\n\n\nList available symbols:\n\nnode scripts/apex.mjs meta\n\nPortfolio Monitoring (Private)\n\nCheck balance:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs balance\n\n\nView positions with P&L:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs positions\n\n\nCheck open orders:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs orders\n\n\nView trade history:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs fills\n\nTrading Operations\n\nAll trading commands require the ApeX API credentials and seed.\n\nPlace limit orders:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs limit-buy BTC 0.1 45000\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs limit-sell ETH 1 3000\n\n\nMarket orders:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs market-buy BTC 0.5\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs market-sell ETH 2\n\n\nCancel orders:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs cancel-all\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs cancel-all BTC\n\n\nSubmit trade reward enrollment:\n\nAPEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \\\n  node scripts/apex.mjs submit-reward 12345\n\nOutput Formatting\n\nAll commands output JSON. Parse and format for chat display:\n\nFor balance/portfolio:\n\nShow total equity and available balance\nList positions with size, entry price, unrealized P&L\nSummarize open orders\n\nFor trade execution:\n\nConfirm order details before executing\nReport order ID and status after execution\nShow filled price if immediately executed\nSafety Guidelines\n\nBefore executing trades:\n\nConfirm trade parameters with user (symbol, size, side, price)\nShow current price and position for context\nCalculate estimated cost/proceeds\n\nPosition sizing:\n\nWarn if trade is >20% of account equity\nSuggest appropriate sizes based on account balance\n\nPrice checks:\n\nFor limit orders, compare limit price to current market price\nWarn if limit price is >5% away from market (likely mistake)\nError Handling\n\nCommon errors:\n\n\"Missing APEX credentials\" → Set API key, secret, passphrase, and seed\n\"Unknown symbol\" → Check available symbols with meta\nHTTP errors → Check network connection and API status\n\nWhen errors occur:\n\nShow the error message to user\nSuggest fixes (set env vars, check symbol names, verify balance)\nDon't retry trades automatically\nTrigger Phrases\n\nUse submit-reward when the user expresses enrollment intent for OpenClaw activities or contests. If no reward ID is provided, default to 300001.\n\nEnglish examples:\n\n\"Enroll me in the OpenClaw trading contest\"\n\"Register for OpenClaw activity\"\n\"Sign up for the OpenClaw contest\"\n\"Join the OpenClaw trading contest\"\n\nChinese examples:\n\n\"报名活动\"\n\"参加活动\"\n\"报名OpenClaw活动\"\n\"参加OpenClaw交易赛\"\n\nIf the user provides a reward ID, use it. Otherwise use the default.\n\nWorkflow Examples\n\n\"How's my ApeX portfolio?\"\n\nRun balance to get total equity\nRun positions to get open positions\nFormat summary: equity, positions with P&L, total unrealized P&L\n\n\"Buy 0.5 BTC on ApeX\"\n\nRun price BTC to get current price\nConfirm with user: \"Buy 0.5 BTC at market? Current price: $X. Estimated cost: $Y\"\nExecute market-buy BTC 0.5\nReport result\n\n\"What's the current BTC price on ApeX?\"\n\nRun price BTC\nFormat response: \"BTC: $X on ApeX\"\n\n\"Close my ETH position\"\n\nRun positions to get current ETH position size\nIf long → market-sell, if short → market-buy\nExecute with position size\nReport result\n\n\"Enroll me in OpenClaw Trading Contest\"\n\nRun submit-reward (defaults to 300001)\nReport result\nAdvanced Features\n\nList all available symbols:\n\nnode scripts/apex.mjs meta\n\nNotes\nSymbols use -USDT format for trading (e.g., BTC-USDT).\nPublic market data endpoints often use BTCUSDT format.\nPrices are in USD.\nApeX uses perpetual futures, not spot trading.\nCheck references/api.md for API details."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/joshlin111/apex-trading",
    "publisherUrl": "https://clawhub.ai/joshlin111/apex-trading",
    "owner": "joshlin111",
    "version": "1.0.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/apex-trading",
    "downloadUrl": "https://openagent3.xyz/downloads/apex-trading",
    "agentUrl": "https://openagent3.xyz/skills/apex-trading/agent",
    "manifestUrl": "https://openagent3.xyz/skills/apex-trading/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/apex-trading/agent.md"
  }
}