# Trading on Metal X DEX

**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.

<figure><img src="https://1068387139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2KWLHP2zE3VO3AoelaSy%2Fuploads%2F4iduhUUd2mwKpZ5NWNqV%2FScreenshot%202026-01-20%20at%2010.59.50%E2%80%AFAM.png?alt=media&#x26;token=c96228f5-2380-4eec-8689-f8106f08a6e8" alt=""><figcaption></figcaption></figure>

In this example, user want to trade XPR/XMD pair. `Buy XPR` window shows that user want to buy XPR worth 1 XMD at a price of 0.0035. Similarly `Sell XPR` window shows that user want to sell 222 XPR at a price of 0.0045

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

<figure><img src="https://1068387139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2KWLHP2zE3VO3AoelaSy%2Fuploads%2FpPsjKPUrZsZEzh7m7kCV%2FScreenshot%202026-01-20%20at%2011.01.16%E2%80%AFAM.png?alt=media&#x26;token=358e02a7-b8b4-4643-a263-a5efeb66cf2c" alt=""><figcaption></figcaption></figure>

In this example, user want to trade XPR/XMD pair. `Buy XPR` window shows that user want to buy XPR worth 1 XMD at market price. Similarly `Sell XPR` window shows that user want to sell 300 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.

<figure><img src="https://1068387139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2KWLHP2zE3VO3AoelaSy%2Fuploads%2FDaw0JqvV92e8ADcrHx9h%2Fstop%20loss%20buy.png?alt=media&#x26;token=ffeb0493-2f78-43da-8b34-8770774d5bdd" alt=""><figcaption></figcaption></figure>

In this example, `Buy XPR` window shows that user want to place a stoploss order(cover the sold assets) at a trigger of 0.004 with a price of 0.0035. Once the trigger price is reached, the order will be promoted to orderbook and get matched with available orders at a price of 0.0035 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.

<figure><img src="https://1068387139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2KWLHP2zE3VO3AoelaSy%2Fuploads%2FtCN1ai7u1MXEl82SGTaM%2Ftake%20profit.png?alt=media&#x26;token=bb1795aa-82d7-4893-9c82-0b5ea4bca822" alt=""><figcaption></figcaption></figure>

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.008 with a selling price of 0.0081. Once the trigger price is reached, the order will be promoted to orderbook and get matched with available orders at a price of 0.0081 or more.

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

<figure><img src="https://1068387139-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2KWLHP2zE3VO3AoelaSy%2Fuploads%2F8B9YDJm1aVHMVynkSSRk%2FScreenshot%202026-01-20%20at%2011.09.16%E2%80%AFAM.png?alt=media&#x26;token=2fd98cc2-c383-4916-baed-1bbf9242df09" alt=""><figcaption></figcaption></figure>
