Trading
GX Exchange is a high-performance perpetual and spot trading platform built on GX Chain, a purpose-built L1 blockchain optimized for order book execution. The GXCore matching engine delivers industry-leading throughput with near-instant finality, providing institutional-grade performance for decentralized trading.
Architecture
All trading operations execute natively on GX Chain’s consensus layer. Orders, cancellations, and account actions use a custom binary format with EIP-712 ECDSA signatures — not EVM transactions. This eliminates gas metering overhead and delivers throughput comparable to centralized exchanges.
Semantic mempool ordering ensures fair execution within each block:
- Non-GTC/IOC actions first (transfers, withdrawals, leverage changes)
- Cancellations second
- GTC/IOC orders last
This prevents margin manipulation and sandwich attacks while preserving the proposer’s ordering within each priority tier.
Core Capabilities
| Capability | Specification |
|---|---|
| Matching engine | GXCore (industry-leading throughput) |
| Block latency | Near-instant finality |
| Order types | Market, Limit, IOC, FOK, Post-Only, GTC, TWAP, TP/SL |
| Margin modes | Cross, Isolated, Portfolio Margin |
| Account modes | Standard, Unified, Portfolio Margin |
| Maximum leverage | 40x (BTC), 25x (ETH), 20x (SOL), 10x (others) |
| Liquidation model | Partial (20%) with 30s cooldown + backstop |
| Fee tiers | 7 volume tiers + 6 staking discount tiers |
| Funding interval | Every 8 hours, settled hourly |
| Test coverage | Comprehensive suite across matching engine, risk, and trading modules |
Markets
GX Exchange supports three categories of tradable assets:
- Perpetual contracts — USDC-margined linear perpetuals on major crypto assets with up to 40x leverage
- Spot trading — On-chain order books for native GX Chain tokens and bridged assets
- RWA perpetuals — Tokenized exposure to equities, commodities, and indices
Section Index
| Page | Description |
|---|---|
| Fees | Volume-based fee tiers and staking discounts |
| Sub-Accounts | Multi-account management with shared fee tiers |
| Builder Codes | Permissionless frontend fee sharing |
| Perpetual Assets | Available perpetual markets and leverage |
| Contract Specifications | Tick sizes, lot sizes, and funding parameters |
| Margining | Cross and isolated margin mechanics |
| Account Abstraction Modes | Standard, Unified, and Portfolio modes |
| Portfolio Margin | Cross-asset margin with lending integration |
| Margin Tiers | Position-size-based leverage tiers |
| Robust Price Indices | Oracle architecture and mark price computation |
| Liquidations | Partial liquidation mechanics and backstop |
| Auto-Deleveraging | ADL ranking and execution |
| Funding | Funding rate formula and settlement |
| Order Book | Price-time priority and semantic ordering |
| Order Types | All supported order types |
| TWAP Orders | Time-weighted average price execution |
| Take-Profit and Stop-Loss | Conditional order mechanics |
| Entry Price and PnL | Position tracking and profit calculation |
| Self-Trade Prevention | Expire-maker mode |
| Prelaunch Markets | Pre-listing perpetuals with EMA oracle |
| Spot Trading | Spot order book mechanics |
| RWA Perpetuals | Real-world asset perpetuals |
| Delisting | Asset delisting procedures |
| Market Making | Open market making policy |
| Portfolio Graphs | Portfolio visualization tools |
| Miscellaneous UI | Additional interface features |