> For the complete documentation index, see [llms.txt](https://docs.carbon.inc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.carbon.inc/trading/take-profit-and-stop-loss.md).

# Take Profit & Stop Loss

Carbon offers instant execution for Stop Loss (SL) and Take Profit (TP) orders, ensuring traders can secure profits or limit losses without delays. Once triggered, the order is executed immediately at market price.

***

### <mark style="color:$info;">How SL & TP Work</mark>

1. **Price Hits Target**

* Take Profit (TP) → If the market price ≥ TP, the position closes instantly.
* Stop Loss (SL) → If the market price ≤ SL, the position closes instantly.

2. **Reliable Pricing Mechanism**

* Prices are sourced from Binance price feeds, Last Price, and Mark Price with fallback protections to prevent manipulation.
* Default Trigger: Uses Last Price (99% of the time).
* Volatility Protection: If Last Price deviates >0.25% from Mark Price, the system switches to Mark Price to prevent bad fills.

3. **Instant Execution at Market Price**

* SL/TP orders execute immediately once triggered—no delays, no waiting.
* Orders fill at market price, which may differ slightly from the trigger price due to market movement.

4. **Gasless Transactions**

* Carbon covers gas fees, making SL/TP execution free for users.

{% hint style="info" %}
Warning: As a front-end implemented solution, Carbon cannot guarantee that the close order is complete on the solver side, only that the close request is sent correctly to the solver. This dependency exists on the SYMMIO and solver side, with further development required to create a 100% robust system, including a multi-dimensional system with redundancies on both the Carbon and solver side.
{% endhint %}

<figure><img src="https://3351097766-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbpemdioXs8P0YBsLx7uh%2Fuploads%2Fd3zRQUHfTekuzkRn6d7Y%2Fimage.png?alt=media&amp;token=defe0bf5-6713-49c5-9245-bf4a40e950be" alt=""><figcaption></figcaption></figure>

**🚨 Important Note: Carbon ensures the order is executed instantly, but final execution depends on liquidity availability at the time of the trigger.**


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.carbon.inc/trading/take-profit-and-stop-loss.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
