# Guide

This guide provides an overview of trading perpetual contracts on the intent-based system using your Web3 wallet. Here’s what you’ll learn:

* How to connect your wallet and set up your account
* Depositing collateral for your trades
* Selecting assets and adjusting leverage
* Placing, managing, and closing your trades
* Withdrawing your collateral after completing trades

***

**Getting Started**

Follow these steps to begin trading! We’ve broken down each part of the process for you below.

***

#### 1. Connecting Your Wallet & Creating Your Account

* **Wallet Connection:** First, click "Connect Wallet" in the top-right corner, and choose your wallet type. Ensure you’re on the correct network and follow the prompts to complete the connection.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfpA2f51_gChasn8MSZGgpe8x-hx36qvJTCbrrDsq9I1gf3GAMmljrxm_ya8tl-cXuLXG_fPfokS3vZfqolsBuXyXohJj2x9AdcvEX-gA0CihvrGZSNby6y150ZZev8JNhTKmfDyA?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

* **Create Your Account:** Go to your Account Manager and click “Create Account.” You’ll name your account, and sign the transaction.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXd0CVwhOgvX8pS8e10tQlRVUoEqwILdY0HIw7mmcV3ZVYgF7E7nGnmYfXm54wxhZMArozsMecyT2mGWFJ1PlNTy8TFKTkhJ1EuGsLNXe48NiPzB7hz6qSrGFVaSpW83sHAZ0V_CLQ?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

\ <br>

* **Optional Setup:** For better management of positions, you can create sub-accounts to isolate different trades.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXc4YUGlWFfLjgHlLJSn0OmBrDLabjN41Kb-3CD5G4c7cQuYFi4LrbpXXbGf6CySB9yKhp6v2kka1nHAwW57dU-OsQoiy1ylZctPvGtdFDoRs8jkrZJbO1693SkYU88DH8WOZ0JcxA?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### 2. Deposit USDC for Trading

* **Deposit Funds:** Enter the amount of USDC you wish to deposit as collateral, then confirm the transaction in your wallet.
* **Gas Fees:** MODE will be required for gas fees on your selected network.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXedEBSdekz4y_yQPuwl28e1tMzwLH7D65LbpGQpScsDHiCkPvXpZYk_yEJ5-qTCz_MXNtUQlAL8M9Nc8qU8zZ3Nf-dKVT3X3NPsogkCY4GJqnTeOCxJIO6aZbG7Z7I3ddyHr7qXgw?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### 3. Choose Your Trading Asset

* **Select Asset:** Pick the asset you want to trade from the dropdown.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdOn0S-cvdHz4Vl_eotz89e9HR8hxuSORBptYD6VKBF9ebD2hXNIby0aRwX-ZPlovMVg6IsBqYimLNQrzDLxPC6GEs4rmIKP9i5iNOxvKrtnv8YH68Ki_AgMKqUHOEANiTEpg6T_g?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

* **View Chart:** You can see an asset chart to help you with your decision-making process.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXckSVqwSuhXy9Dzo82QzkhSa0fx7upY4FyDTrX_UdIwyxPM7ShqzOZlNKwLzK7jhf1yTp5fW-ZhHyB6NLgsHnM4Vpu384I26hlcuNiLOlK4sdxPpuFC8L8zTtuU3edXS3nhvK85mA?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### 4. Adjust Leverage & Determine Position Size

* **Set Leverage:** Choose the leverage that fits your risk tolerance.
* **Select Position Direction:**
  * **Long** if you expect the price to rise.
  * **Short** if you anticipate the price will fall.
* **Define Position Size:** Enter the trade size manually, or select a percentage of your maximum position.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcWhvAJIOAQW65BEZHCLyFxI7Ru3dpOg33cj8z_WvJylP0RGDH-lDTd9_xqbFEBlYZYtrOQFIwcojcIhmVkRFQ1vlsjPm6G_JnYIYLR7LnYh_NG5Oyr5y0i2_el6SEXBpokzu59_Q?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### 5. Confirm Trade Intent

* Order Type:
* * Market Order: This executes instantly at the current market price, but may have slippage.
  * Limit Order: Set your desired entry price, and the order will execute when the market reaches that price.
