# Bullbit AI Perp DEX

Bullbit AI Perp DEX is the flagship product of the Bullbit ecosystem and the first AI-powered decentralized perpetual futures exchange. More than just a trading platform, it is the definitive answer to the Great Migration from CEX to DEX. The platform is built on a **Central Limit Order Book (CLOB)** architecture, delivering ultra-fast execution, deep liquidity, and a full suite of professional trading tools.

<figure><img src="https://24377465-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fz93JXjGMa2bigdT2xBUy%2Fuploads%2F3SvJGdE823PriNOkS8HF%2Fimage.png?alt=media&#x26;token=401c6482-f8a3-494f-bde7-f094067691f8" alt=""><figcaption></figcaption></figure>

**Advanced Trading Features**&#x20;

The platform replicates and extends the trading experience of CEXs:

* **Professional Order Types:** Market Orders, Limit Orders, Stop Orders, Post-Only Orders, and more.
* **AI Analytics:** Embedded AI modules for Market sentiment analysis, volatility shifts, trend identification, and predictive modeling.
* **Automated Trading Agents:** On-chain trading agents capable of executing algorithmic strategies with real-time responsiveness.

**Risk Management & Margin System**&#x20;

Bullbit’s risk management system is designed to provide maximum flexibility for traders while ensuring platform-wide safety.

* **Cross-Margin:** All available balance in the Perpetual Account is shared across positions. Profit from one position can offset the loss of another.
* **Tiered Margin System:** The MMR varies by asset risk.
  * Tier 1 (BTC, ETH): 0.50% MMR
  * Tier 2 (SOL, XRP, DOGE): 1% MMR
  * Tier 3 (High Volatility - PEPE, WIF): 2% MMR
  * Tier 4 (New Assets): 5% MMR

**Core Trading Definitions & Formulas**&#x20;

To ensure transparency and help traders better calculate their positions, Bullbit provides the following standard definitions:

* **Mark Price:** Used for liquidation and PnL calculation to prevent price manipulation.
  * `Mark Price = Index Price + Funding Basis Adjustment (Ema 300 of Perp Price - IndexPrice)`
* **Equity:** The total value of your account.
  * `Equity = Total Account Balance (USDC) + Unrealized PnL`
* **Unrealized PnL:** The current profit or loss of an open position.
  * `PnL (Long) = Size * (Mark Price - Entry Price)`
* **Position Value:**
  * `PV = Size * Mark Price`
* **Initial Margin (IM):** The minimum capital to open a position.
  * `IM = (Position Value / Leverage)`
* **Maintenance Margin (MM):** The minimum equity to keep a position open.
  * `MM = Position Value * MM Rate`

**Trading Fees (Maker/Taker)** Bullbit uses a tier-based fee system determined by rolling 14-day volume.

* **Maker Orders:** Add liquidity (Limit/Post-only).
* **Taker Orders:** Remove liquidity (Market).
