Launch App

APEX BLOG

Stay at the forefront of decentralization
with regular ApeX news, deals and research.

  • All



Filters
AllAnnouncementsNew Features

From Chat to Chain: ClawHub AI Trading Lands on ApeX Omni

Feb 06, 2026

1 min read

ApeX Omni

DEX

banner

What if you could manage your perpetual positions by simply typing a message?

ApeX Omni now supports ClawHub, bringing AI-powered trading automation directly to your Telegram. No more switching between apps, no more manual order entry for routine tasks. Just tell your bot what you want, and it executes on ApeX Omni.

This integration represents another step in ApeX's commitment to staying at the forefront of trading technology. As AI reshapes how traders interact with markets, we're making sure ApeX users have access to the most advanced tools available. ClawHub support means you can now combine the power of decentralized perpetual trading with conversational AI, creating workflows that were impossible just months ago.

Here's everything you need to know to get started.

What Is ClawHub?

ClawHub is an open-source framework that connects AI models to real-world actions through "skills." Think of it as a bridge between conversational AI and executable commands. You chat with a bot, the AI interprets your intent, and the skill translates that into specific actions.

The Apex-Trading skill is a ClawHub module built specifically for ApeX Omni. Once installed, it gives your AI assistant the ability to:

  • Check your current positions across all perpetual markets

  • Place orders using natural language commands

  • Close positions at market or limit prices

  • Monitor order status and receive real-time confirmations

  • Communicate in multiple languages for global accessibility

The entire interaction happens through Telegram, so you can manage trades from your phone, desktop, or anywhere you have access to the app.

How It Works

The architecture is straightforward. ClawHub runs a local gateway on your machine that connects to Telegram on one side and ApeX Omni's API on the other. When you send a message to your trading bot, here's what happens:

  1. You send a command in natural language Example: "Place a short order for 0.002 BTCUSDT at market price"

  2. The AI model interprets your intent ClawHub uses OpenAI Codex (or another supported model) to understand what you're asking for and extract the relevant parameters: order type, size, direction, price.

  3. The Apex-Trading skill executes the action Your command is translated into an API call to ApeX Omni. The order is placed using your configured credentials.

  4. You receive confirmation in the chat The bot responds with order details, status, and asks if you want to take any follow-up actions.

All of this happens in seconds. The AI handles the translation from conversational language to precise trading commands, while the Apex-Trading skill ensures those commands execute correctly on ApeX Omni.

How to Set It Up

Setting up ClawHub with ApeX Omni requires a few steps, but once configured, it runs seamlessly in the background.

Prerequisites

  • Node.js 20+ and NPM installed on your system

  • Telegram account for bot interaction

  • ApeX Omni API credentials (API key, secret, passphrase, and seed)

Step 1: Install the ClawHub CLI

Open your terminal app and run the following commands to install the OpenClaw CLI globally and begin the onboarding process:

Code block:

  1. npm install -g @openclaw/cli

  2. openclaw onboard

During onboarding, you'll be prompted to make setup choices:

  • Channel: Select Telegram

  • Model: Select OpenAI Codex

Step 2: Install the Apex-Trading Skill

The Apex-Trading skill is hosted on ClawHub's skill repository. Use the clawhub utility to search and install it:

Code block

  1. # Verify the skill exists

  2. clawhub search "apex"

  3. # Install the skill

  4. clawhub install apex-trading

Step 3: Install Dependencies

The skill requires specific Node.js packages. Navigate to the script directory and install them:

Code block

  1. cd /home/ubuntu/.openclaw/workspace/skills/apex-trading/scripts && npm install

Step 4: Configure Your API Keys

Important: API keys allow trading and transfer action on your account. Never send your API keys directly in chat messages, share it with any untrusted platform, apps or personnel. Instead, create a secure local environment file that only the system can access.

Create a file at this path: /home/ubuntu/.openclaw/workspace/.apex.env

Add the following content, replacing the placeholder values with your actual credentials:

Code block

  1. export APEX_API_KEY=your_key_here

  2. export APEX_API_SECRET=your_secret_here

  3. export APEX_API_PASSPHRASE=your_passphrase_here

  4. export APEX_OMNI_SEED=your_seed_here

  5. export APEX_ENV=qa # or 'prod' for live trading

Set APEX_ENV=prod when you're ready to trade with real funds.

Step 5: Launch the Gateway

Start the ClawHub gateway to activate your bot:

Code block

  1. openclaw gateway --force

Your Telegram bot is now connected to ApeX Omni and ready to receive commands.

Example: Managing Positions via Telegram

Once everything is configured, interacting with ApeX Omni through Telegram feels natural. Here's a real example of a trading session:

Checking positions:

You: check the current position.

Bot: Current non-zero positions:

  • BTC-USDT: SHORT 0.002, entry 77,330.35

  • ETH-USDT: SHORT 0.01, entry 2,321.15 Everything else is 0.

Placing a new order:

You: help me place an order for the BTC-USDT contract. Place a market short order with a quantity of 0.003.

Bot: Order placed: BTC-USDT market short 0.003. Order ID: 806730041237963624 — status PENDING (IOC). Want me to refresh positions now?

Closing a position:

You: Help me close out the position of 0.002 BTC at the current price.

Bot: Confirm: close 0.002 BTC from your current BTC-USDT short using a market buy now?

You: yes

Bot: Market buy ETH-USDT 0.01 to close has been submitted. Order ID: 806730797424837480, current status: PENDING (IOC). Would you like me to refresh positions to confirm it's closed?

The bot confirms each action, asks for verification before executing trades, and provides order IDs for tracking. You maintain full control while the AI handles the execution details.

Common Commands

Once your bot is running, try these interactions:

Command

What It Does

/skills

Verify apex-trading skill is active

"Check my current positions"

Display all open positions

"Place a long order for 0.01 ETH at market"

Execute a market long

"Close all ETH positions at market price"

Close specified positions

"What's my BTC-USDT entry price?"

Query position details

The AI understands natural variations, so you don't need to use exact phrasing. "Short 0.002 BTC" works just as well as "Place a short order for 0.002 BTCUSDT at market price."

Trading Is Going Multimodal

AI-assisted trading isn't a gimmick. It's a productivity multiplier.

For active traders managing multiple positions across different markets, the ability to check status and execute orders through a chat interface eliminates friction. You're not logging into a dashboard for a quick position check. You're not navigating order forms for a simple market close. You type what you want, and it happens.

ApeX Omni's support for ClawHub is part of a broader vision: making professional-grade trading tools accessible through whatever interface works best for each trader. Whether that's our web platform, mobile app, API, or now conversational AI, the underlying infrastructure delivers the same speed, security, and liquidity.

The future of trading is multimodal. ApeX is building for it.

If you have any queries, please reach out to the official Discord channel.

1