# How to Trade

## 1. Connect Wallet

* You need to connect your wallet to use waveX.
* Use an EVM-compatible wallet, such as MetaMask.
* This guide uses MetaMask as an example.

## 2. Go to the Trading Page

## 3. Select a Market

* On the left side, select a market for trading.

## 4. Open a Position

#### 1) Open Positions

* Open long or short positions in the trading section on the right.

#### **2) Select Long/Short**

* Choose between a long or short position.

#### 3) Choose Initial Collateral Asset

* The asset you choose can be automatically swapped to other collateral. Swap fees may apply.

#### 4) Enter Collateral and Leverage

* Enter the amount of collateral and desired leverage.

#### 5) Review Position Details

* Review details like position size, fees, and estimated liquidation price.
* The position size is determined after fees and leverage are applied.

#### 6) Click ‘Long’ or ‘Short’

* For first-time trades, you need to approve the plugin. After approval, proceed by clicking ‘Long’ or ‘Short.’

#### 7) Confirm the Transaction in Your Wallet

#### 8) View Open Positions

* Once the transaction is successful, view your open positions in the 'Position' tab at the bottom left.

## 5. Close a Position

* Close your open positions by clicking the 'Close' button.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wavex.fi/wavex-guide/how-to-trade.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
