# Trading Settings Guide

## Purchase Priority Fee

* The **purchase priority fee**, or **gas priority fee**, significantly impacts the speed of transaction confirmation during buying. To accelerate the confirmation process, users can set various levels of gas priority fees, including standard, fast, and ultra-fast options.
* For users seeking quick transactions, the standard gas priority fee can be set to 0.00025 SOL, the fast option to 0.0005 SOL, and the ultra-fast can be elevated to 0.002 SOL or higher. Actual gas priority fees can be customized according to trading preferences.

## Selling Priority Fee

* Similarly, the **selling gas priority fee** also significantly affects the speed of transaction confirmations. Like buying settings, the gas fees for selling transactions can be customized based on user needs.
* For rapid transactions, we recommend setting the standard gas priority fee at 0.00025 SOL, fast at 0.0005 SOL, and ultra-fast at 0.002 SOL or higher, adjustable according to individual trading habits.

## Slippage Tolerance

* **Slippage tolerance** refers to the allowable difference between the expected price and the actual execution price, with a variance factor = 1/(1 - slippage). For example, a 50% slippage tolerance means accepting up to a 2x price difference, while 100% indicates no limit on the price gap.
* Slippage controls the range of price variation you are willing to accept upon trade execution. uGun currently supports a high-speed mode, allowing slippage settings from 0% to 100%.
* In high-speed trading modes, it is advisable to set lower slippage to avoid potential sandwich attacks.


---

# 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.udex.one/feature/ugun/trading-settings-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.
