LogoLogo
Trade Now
  • Trade Now
  • πŸ‘‹Welcome
    • About Demex
      • Roadmap
      • Terms and Conditions
      • Disclaimers
    • Getting Started
      • Depositing
      • Activate Account
      • One-Click Trading
  • πŸ’°Demex Rewards
    • πŸͺ‚Demex Points
      • Spins
      • Wheel of Fortune and Loot Boxes
      • Squads
      • DMX Token
      • FAQs
    • 🏁Demex Endgame: 50,000,000 Demex Points
    • πŸ’΅Demex Credits
    • πŸ•™Past Events
      • 2022
        • Futures Trading Competition
          • Maker vs Taker #1
          • Maker vs Taker #2
        • Perpetuals Trading Competition
          • Top Gainers and Top Traders #1
          • Top Gainers and Top Traders #2
          • Top Gainers #3
      • 2023
        • Demex Trading Leagues
          • Demex Trading League
            • How to Register
          • Demex $100,000 Mega Marathon
            • Demex Trading League Vol 1
              • How to Register
            • Deposit Booster
            • Demex Trading League Vol 2
          • Demex Trading League (Round 3)
            • How to Register
          • Demex Trading League (Round 4)
          • LUNA Earn-A-Thon & Demex Trading League (Round 5)
          • Demex Trading League (Round 6)
          • SCRT Trading League
        • Earn-a-thons
          • Demex x StaFi ATOM Earn-A-Thon
          • Demex x Zilliqa ZIL Earn-A-Thon
            • How to Register
        • Trading Challenges
          • BNB Trading Challenge
            • How to generate your custom hashtag
          • NEO Trading Challenge
            • How to Register
          • OSMO Perp Trading Challenge
          • Perps Trading Challenge
        • Special Events
          • $500 Surprise Flash Promotion
          • Demex Incentivized Devnet (Ended)
            • Perp Pools Deposits
            • Base Vault and $CLP Staking
            • Fluo Dashboard (Deprecated)
              • Stake FLUO
              • Boost Rewards
              • esFLUO Rewards
            • Demex Trading League (Devnet)
              • How to Register
            • The HODL Lottery
              • How to Register
              • How to Count Your Tickets
      • 2024
        • Celestia Trading League
        • FOMO Points Booster
        • DeFi Points Booster
        • Celestia Points Booster
        • πŸ₯›milkTIA x Demex Points Booster Bonanza
        • BTCETH Points Booster
        • 🟠 Archway Trading League
        • βš›οΈ Cosmos Trading Competition
          • πŸ‹Whalecome to Demex
        • πŸ’―DeFi & FOMO Points Booster
        • πŸ’―DeFi & Layer 1 Points Booster
        • πŸ’§dATOM Lend and Trade Spins Promo
        • 🐸Perp Pool Incentives with Leap Wallet
        • πŸ‘‹Welcome #BackToDemex
        • πŸ₯›milkTIA Lend and Trade Spins Promo
        • πŸ›‘οΈLoss Protection
        • πŸƒβ€β™‚οΈSTRD Lend and Trade Spins Promo
        • 🐢Meme Traders Arena
        • πŸ›‘οΈLoss Protection Oct-Nov
        • πŸŒ™LUNA Lend and Trade Spins Promo
        • πŸ’―Modular Pool Points Booster
        • πŸ•°οΈMantle Lend & Trade Spins Promo
        • 🏎️Mantle Trading League
        • πŸ›‘οΈLoss Protection Dec 9 - 20
        • πŸ‘‘Mantle Trading League S2
      • 2025
        • πŸ”²Mantle Rewards Station: 30,000,000 Demex Points
        • πŸ”²Mantle Rush
        • πŸ”Loss Protection March 19 - 26, 2025
        • πŸŒ€Mantle Lend & Trade Spins Promo
        • πŸ’™Base Trading League
        • 🧒Base Lend & Trade Spins Promo
        • πŸ›‘οΈLoss Protection Feb 10 - 20, 2025
        • πŸ“#DemexContentQuest
        • πŸ“ˆ#PerpsOnDemex
        • πŸ‘₯Demex Referral Club
        • πŸ€–TradΜ‡emex Bot
  • πŸ“ŠTrade
    • Features
    • Perps & Futures
      • Pricing Engine
      • Margin Specifications
      • Liquidation Engine
      • Market Specifications
      • Pre-launch Perpetuals
      • Glossary
      • FAQs
    • Grouped USD Token
      • Constituent Criteria
      • Safety Features
      • Migration Guide
    • Fees
      • Trading Fees
      • Funding Fees
      • Network Fees
      • Deposit & Withdrawal Fees
      • Fee Delegation
      • CEX to Demex VIP Program
      • Fee Distribution
    • Notifications
      • Demex Progressive Web App (PWA)
    • Trading Modes
      • Lite Mode
      • Pro Mode
        • Features
        • Market Leverage
        • Order Types
        • Execution Options
        • Time-In-Force πŸ†•
        • Trigger (Stop) Orders
          • Take-Profit
          • Stop-Loss
        • Chart Trading πŸ†•
  • πŸ’°EARN
    • Liquidity Pools
      • Spot Pools
        • Earnings
        • Amplified Pools
        • Uneven Pool Weights
        • Multi-Pool Routing
        • FAQs
      • Perp Pools
        • Earnings
        • Deposting & Redeeming
        • AMM Strategy
    • Nitron (Lend & Borrow)
      • Lending
      • Borrowing
        • Avoiding Liquidations
      • Liquidation
        • Partial Liquidations
      • USC Stablecoin
        • Interest Rate Model
      • High Efficiency Mode (E-Mode)
      • Liquidations
        • Liquidation Guide
      • Strategies
        • Using Nitron for Perp Trading
      • Protocol Safety Features
      • Risks
    • Referrals
      • Sharing Your Referral Link
      • FAQs
      • Terms and Conditions
  • Stake SWTH / DMX
  • πŸ«‚COMMUNITY
    • Public Community Nodes
    • Feedback
    • Glossary
      • Annual Percentage Rate (APR)
      • Arbitrage
      • Decentralized Applications
      • Execution Options
      • Liquidation
      • Liquidity Pool
      • Liquidity Providers
      • Perpetual Pool
      • Open Interest (OI)
      • Order Book
      • Time-In-Force
      • Volume
      • Yield Farming
  • βš™οΈDevelopers
    • APIs Overview
    • WebSocket API
    • RPC API
    • EVM API
    • Insights API
    • Node CLI
    • Running a Node
      • Testnet
      • Mainnet
      • Public API Node
      • Validators
        • Commissions & Penalties
  • πŸ€–EVM
    • Overview
    • Deployment Tutorial
    • Interacting with Demex L1
      • Built-in Oracle Contracts
      • Precompiled Trading Contracts
    • ICS-20 <> ERC-20 Token Conversion
    • Explorers