* Confirm & Sign: Once you’re happy with the quote, click ‘Place Order’ and sign the transaction in your wallet to finalize your intent.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdJA_oY08YBfWc7Vey1oid-EuInWtO8szN28Rrly2UMyKQHbr5KFO8TwZmSsVIA8X5Wg80g-WVxV3y2oDXq-OElbBafwqBGvePdU9qcdJM7oXopf2OVVpYjin1U0SdN3O18hVzj2w?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### 6. Trade Request Submission

* **Pending Status:** Your request is now on-chain, marked as “Pending,” while the solver processes it.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXec_6g03sm8wPci2CN7JmWoBzjOnc8fVJGoCTv6NxTwy0yOD42oxlGANEW0wPSwFcls0AQQXsWUHbqpOgo5blCN2LGJzpE-nVjTxonMIkUTPrM24w5YS2U3wd81b6x5kIQyaPHnuw?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

* **Position Opened:** The solver will fill the order, and your collateral will become "Locked Margin".

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeGkF_waLqUDg3cg2o2Fa-Kkaoqs0v-2Pr1fFbtvZi1DhlExejdrOHdmO_M5sLw9fCOB_DkQnbJj1Xup1SubcoYOk1nE6iSX60U5UWcqR9qBNo5KWzrtdlJDyrr--ztaqBk2sU5?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### 7. Monitor Positions and Account Health

* **Track Your Trade:** Regularly monitor your open positions, margin status, and account health to avoid liquidation risks.
* **Collateral Adjustment:** If necessary, deposit more USDC to add to your "Locked Margin" and mitigate liquidation risks.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfBO-yiCN8ejANNuoa7KxSdFxB5fdbeU_9XUm7qZrZVW0lkAUchQy3uw4mxSNUbcHrgUrKg98O71NDtEUpoVJpo0sld_XH8eK2GFirU83kOyRMJFuRIPN_TIzDpd-47hGcH04R5GA?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### 8. Closing Your Position

* **Closure Options:**
  * **Market Order:** Closes your position instantly, but may incur [slippage](https://academy.binance.com/en/glossary/slippage).
  * **Limit Order:** Close your position once the market price reaches your specified exit price.
* **Confirm Closure:** Click "Close Trade" and sign the transaction in your wallet.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeQ2ULYVBlHrx0mw39-1z72JeHxEmgbeE9qDjEYk5NjRuNEqsh8l0Q9MDQ4XqcOAKM69zEngDELHEPsvi1i2BbKuXp5Rlcy34Pc_rG7V8GjfI9mvE4lveYH-VQ5mjYoIZH4lLIaUA?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### 9. Submit Request to Close

* **Pending Close:** After confirming your closure intent, the request is sent to the solver and will remain "Pending" until closed.
* **Return Collateral:** After closure, your collateral and any profit/loss will be returned to your “Allocated Balance” and can be used for future trades or withdrawals.

***

#### 10. Withdrawing Collateral

* **Initiate Withdrawal:** Head to the withdrawal section, enter the amount to withdraw, and click "Withdraw."
* **Confirmation:** Confirm the transaction by signing it in your wallet.
* **Fraud-Proof Phase:** Withdrawals undergo a **12-hour fraud-proof phase** before they’re fully available. Your funds will be safe during this time and can be claimed once the phase is complete.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfnWapZO2-jQOURium6G0_Rx3BcFmT5NPz33nJ2VeNLWcorRxdDj1S1An0YA3-NM-ob1TBLMXtWBOmOkMK3diQ3sh5QzOhCcf8oqucyHydv4VyFY8WI7uF99szMBLah2RKYAc76?key=-SAo0e_sHtN8smOUqRqRpoOt" alt=""><figcaption></figcaption></figure>

***

#### Important Trading Tips

* **Regularly** monitor your margin and account health to avoid unexpected losses.
* Ensure you understand the assets you're trading and the leverage you're using.
* Never risk more than you can afford to lose.
* Familiarize yourself with the intent-based system’s features and risk management tools before you begin trading.

***

With this guide, you are now equipped to trade confidently on our intent-based system using your Web3 wallet. Always employ proper risk management techniques to protect your assets, and feel free to reach out to our support team for any questions or assistance along the way.


---

# 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.xpanse.trade/intent-based-system/trading-on-intent-based-system/trading-tutorials/guide.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.
