# Take Profit/Stop Loss

## TP/SL Overview

* **Take Profit (TP):** Automatically closes your position when the asset hits your target price, locking in profit without requiring you to monitor the trade.
* **Stop Loss (SL):** Automatically closes your position if the price moves against you past a set level, capping your downside.

> ⚠️ During rapid price movements, a liquidation may execute before a Stop Loss triggers. SL orders reduce risk but do not guarantee protection against liquidations.

## Setting Up TP/SL Orders

After opening a position, set your TP/SL prices:

1. Go to the **Active Positions** section.
2. Click the **TP** or **SL** button next to your position.
3. Set your price using one of two methods:
   * **Trigger Price:** Enter the exact price at which you want the order to execute.
   * **Estimated ROI:** Enter your target ROI and the system calculates the corresponding trigger price.
4. Confirm with a **gasless signature**.

## **Execution**

When the asset's price reaches your TP or SL trigger, the order executes onchain automatically. Your position closes at the best available market price. A one-time execution fee covers the gas cost of the onchain transaction.

## **Managing Active Orders**

Track and modify your TP/SL orders from the **Open Positions** section. Active TP/SL orders are indicated by lit-up buttons next to each position. You can update or cancel any order before it triggers.

TP/SL orders are tied to the trigger price you set. Because borrow fees accrue over time, your estimated ROI for a given TP or SL level may gradually decrease.


---

# 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.wasabi.xyz/_/overview/leverage-trade/take-profit-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.
