> For the complete documentation index, see [llms.txt](https://docs.carmine.finance/carmine-options-amm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carmine.finance/carmine-options-amm/mechanics-deeper-look/slippage.md).

# Slippage

There is a delay between user observed price and actual trade price. Where first one is an observation of the current state of the market by the user and the other is price of the trade that the user did based on its initial observation.

To make sure that the used does not receive bad (worse than expected) price we will use slippage parameter that will protect the user. The user will provide price that he/she is willing to trade at and maximum deviation from that price (slippage). If the final price is outside of this deviation then the trade does not happen.&#x20;


---

# 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:

```
GET https://docs.carmine.finance/carmine-options-amm/mechanics-deeper-look/slippage.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.
