> 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)

**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="/files/jRzytb2WJN9BhaUZrRem" 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;![](/files/y04uN7qxtsJrAhy9xOmr)

4. Track Position

* Use /*tradestatus* to review active positions.

<figure><img src="/files/svLUKZVmndVZ6NDnLdv5" alt=""><figcaption></figcaption></figure>

* Transactions are visible on BSC Scan.

<figure><img src="/files/sUnPOzTPO1B4EozdpJb2" alt=""><figcaption></figcaption></figure>

5. Cancel Trade

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

<figure><img src="/files/URV1UI2dIXl9AXxUvRtd" 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.
