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
        • 🤖Traḋ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
  • Introduction
  • Automated Market Maker (AMM)
  • Central Limit Order Book (CLOB)
  • What do liquidity pools solve?

Was this helpful?

  1. EARN

Liquidity Pools

The Hybrid Liquidity Engine - Best of AMM Pools and Orderbooks

Introduction

Demex uses a Hybrid Liquidity Engine that provide traders with the benefits of both Automated Market Makers (AMMs) and Central Limit Order Books (CLOBs). This is done by combining the liquidity provided by the Liquidity Pools with the order-matching functionality of an order book.

Markets on Demex, therefore, have tighter bid-ask spreads, better order execution, and quicker price discovery.

The Hybrid Liquidity Engine also gives rise to multiple benefits, such as:

  • Trading of markets without the need for a counterparty / external market makers;

  • Enables traders to enhance their liquidity by leveraging liquidity pools, where anyone can contribute liquidity to the pools. The hybrid liquidity engine then uses the liquidity from the AMM and spreads it on both sides of the order book.

Automated Market Maker (AMM)

AMMs serve as high-volume market makers that provide liquidity for multiple trading venues at a time while acting as intermediaries to mitigate the liquidity issue. This enables trades that would otherwise not have been executed in those markets

When a limit order is executed, the AMM engine uses the liquidity from the liquidity pool/vault to fill the order. If the liquidity in the pool/vault is insufficient to fill the order, the remaining portion of the order is placed in the order book and matched with other orders in the future.

Central Limit Order Book (CLOB)

Instead of relying solely on the AMM to match orders, the hybrid system also has an order book that allows traders to place limit orders at specific prices. These limit orders are stored in the order book until they are matched with a corresponding buy or sell order from another trader.

What do liquidity pools solve?

For any sort of trading to happen, buyers and sellers have to converge on the price of an asset or contract.

However, this requires a first mover (e.g. the maker) to place their trade intent (e.g. by placing an order on the orderbook). Other traders can then review this quote and either accept it by taking the order (e.g. the taker) or place a counter quote at a different price (thereby becoming a maker on the order side of the book). When this happens iteratively, a liquid order book is eventually formed, and the marketplace has now converged on a good indicative "fair" price for future takers.

As you might imagine, this requires multiple parties willing to wait for some indeterminate period of time for the trade to occur. In some markets or venues, there may simply not be sufficient traders or liquidity for that to ever happen.

In general, market makers are incentivized to do so by profiting off the difference between their quoted bid and ask prices (e.g. the spread). To perform this service, market makers need sophisticated knowledge of trading, require programming resources, among other things.

In a decentralized exchange (DEX) like Demex, there is a further innovation on the concept of market makers that makes the game fair and permissionless!

In DEXs like Demex, any user can become a market maker by simply providing liquidity.

For perp markets, users provide stablecoins to a common pool (known as a "perp pool"). This liquidity is then managed by an AMM, which regularly quotes bids and asks near the oracle price based on the configuration of the perp pool in a way that is resistant to manipulation.

PreviousChart Trading 🆕NextSpot Pools

Last updated 11 days ago

Was this helpful?

A traditional solves this problem by committing to always be active in a certain market to act as buy or sell quotes for other takers. Centralized cryptocurrency exchanges (CEXs) also partner with market-makers to provide this liquidity.

For spot markets, users may provide the two tokens belonging to both side of a spot market to a common pool (known as a "liquidity pool"). This combined liquidity is then managed by an automated market maker (or "AMM"). The AMM typically acts in a such that it is resistant to manipulation, and will not lose money except for a in market prices.

💰
market maker
path independent way
transient change