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
  • Overview
  • Quoting Strategy
  • Base Strategy
  • Volatility Skew
  • Position Skew
  • Notice Period
  • Quick Links

Was this helpful?

  1. EARN
  2. Liquidity Pools
  3. Perp Pools

AMM Strategy

Overview

Perpetual liquidity pool's AMM quoting strategy is based on parameters that are carefully selected and assigned to perp markets based on their underlying risk profile.

Markets with similar market cap, liquidity, volatility, and price correlations will be grouped and assigned a quote strategy with parameters appropriate for that market.

This helps liquidity providers (LPs) achieve a few goals:

  1. Balance Risk & Reward for LPs: Having different quote strategies for different market groups minimizes the risk for LPs while still providing an attractive spread for traders so that fees can be earned.

  2. Simplify Choices for LPs: By grouping similar markets, we enable liquidity providers (LPs) to easily select pools that match their risk profiles, eliminating the complexity of analyzing each market individually. This creates a more coherent and predictable environment for LPs.

  3. Efficient Portfolio Management: Grouping similar markets allows LPs to manage their portfolios more effectively, balancing risk and potential returns without needing constant adjustments.

  4. Adapt to Market Dynamics: Our pools can be adjusted to ensure they remain aligned with the changing market conditions and preserve their relevance and effectiveness.

Quoting Strategy

Base Strategy

Perp Pool employs different quoting strategies based on the market's underlying asset risk to balance market liquidity and spread to protect liquidity providers. The base strategy is defined by a quote shape given by:

  • Price Ticks: Denominated in $1 increments.

  • Ratio: Denominated in percentage (%).

Each quote value represents the distance from the previous quote, with the first quote being set relative to the oracle price. The 'quote amount ratio' dictates the proportion of liquidity allocated to each quote.

Let's take a look at an example below.

The first quote will be $1 away from the oracle price with 30% of the liquidity, while the second quote will be $3 away from the previous quote with 70% of the liquidity.

Example:

Quote Strategy
Details

Quote

1

Quote price type (price_ticks or ratio)

price_ticks

Quote price value

$1.00

Quote amount ratio

0.3

Quote

2

Quote price type (price_ticks or ratio)

price_ticks

Quote price value

$3.00

Quote amount ratio

0.7

Volatility Skew

To ensure liquidity providers do not take unnecessary losses during volatile market periods, the quote shape is further skewed by historical volatility (HV). The protocol tracks the market's past 20-day, 1-hour, and 1-minute HVs and skews the quotes away from the spread based on the assigned weights and thresholds of each HV bucket.

Position Skew

On top of using the funding (borrow) rate, the pool also skews the quote strategy based on its current position, making it more attractive to trade against the pool's position and vice versa when it's position size is large. This keeps the pool more delta-neutral, reducing the LP's market risk.

Notice Period

Demex adheres to a transparent and predictable approach for adding or removing markets as well as any changes in parameters linked to Perpetual Liquidity Pools.

Demex aims to provide notice to all liquidity providers by issuing a 48-hour notice via app notifications, community channels, and within the Demex application before any of the above changes are enacted.

This notice period helps to ensure that LPs have adequate time to adjust their liquidity provision in response to any upcoming changes.

Quick Links

PreviousDeposting & RedeemingNextNitron (Lend & Borrow)

Last updated 11 days ago

Was this helpful?

All perp pool details, such as the denom, vault address, supply cap, borrow fee, and quote strategy, can be found here:

The fee structure of the pool can be found here: [SWTH address of the pool]

Example for Celestia ecosystem perp pool:

💰
https://api.carbon.network/carbon/perpspool/v1/pools
https://api.carbon.network/carbon/market/v1/fee_structures/
https://api.carbon.network/carbon/market/v1/fee_structures/swth1hf6ngj0t76tl45hnjy5zcjzj4wcnuvcwj580uf