> For the complete documentation index, see [llms.txt](https://docs.flashx.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flashx.ai/buy-sell-settings/slippage-limit.md).

# Slippage Limit

### **What is Slippage?**

Slippage is the difference between the expected price of a token and the final execution price due to market volatility. If a token’s price moves beyond your slippage setting, the transaction may either **execute at a different rate** or **fail**.

<figure><img src="/files/oxLF2vnbRvCBDS4t1EW6" alt="" width="375"><figcaption></figcaption></figure>

#### **Example:**

* **You buy with 2 SOL**, expecting to receive **200 $MOON** (assuming the price is **1 SOL = 100 $MOON**).
* If you set the **slippage limit to 15%**, the trade will still execute even if the price rises to **1 SOL = 85 $MOON**.
  * In this case, you would receive **170 $MOON** instead of 200.
* If the price rises **beyond 15%**, the transaction will **fail** to prevent an unfavorable trade.

### **How to Set Slippage**

* **Higher slippage:** Increases the chance of execution but may result in receiving fewer tokens.
* **Lower slippage:** Reduces risk but might cause failed transactions if the market moves too quickly.

### **Pro Tips:**

✅ **Set a lower slippage** (0.5%-1%) for stable or low-volatility assets to avoid getting a bad price.\
✅ **Use a higher slippage** (5%-20%) for newly launched or fast-moving tokens to increase the chance of execution.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.flashx.ai/buy-sell-settings/slippage-limit.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
