# Opening/Closing Positions

### Opening a position

Opening and closing a position functions similar to any other perps exchange.

<figure><img src="https://2231722757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MigG4JjHTDtxrb2SknW%2Fuploads%2Fgzd3bR4Aohn1TYM5sYpy%2Fimage.png?alt=media&#x26;token=92b2a841-a43c-49d2-8e6b-1ad767e6fe3d" alt=""><figcaption></figcaption></figure>

* **Trade Type** and whether it is **long (buy) or short (sell)**.
  1. **Market:** To be used to open a trade immediately.
  2. **Limit**: To be used when you want to go long at a lower price than present or to go short if the price reaches a higher price than present.&#x20;
  3. **Stop:** To be used when you want to go long if the price reaches a higher price than present (breakup) or to go short if the price reaches a lower price than present (breakdown).&#x20;

{% hint style="info" %}
Conditional orders execute at an exact price, if the price reaches the condition. Fill may slightly vary depending on the Oracle price at the time the order execution is complete.
{% endhint %}

* **Collateral:** Maximum amount you are risking if you are liquidated. Your collateral to open your planned trade.
* **Leverage/Positions Size:** Traders can either pick a leverage multiplier or set their position size changes in one field will always correspond with changes in the other.
* **Your Stop Loss and Take Profit.** You are not obligated to use a stop loss, but this allows you to set up the entire trade before submitting an order.

### Closing an open position

{% hint style="info" %}
Closing an open position if all margin is exhausted or the trader doesn't have enough margin to reserve to execute the trade, the close has to be done through the `close position` modal by selecting `close` on the positions table on an open position.
{% endhint %}

<figure><img src="https://2231722757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MigG4JjHTDtxrb2SknW%2Fuploads%2FORwY0oMXkNZE8PfVv60H%2Fimage.png?alt=media&#x26;token=84058570-42ce-46f0-b9f2-ccd893083564" alt=""><figcaption></figcaption></figure>

Traders can only close a position by opening the opposite direction of the current trade only if they have sufficient margin for the order to reserve for execution.
