# Take Profit and Stop Loss

**How It Works**

Intent-based integrates proprietary Take Profit (TP) and Stop Loss (SL) solutions through its SYMMIO core contracts. This system automates trade closures when the target price conditions are met, leveraging a combination of reliable price feeds and fallback mechanisms for accuracy.

* **Price Triggers:**
  * **Price ≥ TP** → System triggers a close request to the solver.
  * **Price ≤ SL** → System triggers a close request to the solver.
* **Price Source:**
  * **Default:** Last Price (aligns with market charts under normal conditions).
  * **Volatility Protection:** Mark Price replaces Last Price if their divergence exceeds 0.25%.
  * **Fallback Mechanism:** Ensures uninterrupted operation even if primary price feeds fail.

Once triggered, positions are closed at the Market Price, which may differ slightly from the trigger price due to execution delays.

**Execution Details**

* **Gas-Free Transactions:** Powered by Account Abstraction technology, our intent-based system sponsors transaction gas costs for users.
* **Execution Time:** Closing requests are processed within 3–5 seconds. During this interval, price fluctuations may affect execution success.
* **Scalping Limitation:** This system is optimized for medium- and long-term trades, not high-frequency scalping or low-timeframe strategies.

{% hint style="danger" %}
**System Limitations:** Intent-based ensures close requests are sent to solvers but cannot guarantee execution due to SYMMIO’s and solver-side dependencies. Further improvements, including redundancy measures, are planned for a more robust solution.
{% endhint %}

***

**Setting Stop Loss and Take Profit**

Adding SL and TP to your positions is quick and easy:

1. **Access Your Position:** Open the Positions tab and locate the SL/TP settings.
2. **Enable Stop Loss:** Approve the intent-based system to manage your position closure. This one-time setup is required.
3. **Set Targets:**
   * Select percentage-based thresholds or input custom prices.
   * Confirm your Take Profit and Stop Loss values.

***

The intent-based’s SL/TP system is designed to simplify trade risk management. While it provides a reliable and user-friendly solution for most trading scenarios, users should be aware of potential delays or incomplete executions during volatile market conditions. For short-term or high-frequency trading, manual monitoring is recommended.


---

# 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.xpanse.trade/intent-based-system/trading-on-intent-based-system/take-profit-and-stop-loss.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.
