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. DEX
  2. What is Metal X?

Trading on Metal X DEX

PreviousTrading InterfaceNextDEX fees and discounts

Last updated 1 year ago

Deposit: Any user/trader should have sufficient funds/tokens in their account before placing a trade.

Withdraw: User/trader can withdraw funds/tokens into their own account by cancelling the trades.

Place order

Limit Order: A Limit order is a sell/buy order placed at a higher/lower or better price than the current or specific price. Price needs to be quoted along with assets to buy/sell.

In this example, user want to trade XPR/XUSDC pair. Buy XPR window shows that user want to buy XPR worth of 75 XUSDC at a price of 0.75. Similarly Sell XPR window shows that user want to sell 100 XPR at a price of 0.8.

Market Order: Market orders executed immediately on placing order. If there no liquidity available, the orders will get cancelled immediately without pending in orderbook.

In this example, user want to trade XPR/XUSDC pair. Buy XPR window shows that user want to buy XPR worth of 75 XUSDC at market price. Similarly Sell XPR window shows that user want to sell 200 XPR at market price.

Stop-Loss Order: Stoploss orders are used to liquidate assets on reaching certain price level. To trigger/move/promote this order, trigger price needs to be reached.

In this example, Buy XPR window shows that user want to place a stoploss order(cover the sold assets) at a trigger of 0.7 with a price of 0.68. Once the trigger price is reached, the order will be promoted to orderbook and get matched with available orders at a price of 0.68 or less.

Take-Profit Order: Like stoploss orders takeprofit orders are also used to liquidate assets on reaching certain price level. The order will be trigger on reaching the trigger price mentioned in the order.

In this example, Sell XPR window shows that user want to place a takeprofit order(example: Book profits from the holding assets) at a trigger of 0.8 with a selling price of 0.81. Once the trigger price is reached, the order will be promoted to orderbook and get matched with available orders at a price of 0.81 or more.

Cancel Order: Pending orders(full or partial) can be cancelled. In the below mentioned example, order can be cancelled through Actionscolumn