Metal X
API DocsMetal XWebAuth WalletLoan Protocol
  • DEX
    • What is Metal X?
      • Trading Interface
      • Trading on Metal X DEX
      • DEX fees and discounts
      • Referral program
      • Metal X FAQ
  • Developers DEX
    • Smart Contract
      • Contract Address
      • Tables
      • Actions
    • Contract Mappings
      • Order Types
      • Fill Types
      • Order Status
      • Order Side
      • Status codes for markets
      • Common Errors
    • Examples
      • Installation + Initialization
      • Submit DEX Order
      • Cancel DEX Order
      • Order Lifecycle
    • Audit
    • Oracles
  • Swap, Pools & Farms
    • What is Metal X Swap?
      • Trading Interface
      • Swap fees and discounts
      • Liquidity Pools
      • Farming
      • Metal X Swap FAQ
  • Developers Swap
    • Tables
      • Actions
      • Contracts
      • Audit
  • XPR Network
    • XPR Network & Ecosystem
  • dex bot
    • About
    • Installation
  • Support
    • Guides
Powered by GitBook
On this page
  1. Developers DEX
  2. Contract Mappings

Status codes for markets

This represents status codes for the specific market(trading pair).

INACTIVE(= 0): Currently this market is not active at the moment and users can't place the orders.

ACTIVE(= 1): It is active and users can place orders.

NOT_IN_USE(= 2): This market is not in use anymore.

DISABLE_ORDERS(= 3): Placing orders is disabled for the market, but existing orders will get processed.

DISABLE_FILLS(= 4): Filling the existing orders for this market is disabled.

DISABLE_ORDERS_FILLS(= 5): This option disables both placing and filling orders.

DISABLE_STOPLOSS_TAKEPROFIT(= 6): Disable stoploss and takeprofit activity.

PreviousOrder SideNextCommon Errors

Last updated 1 year ago