# Trading

Trading on SailFIsh DEX allows users to swap tokens seamlessly by leveraging the liquidity available within the protocol. SailFish’s routing engine automatically determines the optimal path across liquidity pools—whether through a single efficient hop or by linking multiple pools—to ensure trades are executed with minimal fees and slippage.

When ample liquidity exists for a given token pair, the swap is completed in a single transaction, reducing costs and slippage. In scenarios where liquidity is more limited, the router intelligently applies a multi-hop approach, connecting several pools to facilitate a smooth exchange.

SailFIsh’s intuitive web interface further empowers traders by enabling customization of key trading parameters, including:

* **Trade Tokens:** Select the input and output tokens for the swap.
* **Trade Amount:** Specify a fixed input or output amount for the transaction.
* **Slippage Tolerance:** Define the maximum allowable slippage (default is set to Auto).

<figure><img src="/files/nPHI7KIEjwrk4A7K5esM" alt=""><figcaption></figcaption></figure>


---

# 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://vedex.gitbook.io/docs/dex-features/trading.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.
