{"id":"b7f13e2c-5d8b-40aa-abc7-59618a902b28","entityType":"agent","slug":"clawhub-ya7ya-openbroker","name":"Open-broker","canonicalUrl":"https://www.xpersona.co/agent/clawhub-ya7ya-openbroker","canonicalPath":"/agent/clawhub-ya7ya-openbroker","generatedAt":"2026-10-09T12:26:31.958Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"description":"Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading st... Skill: Open-broker Owner: ya7ya Summary: Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading st... Tags: latest:1.0.44 Version history: v1.0.44 | 2026-02-25T15:36:37.050Z | user - Added new tools: ob_fills, ob_orders, ob_order_status, ob_fees, ob_candles, ob_funding_history, ob_trades, ob_rate_limit. - Expanded docu","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.7K downloads reported by the source. Last updated 4/15/2026.","installCommand":"clawhub skill install kn7bzfmk84sw8ex37gb5knj4v980g23y:openbroker","sourceUrl":"https://clawhub.ai/ya7ya/openbroker","homepage":"https://clawhub.ai/ya7ya/openbroker","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/ya7ya/openbroker","kind":"source"}],"safetyScore":84,"overallRank":62,"popularityScore":65,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading st..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"stars":null,"forks":null,"downloads":1737,"packageName":null,"latestVersion":"1.0.44","tractionLabel":"1.7K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-02-28T20:25:01.556Z","emptyReason":null},"lastUpdatedAt":"2026-04-15T00:45:39.800Z","lastCrawledAt":"2026-02-28T20:25:01.556Z","lastIndexedAt":null,"nextCrawlAt":"2026-03-01T20:25:01.556Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.44","createdAt":"2026-02-25T15:36:37.050Z","changelog":"- Added new tools: ob_fills, ob_orders, ob_order_status, ob_fees, ob_candles, ob_funding_history, ob_trades, ob_rate_limit. - Expanded documentation to include commands for fills, orders, order status, fee schedule, OHLCV candles, funding history, recent trades, and rate limit. - Updated plugin version metadata from 1.0.42 to 1.0.44.","fileCount":2,"zipByteSize":5822},{"version":"1.0.42","createdAt":"2026-02-25T14:30:34.070Z","changelog":"**Background position monitoring and alerts now included.** - Added background monitoring of open positions with automatic alerts for PnL changes and liquidation risk. - Updated description to highlight new monitoring and alert features. - Expanded allowed tools to support watcher status and monitoring commands. - Version bump to 1.0.42.","fileCount":2,"zipByteSize":4603},{"version":"1.0.41","createdAt":"2026-02-24T13:27:42.446Z","changelog":"- Documentation revised with a new API wallet setup section, recommending it for agent use and detailing the approval flow. - Updated metadata version to 1.0.41. - CLI and trading features unchanged; only packaging and documentation affected.","fileCount":null,"zipByteSize":null},{"version":"1.0.39","createdAt":"2026-02-14T10:40:43.517Z","changelog":"- Added a `homepage` field in metadata, linking to the npm package. - Enhanced metadata with Openclaw integration: bin requirements, environment variable requirements, install instructions, and `primaryEnv` setting. - Updated version number to 1.0.39 in metadata section.","fileCount":null,"zipByteSize":null},{"version":"1.0.37","createdAt":"2026-02-08T14:37:44.905Z","changelog":"Version 1.0.37 - Introduced CLI entrypoints by adding `bin/cli.ts` (TypeScript) and `bin/openbroker.js` (JavaScript). - Transitioned from the previous script-based interface to a unified CLI (`openbroker`), simplifying command usage and onboarding. - Updated documentation to reflect new CLI commands (`openbroker ...`) with streamlined quickstart and command references. - Improved user experience for wallet and config setup with the all-in-one `openbroker setup` command.","fileCount":null,"zipByteSize":null},{"version":"1.0.3","createdAt":"2026-02-05T10:57:42.846Z","changelog":"- Added scripts for advanced market info and order management: `all-markets.ts`, `search-markets.ts`, `spot.ts`, `set-tpsl.ts`, and `trigger-order.ts`. - New features: full discovery of all market types (perps, HIP-3, spot), asset search, spot market/balance queries, and setting TP/SL or trigger orders on positions. - Expanded documentation and CLI usage examples for all new commands. - Bumped skill version metadata to 1.0.3.","fileCount":null,"zipByteSize":null},{"version":"1.0.1","createdAt":"2026-02-04T09:59:32.141Z","changelog":"Automated onboarding and improved setup experience: - Added an onboarding script for easy wallet creation, config setup, and builder fee approval (`scripts/setup/onboard.ts`). - Updated documentation to emphasize a two-step automated quick start. - Manual setup instructions clarified for advanced users. - Bash(npm:*) added to allowed tools for better compatibility. - No changes to trading commands or strategy scripts.","fileCount":null,"zipByteSize":null},{"version":"1.0.0","createdAt":"2026-02-04T06:36:18.820Z","changelog":"Initial release: Hyperliquid trading toolkit for market/limit orders, analysis, and strategies. - Execute market and limit orders, check positions, view funding rates, and analyze market data on Hyperliquid DEX. - Includes advanced features: TWAP, grid/scale orders, bracket/chase orders, and a variety of trading strategies (funding arbitrage, grid, DCA, market making). - 1 bps builder fee on trades—one-time wallet approval required. - Node.js 22+ with direct API access required; supports both main and API wallets. - All scripts support dry run mode for safe testing.","fileCount":null,"zipByteSize":null}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install kn7bzfmk84sw8ex37gb5knj4v980g23y:openbroker","setupComplexity":"low","setupSteps":["Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-09T12:26:31.958Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-ya7ya-openbroker/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":null},"readme":"Skill: Open-broker\n\nOwner: ya7ya\n\nSummary: Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading st...\n\nTags: latest:1.0.44\n\nVersion history:\n\nv1.0.44 | 2026-02-25T15:36:37.050Z | user\n\n- Added new tools: ob_fills, ob_orders, ob_order_status, ob_fees, ob_candles, ob_funding_history, ob_trades, ob_rate_limit.\n- Expanded documentation to include commands for fills, orders, order status, fee schedule, OHLCV candles, funding history, recent trades, and rate limit.\n- Updated plugin version metadata from 1.0.42 to 1.0.44.\n\nv1.0.42 | 2026-02-25T14:30:34.070Z | user\n\n**Background position monitoring and alerts now included.**\n\n- Added background monitoring of open positions with automatic alerts for PnL changes and liquidation risk.\n- Updated description to highlight new monitoring and alert features.\n- Expanded allowed tools to support watcher status and monitoring commands.\n- Version bump to 1.0.42.\n\nv1.0.41 | 2026-02-24T13:27:42.446Z | user\n\n- Documentation revised with a new API wallet setup section, recommending it for agent use and detailing the approval flow.\n- Updated metadata version to 1.0.41.\n- CLI and trading features unchanged; only packaging and documentation affected.\n\nv1.0.39 | 2026-02-14T10:40:43.517Z | user\n\n- Added a `homepage` field in metadata, linking to the npm package.\n- Enhanced metadata with Openclaw integration: bin requirements, environment variable requirements, install instructions, and `primaryEnv` setting.\n- Updated version number to 1.0.39 in metadata section.\n\nv1.0.37 | 2026-02-08T14:37:44.905Z | user\n\nVersion 1.0.37\n\n- Introduced CLI entrypoints by adding `bin/cli.ts` (TypeScript) and `bin/openbroker.js` (JavaScript).\n- Transitioned from the previous script-based interface to a unified CLI (`openbroker`), simplifying command usage and onboarding.\n- Updated documentation to reflect new CLI commands (`openbroker ...`) with streamlined quickstart and command references.\n- Improved user experience for wallet and config setup with the all-in-one `openbroker setup` command.\n\nv1.0.3 | 2026-02-05T10:57:42.846Z | user\n\n- Added scripts for advanced market info and order management: `all-markets.ts`, `search-markets.ts`, `spot.ts`, `set-tpsl.ts`, and `trigger-order.ts`.\n- New features: full discovery of all market types (perps, HIP-3, spot), asset search, spot market/balance queries, and setting TP/SL or trigger orders on positions.\n- Expanded documentation and CLI usage examples for all new commands.\n- Bumped skill version metadata to 1.0.3.\n\nv1.0.1 | 2026-02-04T09:59:32.141Z | user\n\nAutomated onboarding and improved setup experience:\n\n- Added an onboarding script for easy wallet creation, config setup, and builder fee approval (`scripts/setup/onboard.ts`).\n- Updated documentation to emphasize a two-step automated quick start.\n- Manual setup instructions clarified for advanced users.\n- Bash(npm:*) added to allowed tools for better compatibility.\n- No changes to trading commands or strategy scripts.\n\nv1.0.0 | 2026-02-04T06:36:18.820Z | user\n\nInitial release: Hyperliquid trading toolkit for market/limit orders, analysis, and strategies.\n\n- Execute market and limit orders, check positions, view funding rates, and analyze market data on Hyperliquid DEX.\n- Includes advanced features: TWAP, grid/scale orders, bracket/chase orders, and a variety of trading strategies (funding arbitrage, grid, DCA, market making).\n- 1 bps builder fee on trades—one-time wallet approval required.\n- Node.js 22+ with direct API access required; supports both main and API wallets.\n- All scripts support dry run mode for safe testing.\n\nArchive index:\n\nArchive v1.0.44: 2 files, 5822 bytes\n\nFiles: SKILL.md (14713b), _meta.json (130b)\n\nFile v1.0.44:SKILL.md\n\n---\nname: openbroker\ndescription: Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading strategies with automatic alerts for PnL changes and liquidation risk.\nlicense: MIT\ncompatibility: Requires Node.js 22+, network access to api.hyperliquid.xyz\nhomepage: https://www.npmjs.com/package/openbroker\nmetadata: {\"author\": \"monemetrics\", \"version\": \"1.0.44\", \"openclaw\": {\"requires\": {\"bins\": [\"openbroker\"], \"env\": [\"HYPERLIQUID_PRIVATE_KEY\"]}, \"primaryEnv\": \"HYPERLIQUID_PRIVATE_KEY\", \"install\": [{\"id\": \"node\", \"kind\": \"node\", \"package\": \"openbroker\", \"bins\": [\"openbroker\"], \"label\": \"Install openbroker (npm)\"}]}}\nallowed-tools: ob_account ob_positions ob_funding ob_markets ob_search ob_spot ob_fills ob_orders ob_order_status ob_fees ob_candles ob_funding_history ob_trades ob_rate_limit ob_buy ob_sell ob_limit ob_trigger ob_tpsl ob_cancel ob_twap ob_bracket ob_chase ob_watcher_status Bash(openbroker:*)\n---\n\n# Open Broker - Hyperliquid Trading CLI\n\nExecute trading operations on Hyperliquid DEX with builder fee support.\n\n## Installation\n\n```bash\nnpm install -g openbroker\n```\n\n## Quick Start\n\n```bash\n# 1. Setup (generates wallet, creates config, approves builder fee)\nopenbroker setup\n\n# 2. Fund your wallet with USDC on Arbitrum, then deposit at https://app.hyperliquid.xyz/\n\n# 3. Start trading\nopenbroker account\nopenbroker buy --coin ETH --size 0.1\n```\n\n## Command Reference\n\n### Setup\n```bash\nopenbroker setup              # One-command setup (wallet + config + builder approval)\nopenbroker approve-builder --check  # Check builder fee status (for troubleshooting)\n```\n\nThe `setup` command offers three modes:\n1. **Import existing key** — use a private key you already have (master wallet)\n2. **Generate new wallet** — create a fresh master wallet\n3. **Generate API wallet** (recommended for agents) — creates a restricted wallet that can trade but cannot withdraw\n\nFor options 1 and 2, setup saves config and approves the builder fee automatically.\nFor option 3 (API wallet), see the API Wallet Setup section below.\n\n### API Wallet Setup (Recommended for Agents)\n\nAPI wallets can place trades on behalf of a master account but **cannot withdraw funds**. This is the safest option for automated agents.\n\n**Flow:**\n1. Run `openbroker setup` and choose option 3 (\"Generate API wallet\")\n2. The CLI generates a keypair and prints an approval URL (e.g. `https://openbroker.dev/approve?agent=0xABC...`)\n3. The agent owner opens the URL in a browser and connects their master wallet (MetaMask etc.)\n4. The master wallet signs two transactions: `ApproveAgent` (authorizes the API wallet) and `ApproveBuilderFee` (approves the 1 bps fee)\n5. The CLI detects the approval automatically and saves the config\n\n**After setup, the config will contain:**\n```\nHYPERLIQUID_PRIVATE_KEY=0x...        # API wallet private key\nHYPERLIQUID_ACCOUNT_ADDRESS=0x...    # Master account address\nHYPERLIQUID_NETWORK=mainnet\n```\n\n**Important for agents:** When using an API wallet, pass the approval URL to the agent owner (the human who controls the master wallet). The owner must approve in a browser before the agent can trade. The CLI waits up to 10 minutes for the approval. If it times out, re-run `openbroker setup`.\n\n### Account Info\n```bash\nopenbroker account            # Balance, equity, margin\nopenbroker account --orders   # Include open orders\nopenbroker positions          # Open positions with PnL\nopenbroker positions --coin ETH  # Specific coin\n```\n\n### Funding Rates\n```bash\nopenbroker funding --top 20   # Top 20 by funding rate\nopenbroker funding --coin ETH # Specific coin\n```\n\n### Markets\n```bash\nopenbroker markets --top 30   # Top 30 main perps\nopenbroker markets --coin BTC # Specific coin\n```\n\n### All Markets (Perps + Spot + HIP-3)\n```bash\nopenbroker all-markets                 # Show all markets\nopenbroker all-markets --type perp     # Main perps only\nopenbroker all-markets --type hip3     # HIP-3 perps only\nopenbroker all-markets --type spot     # Spot markets only\nopenbroker all-markets --top 20        # Top 20 by volume\n```\n\n### Search Markets (Find assets across providers)\n```bash\nopenbroker search --query GOLD    # Find all GOLD markets\nopenbroker search --query BTC     # Find BTC across all providers\nopenbroker search --query ETH --type perp  # ETH perps only\n```\n\n### Spot Markets\n```bash\nopenbroker spot                   # Show all spot markets\nopenbroker spot --coin PURR       # Show PURR market info\nopenbroker spot --balances        # Show your spot balances\nopenbroker spot --top 20          # Top 20 by volume\n```\n\n### Trade Fills\n```bash\nopenbroker fills                          # Recent fills\nopenbroker fills --coin ETH               # ETH fills only\nopenbroker fills --coin BTC --side buy --top 50\n```\n\n### Order History\n```bash\nopenbroker orders                         # Recent orders (all statuses)\nopenbroker orders --coin ETH --status filled\nopenbroker orders --top 50\n```\n\n### Order Status\n```bash\nopenbroker order-status --oid 123456789   # Check specific order\nopenbroker order-status --oid 0x1234...   # By client order ID\n```\n\n### Fee Schedule\n```bash\nopenbroker fees                           # Fee tier, rates, and volume\n```\n\n### Candle Data (OHLCV)\n```bash\nopenbroker candles --coin ETH                           # 24 hourly candles\nopenbroker candles --coin BTC --interval 4h --bars 48   # 48 four-hour bars\nopenbroker candles --coin SOL --interval 1d --bars 30   # 30 daily bars\n```\n\n### Funding History\n```bash\nopenbroker funding-history --coin ETH              # Last 24h\nopenbroker funding-history --coin BTC --hours 168  # Last 7 days\n```\n\n### Recent Trades (Tape)\n```bash\nopenbroker trades --coin ETH              # Last 30 trades\nopenbroker trades --coin BTC --top 50     # Last 50 trades\n```\n\n### Rate Limit\n```bash\nopenbroker rate-limit                     # API usage and capacity\n```\n\n## Trading Commands\n\n### Market Orders (Quick)\n```bash\nopenbroker buy --coin ETH --size 0.1\nopenbroker sell --coin BTC --size 0.01\nopenbroker buy --coin SOL --size 5 --slippage 100  # Custom slippage (bps)\n```\n\n### Market Orders (Full)\n```bash\nopenbroker market --coin ETH --side buy --size 0.1\nopenbroker market --coin BTC --side sell --size 0.01 --slippage 100\n```\n\n### Limit Orders\n```bash\nopenbroker limit --coin ETH --side buy --size 1 --price 3000\nopenbroker limit --coin SOL --side sell --size 10 --price 200 --tif ALO\n```\n\n### Set TP/SL on Existing Position\n```bash\n# Set take profit at $40, stop loss at $30\nopenbroker tpsl --coin HYPE --tp 40 --sl 30\n\n# Set TP at +10% from entry, SL at entry (breakeven)\nopenbroker tpsl --coin HYPE --tp +10% --sl entry\n\n# Set only stop loss at -5% from entry\nopenbroker tpsl --coin ETH --sl -5%\n\n# Partial position TP/SL\nopenbroker tpsl --coin ETH --tp 4000 --sl 3500 --size 0.5\n```\n\n### Trigger Orders (Standalone TP/SL)\n```bash\n# Take profit: sell when price rises to $40\nopenbroker trigger --coin HYPE --side sell --size 0.5 --trigger 40 --type tp\n\n# Stop loss: sell when price drops to $30\nopenbroker trigger --coin HYPE --side sell --size 0.5 --trigger 30 --type sl\n```\n\n### Cancel Orders\n```bash\nopenbroker cancel --all           # Cancel all orders\nopenbroker cancel --coin ETH      # Cancel ETH orders only\nopenbroker cancel --oid 123456    # Cancel specific order\n```\n\n## Advanced Execution\n\n### TWAP (Time-Weighted Average Price)\n```bash\n# Execute 1 ETH buy over 1 hour (auto-calculates slices)\nopenbroker twap --coin ETH --side buy --size 1 --duration 3600\n\n# Custom intervals with randomization\nopenbroker twap --coin BTC --side sell --size 0.5 --duration 1800 --intervals 6 --randomize 20\n```\n\n### Scale In/Out (Grid Orders)\n```bash\n# Place 5 buy orders ranging 2% below current price\nopenbroker scale --coin ETH --side buy --size 1 --levels 5 --range 2\n\n# Scale out with exponential distribution\nopenbroker scale --coin BTC --side sell --size 0.5 --levels 4 --range 3 --distribution exponential --reduce\n```\n\n### Bracket Order (Entry + TP + SL)\n```bash\n# Long ETH with 3% take profit and 1.5% stop loss\nopenbroker bracket --coin ETH --side buy --size 0.5 --tp 3 --sl 1.5\n\n# Short with limit entry\nopenbroker bracket --coin BTC --side sell --size 0.1 --entry limit --price 100000 --tp 5 --sl 2\n```\n\n### Chase Order (Follow Price)\n```bash\n# Chase buy with ALO orders until filled\nopenbroker chase --coin ETH --side buy --size 0.5 --timeout 300\n\n# Aggressive chase with tight offset\nopenbroker chase --coin SOL --side buy --size 10 --offset 2 --timeout 60\n```\n\n## Trading Strategies\n\n### Funding Arbitrage\n```bash\n# Collect funding on ETH if rate > 25% annualized\nopenbroker funding-arb --coin ETH --size 5000 --min-funding 25\n\n# Run for 24 hours, check every 30 minutes\nopenbroker funding-arb --coin BTC --size 10000 --duration 24 --check 30 --dry\n```\n\n### Grid Trading\n```bash\n# ETH grid from $3000-$4000 with 10 levels, 0.1 ETH per level\nopenbroker grid --coin ETH --lower 3000 --upper 4000 --grids 10 --size 0.1\n\n# Accumulation grid (buys only)\nopenbroker grid --coin BTC --lower 90000 --upper 100000 --grids 5 --size 0.01 --mode long\n```\n\n### DCA (Dollar Cost Averaging)\n```bash\n# Buy $100 of ETH every hour for 24 hours\nopenbroker dca --coin ETH --amount 100 --interval 1h --count 24\n\n# Invest $5000 in BTC over 30 days with daily purchases\nopenbroker dca --coin BTC --total 5000 --interval 1d --count 30\n```\n\n### Market Making Spread\n```bash\n# Market make ETH with 0.1 size, 10bps spread\nopenbroker mm-spread --coin ETH --size 0.1 --spread 10\n\n# Tighter spread with position limit\nopenbroker mm-spread --coin BTC --size 0.01 --spread 5 --max-position 0.1\n```\n\n### Maker-Only MM (ALO orders)\n```bash\n# Market make using ALO (post-only) orders - guarantees maker rebates\nopenbroker mm-maker --coin HYPE --size 1 --offset 1\n\n# Wider offset for volatile assets\nopenbroker mm-maker --coin ETH --size 0.1 --offset 2 --max-position 0.5\n```\n\n## Order Types\n\n### Limit Orders vs Trigger Orders\n\n**Limit Orders** (`openbroker limit`):\n- Execute immediately if price is met\n- Rest on the order book until filled or cancelled\n- A limit sell BELOW current price fills immediately (taker)\n- NOT suitable for stop losses\n\n**Trigger Orders** (`openbroker trigger`, `openbroker tpsl`):\n- Stay dormant until trigger price is reached\n- Only activate when price hits the trigger level\n- Proper way to set stop losses and take profits\n- Won't fill prematurely\n\n### When to Use Each\n\n| Scenario | Command |\n|----------|---------|\n| Buy at specific price below market | `openbroker limit` |\n| Sell at specific price above market | `openbroker limit` |\n| Stop loss (exit if price drops) | `openbroker trigger --type sl` |\n| Take profit (exit at target) | `openbroker trigger --type tp` |\n| Add TP/SL to existing position | `openbroker tpsl` |\n\n## Common Arguments\n\nAll commands support `--dry` for dry run (preview without executing).\n\n| Argument | Description |\n|----------|-------------|\n| `--coin` | Asset symbol (ETH, BTC, SOL, HYPE, etc.) |\n| `--side` | Order direction: `buy` or `sell` |\n| `--size` | Order size in base asset |\n| `--price` | Limit price |\n| `--dry` | Preview without executing |\n| `--help` | Show command help |\n\n### Order Arguments\n| Argument | Description |\n|----------|-------------|\n| `--trigger` | Trigger price (for trigger orders) |\n| `--type` | Trigger type: `tp` or `sl` |\n| `--slippage` | Slippage tolerance in bps (for market orders) |\n| `--tif` | Time in force: GTC, IOC, ALO |\n| `--reduce` | Reduce-only order |\n\n### TP/SL Price Formats\n| Format | Example | Description |\n|--------|---------|-------------|\n| Absolute | `--tp 40` | Price of $40 |\n| Percentage up | `--tp +10%` | 10% above entry |\n| Percentage down | `--sl -5%` | 5% below entry |\n| Entry price | `--sl entry` | Breakeven stop |\n\n## Configuration\n\nConfig is loaded from (in priority order):\n1. Environment variables\n2. `.env` in current directory\n3. `~/.openbroker/.env` (global config)\n\nRun `openbroker setup` to create the global config interactively.\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `HYPERLIQUID_PRIVATE_KEY` | Yes | Wallet private key (0x...) |\n| `HYPERLIQUID_NETWORK` | No | `mainnet` (default) or `testnet` |\n| `HYPERLIQUID_ACCOUNT_ADDRESS` | No | Master account address (required for API wallets) |\n\nThe builder fee (1 bps / 0.01%) is hardcoded and not configurable.\n\n## OpenClaw Plugin (Optional)\n\nThis skill works standalone via Bash — every command above runs through the `openbroker` CLI. For enhanced features, the same `openbroker` npm package also ships as an **OpenClaw plugin** that you can enable alongside this skill.\n\n### What the plugin adds\n\n- **Structured agent tools** (`ob_account`, `ob_buy`, `ob_limit`, etc.) — typed tool calls with proper input schemas instead of Bash strings. The agent gets structured JSON responses.\n- **Background position watcher** — polls your Hyperliquid account every 30s and sends webhook alerts when positions open/close, PnL moves significantly, or margin usage gets dangerous.\n- **CLI commands** — `openclaw ob status` and `openclaw ob watch` for inspecting the watcher.\n\n### Enable the plugin\n\nThe plugin is bundled in the same `openbroker` npm package. To enable it in your OpenClaw config:\n\n```yaml\nplugins:\n  entries:\n    openbroker:\n      enabled: true\n      config:\n        hooksToken: \"your-hooks-secret\"   # Required for watcher alerts\n        watcher:\n          enabled: true\n          pollIntervalMs: 30000\n          pnlChangeThresholdPct: 5\n          marginUsageWarningPct: 80\n```\n\nThe plugin reads wallet credentials from `~/.openbroker/.env` (set up by `openbroker setup`), so you don't need to duplicate `privateKey` in the plugin config unless you want to override.\n\n### Webhook setup for watcher alerts\n\nFor position alerts to reach the agent, enable hooks in your gateway config:\n\n```yaml\nhooks:\n  enabled: true\n  token: \"your-hooks-secret\"   # Must match hooksToken above\n```\n\nWithout hooks, the watcher still runs and tracks state (accessible via `ob_watcher_status`), but it can't wake the agent.\n\n### Using with or without the plugin\n\n- **Skill only (no plugin):** Use Bash commands (`openbroker buy --coin ETH --size 0.1`). No background monitoring.\n- **Skill + plugin:** The agent prefers the `ob_*` tools when available (structured data), falls back to Bash for commands not covered by tools (strategies, scale). Background watcher sends alerts automatically.\n\n## Risk Warning\n\n- Always use `--dry` first to preview orders\n- Start with small sizes on testnet (`HYPERLIQUID_NETWORK=testnet`)\n- Monitor positions and liquidation prices\n- Use `--reduce` for closing positions only\n\nFile v1.0.44:_meta.json\n\n{\n  \"ownerId\": \"kn7bzfmk84sw8ex37gb5knj4v980g23y\",\n  \"slug\": \"openbroker\",\n  \"version\": \"1.0.44\",\n  \"publishedAt\": 1772033797050\n}\n\nArchive v1.0.42: 2 files, 4603 bytes\n\nFiles: SKILL.md (11241b), _meta.json (130b)\n\nFile v1.0.42:SKILL.md\n\n---\nname: openbroker\ndescription: Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading strategies with automatic alerts for PnL changes and liquidation risk.\nlicense: MIT\ncompatibility: Requires Node.js 22+, network access to api.hyperliquid.xyz\nhomepage: https://www.npmjs.com/package/openbroker\nmetadata: {\"author\": \"monemetrics\", \"version\": \"1.0.42\", \"openclaw\": {\"requires\": {\"bins\": [\"openbroker\"], \"env\": [\"HYPERLIQUID_PRIVATE_KEY\"]}, \"primaryEnv\": \"HYPERLIQUID_PRIVATE_KEY\", \"install\": [{\"id\": \"node\", \"kind\": \"node\", \"package\": \"openbroker\", \"bins\": [\"openbroker\"], \"label\": \"Install openbroker (npm)\"}]}}\nallowed-tools: ob_account ob_positions ob_funding ob_markets ob_search ob_spot ob_buy ob_sell ob_limit ob_trigger ob_tpsl ob_cancel ob_twap ob_bracket ob_chase ob_watcher_status Bash(openbroker:*)\n---\n\n# Open Broker - Hyperliquid Trading CLI\n\nExecute trading operations on Hyperliquid DEX with builder fee support.\n\n## Installation\n\n```bash\nnpm install -g openbroker\n```\n\n## Quick Start\n\n```bash\n# 1. Setup (generates wallet, creates config, approves builder fee)\nopenbroker setup\n\n# 2. Fund your wallet with USDC on Arbitrum, then deposit at https://app.hyperliquid.xyz/\n\n# 3. Start trading\nopenbroker account\nopenbroker buy --coin ETH --size 0.1\n```\n\n## Command Reference\n\n### Setup\n```bash\nopenbroker setup              # One-command setup (wallet + config + builder approval)\nopenbroker approve-builder --check  # Check builder fee status (for troubleshooting)\n```\n\nThe `setup` command offers three modes:\n1. **Import existing key** — use a private key you already have (master wallet)\n2. **Generate new wallet** — create a fresh master wallet\n3. **Generate API wallet** (recommended for agents) — creates a restricted wallet that can trade but cannot withdraw\n\nFor options 1 and 2, setup saves config and approves the builder fee automatically.\nFor option 3 (API wallet), see the API Wallet Setup section below.\n\n### API Wallet Setup (Recommended for Agents)\n\nAPI wallets can place trades on behalf of a master account but **cannot withdraw funds**. This is the safest option for automated agents.\n\n**Flow:**\n1. Run `openbroker setup` and choose option 3 (\"Generate API wallet\")\n2. The CLI generates a keypair and prints an approval URL (e.g. `https://openbroker.dev/approve?agent=0xABC...`)\n3. The agent owner opens the URL in a browser and connects their master wallet (MetaMask etc.)\n4. The master wallet signs two transactions: `ApproveAgent` (authorizes the API wallet) and `ApproveBuilderFee` (approves the 1 bps fee)\n5. The CLI detects the approval automatically and saves the config\n\n**After setup, the config will contain:**\n```\nHYPERLIQUID_PRIVATE_KEY=0x...        # API wallet private key\nHYPERLIQUID_ACCOUNT_ADDRESS=0x...    # Master account address\nHYPERLIQUID_NETWORK=mainnet\n```\n\n**Important for agents:** When using an API wallet, pass the approval URL to the agent owner (the human who controls the master wallet). The owner must approve in a browser before the agent can trade. The CLI waits up to 10 minutes for the approval. If it times out, re-run `openbroker setup`.\n\n### Account Info\n```bash\nopenbroker account            # Balance, equity, margin\nopenbroker account --orders   # Include open orders\nopenbroker positions          # Open positions with PnL\nopenbroker positions --coin ETH  # Specific coin\n```\n\n### Funding Rates\n```bash\nopenbroker funding --top 20   # Top 20 by funding rate\nopenbroker funding --coin ETH # Specific coin\n```\n\n### Markets\n```bash\nopenbroker markets --top 30   # Top 30 main perps\nopenbroker markets --coin BTC # Specific coin\n```\n\n### All Markets (Perps + Spot + HIP-3)\n```bash\nopenbroker all-markets                 # Show all markets\nopenbroker all-markets --type perp     # Main perps only\nopenbroker all-markets --type hip3     # HIP-3 perps only\nopenbroker all-markets --type spot     # Spot markets only\nopenbroker all-markets --top 20        # Top 20 by volume\n```\n\n### Search Markets (Find assets across providers)\n```bash\nopenbroker search --query GOLD    # Find all GOLD markets\nopenbroker search --query BTC     # Find BTC across all providers\nopenbroker search --query ETH --type perp  # ETH perps only\n```\n\n### Spot Markets\n```bash\nopenbroker spot                   # Show all spot markets\nopenbroker spot --coin PURR       # Show PURR market info\nopenbroker spot --balances        # Show your spot balances\nopenbroker spot --top 20          # Top 20 by volume\n```\n\n## Trading Commands\n\n### Market Orders (Quick)\n```bash\nopenbroker buy --coin ETH --size 0.1\nopenbroker sell --coin BTC --size 0.01\nopenbroker buy --coin SOL --size 5 --slippage 100  # Custom slippage (bps)\n```\n\n### Market Orders (Full)\n```bash\nopenbroker market --coin ETH --side buy --size 0.1\nopenbroker market --coin BTC --side sell --size 0.01 --slippage 100\n```\n\n### Limit Orders\n```bash\nopenbroker limit --coin ETH --side buy --size 1 --price 3000\nopenbroker limit --coin SOL --side sell --size 10 --price 200 --tif ALO\n```\n\n### Set TP/SL on Existing Position\n```bash\n# Set take profit at $40, stop loss at $30\nopenbroker tpsl --coin HYPE --tp 40 --sl 30\n\n# Set TP at +10% from entry, SL at entry (breakeven)\nopenbroker tpsl --coin HYPE --tp +10% --sl entry\n\n# Set only stop loss at -5% from entry\nopenbroker tpsl --coin ETH --sl -5%\n\n# Partial position TP/SL\nopenbroker tpsl --coin ETH --tp 4000 --sl 3500 --size 0.5\n```\n\n### Trigger Orders (Standalone TP/SL)\n```bash\n# Take profit: sell when price rises to $40\nopenbroker trigger --coin HYPE --side sell --size 0.5 --trigger 40 --type tp\n\n# Stop loss: sell when price drops to $30\nopenbroker trigger --coin HYPE --side sell --size 0.5 --trigger 30 --type sl\n```\n\n### Cancel Orders\n```bash\nopenbroker cancel --all           # Cancel all orders\nopenbroker cancel --coin ETH      # Cancel ETH orders only\nopenbroker cancel --oid 123456    # Cancel specific order\n```\n\n## Advanced Execution\n\n### TWAP (Time-Weighted Average Price)\n```bash\n# Execute 1 ETH buy over 1 hour (auto-calculates slices)\nopenbroker twap --coin ETH --side buy --size 1 --duration 3600\n\n# Custom intervals with randomization\nopenbroker twap --coin BTC --side sell --size 0.5 --duration 1800 --intervals 6 --randomize 20\n```\n\n### Scale In/Out (Grid Orders)\n```bash\n# Place 5 buy orders ranging 2% below current price\nopenbroker scale --coin ETH --side buy --size 1 --levels 5 --range 2\n\n# Scale out with exponential distribution\nopenbroker scale --coin BTC --side sell --size 0.5 --levels 4 --range 3 --distribution exponential --reduce\n```\n\n### Bracket Order (Entry + TP + SL)\n```bash\n# Long ETH with 3% take profit and 1.5% stop loss\nopenbroker bracket --coin ETH --side buy --size 0.5 --tp 3 --sl 1.5\n\n# Short with limit entry\nopenbroker bracket --coin BTC --side sell --size 0.1 --entry limit --price 100000 --tp 5 --sl 2\n```\n\n### Chase Order (Follow Price)\n```bash\n# Chase buy with ALO orders until filled\nopenbroker chase --coin ETH --side buy --size 0.5 --timeout 300\n\n# Aggressive chase with tight offset\nopenbroker chase --coin SOL --side buy --size 10 --offset 2 --timeout 60\n```\n\n## Trading Strategies\n\n### Funding Arbitrage\n```bash\n# Collect funding on ETH if rate > 25% annualized\nopenbroker funding-arb --coin ETH --size 5000 --min-funding 25\n\n# Run for 24 hours, check every 30 minutes\nopenbroker funding-arb --coin BTC --size 10000 --duration 24 --check 30 --dry\n```\n\n### Grid Trading\n```bash\n# ETH grid from $3000-$4000 with 10 levels, 0.1 ETH per level\nopenbroker grid --coin ETH --lower 3000 --upper 4000 --grids 10 --size 0.1\n\n# Accumulation grid (buys only)\nopenbroker grid --coin BTC --lower 90000 --upper 100000 --grids 5 --size 0.01 --mode long\n```\n\n### DCA (Dollar Cost Averaging)\n```bash\n# Buy $100 of ETH every hour for 24 hours\nopenbroker dca --coin ETH --amount 100 --interval 1h --count 24\n\n# Invest $5000 in BTC over 30 days with daily purchases\nopenbroker dca --coin BTC --total 5000 --interval 1d --count 30\n```\n\n### Market Making Spread\n```bash\n# Market make ETH with 0.1 size, 10bps spread\nopenbroker mm-spread --coin ETH --size 0.1 --spread 10\n\n# Tighter spread with position limit\nopenbroker mm-spread --coin BTC --size 0.01 --spread 5 --max-position 0.1\n```\n\n### Maker-Only MM (ALO orders)\n```bash\n# Market make using ALO (post-only) orders - guarantees maker rebates\nopenbroker mm-maker --coin HYPE --size 1 --offset 1\n\n# Wider offset for volatile assets\nopenbroker mm-maker --coin ETH --size 0.1 --offset 2 --max-position 0.5\n```\n\n## Order Types\n\n### Limit Orders vs Trigger Orders\n\n**Limit Orders** (`openbroker limit`):\n- Execute immediately if price is met\n- Rest on the order book until filled or cancelled\n- A limit sell BELOW current price fills immediately (taker)\n- NOT suitable for stop losses\n\n**Trigger Orders** (`openbroker trigger`, `openbroker tpsl`):\n- Stay dormant until trigger price is reached\n- Only activate when price hits the trigger level\n- Proper way to set stop losses and take profits\n- Won't fill prematurely\n\n### When to Use Each\n\n| Scenario | Command |\n|----------|---------|\n| Buy at specific price below market | `openbroker limit` |\n| Sell at specific price above market | `openbroker limit` |\n| Stop loss (exit if price drops) | `openbroker trigger --type sl` |\n| Take profit (exit at target) | `openbroker trigger --type tp` |\n| Add TP/SL to existing position | `openbroker tpsl` |\n\n## Common Arguments\n\nAll commands support `--dry` for dry run (preview without executing).\n\n| Argument | Description |\n|----------|-------------|\n| `--coin` | Asset symbol (ETH, BTC, SOL, HYPE, etc.) |\n| `--side` | Order direction: `buy` or `sell` |\n| `--size` | Order size in base asset |\n| `--price` | Limit price |\n| `--dry` | Preview without executing |\n| `--help` | Show command help |\n\n### Order Arguments\n| Argument | Description |\n|----------|-------------|\n| `--trigger` | Trigger price (for trigger orders) |\n| `--type` | Trigger type: `tp` or `sl` |\n| `--slippage` | Slippage tolerance in bps (for market orders) |\n| `--tif` | Time in force: GTC, IOC, ALO |\n| `--reduce` | Reduce-only order |\n\n### TP/SL Price Formats\n| Format | Example | Description |\n|--------|---------|-------------|\n| Absolute | `--tp 40` | Price of $40 |\n| Percentage up | `--tp +10%` | 10% above entry |\n| Percentage down | `--sl -5%` | 5% below entry |\n| Entry price | `--sl entry` | Breakeven stop |\n\n## Configuration\n\nConfig is loaded from (in priority order):\n1. Environment variables\n2. `.env` in current directory\n3. `~/.openbroker/.env` (global config)\n\nRun `openbroker setup` to create the global config interactively.\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `HYPERLIQUID_PRIVATE_KEY` | Yes | Wallet private key (0x...) |\n| `HYPERLIQUID_NETWORK` | No | `mainnet` (default) or `testnet` |\n| `HYPERLIQUID_ACCOUNT_ADDRESS` | No | Master account address (required for API wallets) |\n\nThe builder fee (1 bps / 0.01%) is hardcoded and not configurable.\n\n## Risk Warning\n\n- Always use `--dry` first to preview orders\n- Start with small sizes on testnet (`HYPERLIQUID_NETWORK=testnet`)\n- Monitor positions and liquidation prices\n- Use `--reduce` for closing positions only\n\nFile v1.0.42:_meta.json\n\n{\n  \"ownerId\": \"kn7bzfmk84sw8ex37gb5knj4v980g23y\",\n  \"slug\": \"openbroker\",\n  \"version\": \"1.0.42\",\n  \"publishedAt\": 1772029834070\n}","readmeExcerpt":"Skill: Open-broker Owner: ya7ya Summary: Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading st... Tags: latest:1.0.44 Version history: v1.0.44 | 2026-02-25T15:36:37.050Z | user - Added new tools: ob_fills, ob_orders, ob_order_status, ob_fees, ob_candles, ob_funding_history, ob_trades, ob_rate_limit. - Expanded docu","codeSnippets":[],"executableExamples":[{"language":"bash","snippet":"npm install -g openbroker"},{"language":"bash","snippet":"# 1. Setup (generates wallet, creates config, approves builder fee)\nopenbroker setup\n\n# 2. Fund your wallet with USDC on Arbitrum, then deposit at https://app.hyperliquid.xyz/\n\n# 3. Start trading\nopenbroker account\nopenbroker buy --coin ETH --size 0.1"},{"language":"bash","snippet":"openbroker setup              # One-command setup (wallet + config + builder approval)\nopenbroker approve-builder --check  # Check builder fee status (for troubleshooting)"},{"language":"text","snippet":"HYPERLIQUID_PRIVATE_KEY=0x...        # API wallet private key\nHYPERLIQUID_ACCOUNT_ADDRESS=0x...    # Master account address\nHYPERLIQUID_NETWORK=mainnet"},{"language":"bash","snippet":"openbroker account            # Balance, equity, margin\nopenbroker account --orders   # Include open orders\nopenbroker positions          # Open positions with PnL\nopenbroker positions --coin ETH  # Specific coin"},{"language":"bash","snippet":"openbroker funding --top 20   # Top 20 by funding rate\nopenbroker funding --coin ETH # Specific coin"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: openbroker\ndescription: Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading strategies with automatic alerts for PnL changes and liquidation risk.\nlicense: MIT\ncompatibility: Requires Node.js 22+, network access to api.hyperliquid.xyz\nhomepage: https://www.npmjs.com/package/openbroker\nmetadata: {\"author\": \"monemetrics\", \"version\": \"1.0.44\", \"openclaw\": {\"requires\": {\"bins\": [\"openbroker\"], \"env\": [\"HYPERLIQUID_PRIVATE_KEY\"]}, \"primaryEnv\": \"HYPERLIQUID_PRIVATE_KEY\", \"install\": [{\"id\": \"node\", \"kind\": \"node\", \"package\": \"openbroker\", \"bins\": [\"openbroker\"], \"label\": \"Install openbroker (npm)\"}]}}\nallowed-tools: ob_account ob_positions ob_funding ob_markets ob_search ob_spot ob_fills ob_orders ob_order_status ob_fees ob_candles ob_funding_history ob_trades ob_rate_limit ob_buy ob_sell ob_limit ob_trigger ob_tpsl ob_cancel ob_twap ob_bracket ob_chase ob_watcher_status Bash(openbroker:*)\n---\n\n# Open Broker - Hyperliquid Trading CLI\n\nExecute trading operations on Hyperliquid DEX with builder fee support.\n\n## Installation\n\n```bash\nnpm install -g openbroker\n```\n\n## Quick Start\n\n```bash\n# 1. Setup (generates wallet, creates config, approves builder fee)\nopenbroker setup\n\n# 2. Fund your wallet with USDC on Arbitrum, then deposit at https://app.hyperliquid.xyz/\n\n# 3. Start trading\nopenbroker account\nopenbroker buy --coin ETH --size 0.1\n```\n\n## Command Reference\n\n### Setup\n```bash\nopenbroker setup              # One-command setup (wallet + config + builder approval)\nopenbroker approve-builder --check  # Check builder fee status (for troubleshooting)\n```\n\nThe `setup` command offers three modes:\n1. **Import existing key** — use a private key you already have (master wallet)\n2. **Generate new wallet** — create a fresh master wallet\n3. **Generate API wallet** (recommended for agents) — creates a restricted wallet that can trade but cannot withdraw\n\nFor options 1 and 2, setup saves config and approves the builder fee automatically.\nFor option 3 (API wallet), see the API Wallet Setup section below.\n\n### API Wallet Setup (Recommended for Agents)\n\nAPI wallets can place trades on behalf of a master account but **cannot withdraw funds**. This is the safest option for automated agents.\n\n**Flow:**\n1. Run `openbroker setup` and choose option 3 (\"Generate API wallet\")\n2. The CLI generates a keypair and prints an approval URL (e.g. `https://openbroker.dev/approve?agent=0xABC...`)\n3. The agent owner opens the URL in a browser and connects their master wallet (MetaMask etc.)\n4. The master wallet signs two transactions: `ApproveAgent` (authorizes the API wallet) and `ApproveBuilderFee` (approves the 1 bps fee)\n5. The CLI detects the approval automatically and saves the config\n\n**After setup, the config will contain:**\n```\nHYPERLIQUID_PRIVATE_KEY=0x...        # API wallet private key\nHYPERLIQUID_ACCOUNT_ADDRESS=0x...    # Master account address\nHYPERLIQUID_NETWORK="},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7bzfmk84sw8ex37gb5knj4v980g23y\",\n  \"slug\": \"openbroker\",\n  \"version\": \"1.0.44\",\n  \"publishedAt\": 1772033797050\n}"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading st... Skill: Open-broker Owner: ya7ya Summary: Hyperliquid trading plugin with background position monitoring. Execute market orders, limit orders, manage positions, view funding rates, and run trading st... Tags: latest:1.0.44 Version history: v1.0.44 | 2026-02-25T15:36:37.050Z | user - Added new tools: ob_fills, ob_orders, ob_order_status, ob_fees, ob_candles, ob_funding_history, ob_trades, ob_rate_limit. - Expanded docu","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1180,"uniquenessScore":47,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-04-15T00:45:39.800Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-09T12:26:31.958Z","emptyReason":null},"items":[{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-10T18:48:31.762Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}