> For the complete documentation index, see [llms.txt](https://maiga.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maiga.gitbook.io/docs/maiga-tech/maigaxbt-ai-agent-features/maigaxbt-trade-function-beta-version.md).

# MaigaXBT Trade Function (Beta version)

This feature is designed to simplify the trading workflow by integrating market scanning, technical token analysis, and trading execution into a single AI Agent.

**The Trade command extends MaigaXBT beyond analysis and reporting, enabling users to execute trades directly within the platform.**

### Overview

* Command: Trade ( /analyse a token, then Trade )
* Status: BETA
* Supported Chain: BNB Chain
* Execution Method: OKX DEX API
* Default Trade Size: $10 USDT + \~0.001 BNB (gas)<br>

*The Trade command automates the process from signal identification to execution, ensuring that long trading opportunities can be captured without delay.*

#### Trade Execution

* Available when the following conditions are met:
  * Token listed on BNB Chain
  * Confidence score ≥ 8/10
  * Wallet balance ≥ $10 USDT + \~0.001 BNB
* Provides the following parameters:
  * Entry price
  * Target price(s)
  * Stop-loss level
* Execution is processed instantly via the OKX DEX API.

### Workflow

1. Run Analysis

* Execute /*analyse* to evaluate a token.

<figure><img src="https://3394575098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FILQuDyQdAQeVEdJzf3TA%2Fuploads%2FPYuqbhrG7026JrHbEGcT%2FScreenshot%202025-09-30%20at%2011.46.00%E2%80%AFAM.png?alt=media&amp;token=c09d3861-ccfe-45f6-9731-03da3a97763c" alt=""><figcaption></figcaption></figure>

2\. Review Setup

* Confidence score must be at least 8/10.
* Trade setup includes entry, target, and stop-loss.

3. Execute Trade

* Select Trade.
* Confirm execution in the MaigaXBT interface.

&#x20;![](https://3394575098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FILQuDyQdAQeVEdJzf3TA%2Fuploads%2FF1fLi4ss3k6f1fxRXra8%2FScreenshot%202025-09-30%20at%2011.46.30%E2%80%AFAM.png?alt=media\&token=18553b95-5619-4712-b3c7-3ee236687816)

4. Track Position

* Use /*tradestatus* to review active positions.

<figure><img src="https://3394575098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FILQuDyQdAQeVEdJzf3TA%2Fuploads%2Fh94ifbJ0QVRV4xpsMxo9%2F%20.png?alt=media&amp;token=4440d48d-e324-40b3-a3d6-4c78c75b30d4" alt=""><figcaption></figcaption></figure>

* Transactions are visible on BSC Scan.

<figure><img src="https://3394575098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FILQuDyQdAQeVEdJzf3TA%2Fuploads%2FEJ2xSg9IJhIWLDaWi5OW%2FScreenshot%202025-09-30%20at%2011.48.51%E2%80%AFAM.png?alt=media&amp;token=db8db238-9dc0-44e9-98d2-91e3cb1366aa" alt=""><figcaption></figcaption></figure>

5. Cancel Trade

* Use /*tradecancel* to terminate an active position.

<figure><img src="https://3394575098-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FILQuDyQdAQeVEdJzf3TA%2Fuploads%2FC5U0mgNdsNbtaPRBaFle%2FScreenshot%202025-09-30%20at%2011.48.29%E2%80%AFAM.png?alt=media&amp;token=50121592-9c58-41f7-b1ae-55311e02235f" alt=""><figcaption></figcaption></figure>

### Execution Rules

#### Trades Will Execute If

* Token is supported on BNB Chain
* Confidence score ≥ 8/10
* Wallet has sufficient balance

#### Trades Will Not Execute If

* Confidence score < 8/10
* Entry, target, or stop-loss is missing
* Token is unsupported
* Insufficient wallet balance
* Short positions are requested (not currently supported)

### <sub>Coming Soon: Wallet Integration</sub>

<sub>Direct “View in Wallet” functionality for executed trades</sub>

The Trade command transforms MaigaXBT from an analysis-only tool into a full-cycle AI trading agent. It combines scanning, analysis, risk-managed execution, and monitoring into a single streamlined workflow.
