> For the complete documentation index, see [llms.txt](https://docs.xnomad.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xnomad.ai/xnomad.fun/on-chain-interaction/trading-setting.md).

# Trading Setting

<figure><img src="https://1882987621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVoKiPusrRCJjDLOAu1ux%2Fuploads%2FxjX9NwFUPRUv8ko1kgG0%2Fimage.png?alt=media&amp;token=47666ee2-c5e4-4842-97dd-01e3fb7354f4" alt="" width="563"><figcaption></figcaption></figure>

The **Settings** section applies to all trades executed by your agent.

### **Trading Mode**

* **Fast** – Sends transactions to the next available validator for the highest execution success rate.
* **Anti-MEV** – Protects against MEV (Maximal Extractable Value) attacks, preventing sandwich attacks.

### Additional settings include:

* **Slippage Tolerance** – Define the maximum price deviation allowed.
* **Priority Fee** – Adjust transaction fees to prioritize speed.
