# Advanced Settings

&#x20;To tailor your swapping needs, click the dropdown arrow beside 'Max Slippage' located above the 'swap' button and **customize the settings** according to your preferences.

## Max Slippage

&#x20;As any trader can **front-run** your transaction by paying a higher gas fee or using other methods, a negative slippage might occur. The **"Max Slippage"** feature is designed to mitigate this risk and protect traders. By adjusting the maximum amount of slippage, you can set a **threshold** so that if the swap ratio is worse than the set threshold, the swap will not be executed. You can also set custom slippage from 0 to 100.

<figure><img src="https://2640350200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNGkeCh7fxvjkwxSfVb7o%2Fuploads%2FmOQmEVD3Bl8nbyOQBS7c%2Fadvanced%20settings.png?alt=media&#x26;token=90e685c7-fd7d-453f-bc12-36c556df8e01" alt="" width="563"><figcaption></figcaption></figure>

## Max Edge

&#x20;To understand Max Edge, you will first need to understand what a **hop** is. A hop occurs when crypto assets are swapped from one type of token to another using a pool.&#x20;

&#x20;For instance, if you swap ETH for USDC on Uniswap, that counts as **one hop.** If you swap ETH for USDC on Uniswap and then swap the resulting USDC for DAI on Curve, that counts as **two hops. "Max edge"** refers to the maximum number of hops that a swap path can pass through.

<figure><img src="https://2640350200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNGkeCh7fxvjkwxSfVb7o%2Fuploads%2FhvYJiEoGZefEPV4EwVZT%2Fadvanced%20settings-1.png?alt=media&#x26;token=77c020e4-9177-4271-aa57-aca4c4d45e96" alt="" width="563"><figcaption></figcaption></figure>

## Max Split

&#x20;**"Max split"** denotes the maximum divisions for selling tokens when Sherpa executes swaps across multiple DEXs. To illustrate, with a max split value of 10, the tokens available for sale can be partitioned into a maximum of 10 segments, each comprising about 10% of the total sell tokens.

<figure><img src="https://2640350200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNGkeCh7fxvjkwxSfVb7o%2Fuploads%2F0tGr2ZeAoobdXZEYBGOQ%2Fadvanced%20settings-2.png?alt=media&#x26;token=71ab47df-080a-4b31-9eac-e3736adca437" alt="" width="563"><figcaption></figcaption></figure>