Powered by GitBook
On this page
  • Overview
  • AMM-backed Orderbooks for Deep Liquidity and Zero Spreads
  • Fast Batch-Based Matching
  • Capital Efficient

Was this helpful?

  1. Trade

Features

PreviousTraḋemex BotNextPerps & Futures

Last updated 15 days ago

Was this helpful?

Overview

Demex has an order matching engine that is natively built into its L1 chain so that it can support complex markets or financial instruments such as perpetuals and options at scale.

Each validator node hosts a copy of the order matching engine, acting as witnesses to ensure all other nodes also process trade transactions correctly, thereby securing the network.

Using a batch-based matching system across all markets, Demex is able to perform low latency on-chain order matching that fully eliminates front-running.

AMM-backed Orderbooks for Deep Liquidity and Zero Spreads

A key feature of Demex is that its fully decentralized central limit orderbooks is also backed by liquidity pools and AMMs for both and markets.

For perpetual pools, the AMM uses uses real-time to provide bids and asks concentrated at the latest index price. This allows traders to enter/exit large trades with zero slippage or losses from spreads.

The liquidity provided by the AMM also co-exists with traditional market makers, allowing traders to enjoy even deeper liquidity on the orderbook. Users can visualize liquidity from AMMs on the order book and use advanced charting and trading tools like stop losses to have a CEX-like experience.

Fast Batch-Based Matching

Trades on Demex are executed every ~1.6s and are MEV-resistant, creating a fast and fair trading environment.

In Demex, orders in each block are treated as a single batch and are cleared in a mini-auction at the end of each block.

This means that all orders within a block are treated as having equal priority until they enter the order book.

For example, given an orderbook with a single ask at 3k, and a incoming bid for 4k and another at 3.5k, both bids will clear at the unit order price at 3k but the amounts will be prorated and divided up equally between the parties bidding for that quantity.

Demex minimizes value extraction by adopting batch execution for its orderbook order matching mechanism.

What is Value Extraction? Transparency on the blockchain means that users are often moving and transferring their funds into what can be best explained as an exposed glass box, where transactions are visible for a time before they are executed on the blockchain. Malicious actors can take advantage of this by observing, tracking, and manipulating the order of transactions within a block for their own benefit, and at the expense of the user. This is known as front-running in the traditional financial sector, but has been referred to as Maximal Extractable Value in the blockchain space.

In batch execution, orders within a batch are treated equally without prioritization (such as order received time or transaction processing priority).

This way the price at the time of execution is the same for everyone and any front-runner would only be able to profit by a very small amount, as they would not be able to take advantage of the price difference between different trades.

Capital Efficient

Demex offers traders up to 50x leverage for better capital efficiency, but that's not all.

Demex will also support cross-margin and multi-asset collateral in Q1 2025.

Cross-margin allows traders to use a single margin account to trade multiple contracts or markets simultaneously. This means that the margin balance in one position can offset the margin requirement for another position, effectively reducing the overall margin requirement.

For example, if a trader has a profitable position in one market, the unrealized profits can be used to cover the margin requirement for a position in another market. This allows traders to efficiently utilize their capital across multiple positions.

Multi-asset collateral support enables traders to use various tokens to open positions, rather than being limited to USD. This flexibility allows traders to make use of their diverse portfolio, which may even consist of yield-bearing assets to meet margin requirements.

For instance, a trader holding Bitcoin, Ethereum, and stablecoins can use any combination of these assets as collateral, depending on their trading strategy and market conditions.

The combination of cross-margin and multi-asset collateral support enhances capital efficiency by:

  1. Reducing the total margin required to maintain multiple positions across different markets.

  2. Allowing traders to utilize their entire portfolio to cover margin requirements, rather than being restricted to a single asset.

  3. Enabling traders to take advantage of market opportunities more effectively by using unrealized profits from one position to open new positions or maintain existing ones.

By offering deep liquidity, zero spreads, and capital efficiency, perp traders on Demex can enjoy a trading experience even better than CEXs, while still maintaining full custody of their assets.

πŸ“Š
spot
perpetual
Demex's orderbook offers deep liquidity at zero spreads
Demex offers up to 50x leverage
price feeds