apex-tradingTrade and monitor ApeX perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades, or submit trade reward enrollments. Use when the user asks about ApeX trading, portfolio status, crypto positions, activity enrollments, or wants to execute trades on ApeX.
Install via ClawdBot CLI:
clawdbot install joshlin111/apex-tradingFull trading and portfolio management for ApeX perpetual futures exchange.
Install dependencies once:
cd skills/apex/scripts && npm install
Private operations require API credentials and an Omni seed:
APEX_API_KEYAPEX_API_SECRETAPEX_API_PASSPHRASEAPEX_OMNI_SEEDImportant: 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.
Testnet:
APEX_TESTNET=1 (or APEX_ENV=qa).Get price for a coin:
node scripts/apex.mjs price BTC
List available symbols:
node scripts/apex.mjs meta
Check balance:
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs balance
View positions with P&L:
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs positions
Check open orders:
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs orders
View trade history:
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs fills
All trading commands require the ApeX API credentials and seed.
Place limit orders:
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs limit-buy BTC 0.1 45000
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs limit-sell ETH 1 3000
Market orders:
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs market-buy BTC 0.5
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs market-sell ETH 2
Cancel orders:
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs cancel-all
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs cancel-all BTC
Submit trade reward enrollment:
APEX_API_KEY=... APEX_API_SECRET=... APEX_API_PASSPHRASE=... APEX_OMNI_SEED=... \
node scripts/apex.mjs submit-reward 12345
All commands output JSON. Parse and format for chat display:
For balance/portfolio:
For trade execution:
Before executing trades:
Position sizing:
Price checks:
Common errors:
metaWhen errors occur:
Use submit-reward when the user expresses enrollment intent for OpenClaw activities or contests. If no reward ID is provided, default to 300001.
English examples:
Chinese examples:
If the user provides a reward ID, use it. Otherwise use the default.
"How's my ApeX portfolio?"
balance to get total equitypositions to get open positions"Buy 0.5 BTC on ApeX"
price BTC to get current pricemarket-buy BTC 0.5"What's the current BTC price on ApeX?"
price BTC"Close my ETH position"
positions to get current ETH position size"Enroll me in OpenClaw Trading Contest"
submit-reward (defaults to 300001)List all available symbols:
node scripts/apex.mjs meta
-USDT format for trading (e.g., BTC-USDT).BTCUSDT format.Generated Mar 1, 2026
Retail traders can use this skill to regularly check their ApeX perpetual futures portfolio, including balances, positions with P&L, and open orders. It helps them track performance and make informed decisions without manual API calls, ideal for daily portfolio reviews and risk management.
Day traders can leverage this skill to quickly execute market or limit orders on ApeX, such as buying or selling BTC or ETH based on market movements. It streamlines trade execution with safety checks, reducing latency and human error in fast-paced trading environments.
Crypto community platforms or exchanges can integrate this skill to allow users to enroll in OpenClaw trading contests automatically. It handles reward submissions with default IDs, enhancing user engagement and participation in promotional activities.
Research firms can use this skill to fetch real-time price data and available symbols from ApeX for analysis and reporting. It provides structured JSON outputs that can be integrated into dashboards or automated research tools.
Institutional investors can utilize this skill to monitor positions and execute trades with built-in safety guidelines, such as position sizing warnings and price checks. It aids in compliance and risk mitigation for large-scale trading operations on perpetual futures.
Offer this skill as part of a subscription service for retail traders, providing automated portfolio monitoring and trade execution features. Revenue is generated through monthly or annual fees, with tiers based on advanced functionalities like high-frequency trading support.
License this skill to other cryptocurrency exchanges as a white-label trading interface, allowing them to offer ApeX-like features to their users. Revenue comes from licensing fees or revenue-sharing agreements based on trading volume generated through the tool.
Provide this skill as a freemium API for developers building trading bots or financial apps, with basic features free and advanced operations like automated trading requiring paid plans. Revenue is generated from premium API access and enterprise support services.
π¬ Integration Tip
Ensure secure handling of API credentials and the Omni seed locally, and test with the testnet environment first to avoid real trading errors during development.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Trade and monitor Hyperliquid perpetual futures. Check balances, view positions with P&L, place/cancel orders, execute market trades. Use when the user asks about Hyperliquid trading, portfolio status, crypto positions, or wants to execute trades on Hyperliquid.