# Trade Spot

This guide will walk you through everything you need to know to start trading tokens on the spot market using QuantHive.

{% hint style="warning" %}
**Note:** Make sure your wallet has been funded with the correct tokens on the network you are swapping on, in order to pay for gas fees. Otherwise, your transactions will fail.

* Ethereum -> $ETH
* Arbitrum -> $ETH
* Base -> $ETH
* Optimism -> $ETH
* Polygon -> $POL
* Sui -> $SUI
* BNB Chain -> $BNB
* Solana -> $SOL
  {% endhint %}

{% hint style="info" %}
**Note:** In this guide, we’ll use MetaMask as an example for trading spot on QuantHive.
{% endhint %}

## Swapping On QuantHive Spot

**Step 1:** Sign in to your QuantHive dashboard (<https://app.quanthive.ai>) by clicking **SIGN IN** at the top-right corner.

<figure><img src="https://i.ibb.co/Y4DCsSf8/qh-signup1.png" alt="" width="563"><figcaption></figcaption></figure>

* Next, click **Sign** when the Signature Request window appears.

<figure><img src="https://i.ibb.co/YFxYDvsq/qh-signup-4.png" alt="" width="188"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:** If you do not have a QuantHive account yet, sign up for free now using this [guide](/docs/guides/signup.md).
{% endhint %}

**Step 2:** Click on **SPOT** in the top left corner to switch to Spot mode.

<figure><img src="https://i.ibb.co/whBP7S3g/perp-spot.png" alt="" width="563"><figcaption></figcaption></figure>

**Step 3:** Select a token from the discovery list by clicking on it.

For this example, we’ll use the **$SUSHI** token.

<figure><img src="https://i.ibb.co/k6J8dFzn/spot-1.png" alt="" width="563"><figcaption></figcaption></figure>

**Step 4:** Once you're on the token page, verify that the correct wallet address is shown in the swap module and that your wallet is connected to the correct network for the token you're trading.\
\
After confirming both, click the **Select Token** dropdown to proceed.

<figure><img src="https://i.ibb.co/JRQ0fBmM/spot-2.png" alt="" width="563"><figcaption></figcaption></figure>

**Step 5:**  A token selection window will appear. Type in the name of the token you want to swap from, then click on that token from the list.

For this example, we'll select **USDC**.

<figure><img src="https://i.ibb.co/JWB9bjtV/spot-3.png" alt="" width="375"><figcaption></figcaption></figure>

**Step 6:**  Next, enter the amount of tokens you want to swap, then click the **SWAP** button.

In this example, we’ll enter **10 USDC**.

<figure><img src="https://i.ibb.co/cc1zrRtK/spot-4.png" alt="" width="563"><figcaption></figcaption></figure>

**Step 7:**  If this is your first time spending this token (eg. $USDC) on QuantHive, your wallet will prompt a spending cap approval. Click **Confirm** to proceed.

Otherwise, you can skip this step.

<figure><img src="https://i.ibb.co/6R1bYzG4/spot-5.png" alt="" width="375"><figcaption></figcaption></figure>

**Step 8:**  Next, a transaction request will popup from your wallet app. Click on **Confirm** to approve the swap.

<figure><img src="https://i.ibb.co/LdfyDrHP/spot-6.png" alt="" width="563"><figcaption></figcaption></figure>

**Step 9:** Once the swap is successfully completed, a confirmation message will appear at the top right of the screen.<br>

Congratulations! You’ve made your first spot swap on QuantHive!

<figure><img src="https://i.ibb.co/3y0r4xnp/spot-7.png" alt="" width="375"><figcaption></figcaption></figure>

## Swapping Back

To sell a token, click the rotate button in the middle of the swap module to switch the swap direction. If you want to sell your entire balance, click the MAX button.

Then, simply repeat [steps 6 to 9](#swapping-on-quanthive-spot) to complete the sale of your tokens.

<figure><img src="https://i.ibb.co/XZ2m6BSf/spot-11.png" alt="" width="375"><figcaption></figcaption></figure>

## Troubleshooting A Failed Transaction

**Step 1:** If you receive an error message like this, please follow the troubleshooting steps below to resolve it.

<figure><img src="https://i.ibb.co/N67z969Y/spot-8.png" alt="" width="375"><figcaption></figcaption></figure>

**Step 1:** This issue is most likely caused by high slippage during the swap. To resolve it, adjust the slippage tolerance by clicking the **gear icon**.

<figure><img src="https://i.ibb.co/hxBWBbCc/spot-9.png" alt="" width="375"><figcaption></figcaption></figure>

**Step 2:** A slippage tolerance settings window will appear. You can select any higher slippage percentage here directly by clicking on them or select the custom input field on the right side to key in any amount you want.<br>

In this example, we will be keying in **5%** and clicking the **BACK** button once done.

<figure><img src="https://i.ibb.co/tMCD5tj7/spot-10.png" alt="" width="375"><figcaption></figcaption></figure>

**Step 3:** You will be returned to the token page to try the swap again. Make sure the slippage percentage now shows the correct value, then repeat the swapping steps starting from [**Step 6**](#swapping-on-quanthive-spot).

<figure><img src="https://i.ibb.co/zT8Rspwk/spot-12.png" alt="" width="375"><figcaption></figcaption></figure>

{% hint style="warning" %}
**Note:** If you are still experiencing issues with swapping tokens, please contact our team by submitting a ticket on Discord at <https://quanthive.ai/discord>.
{% endhint %}


---

# 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://quanthiveai.gitbook.io/docs/trade-spot.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.
