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

# Take Profit & Stop Loss (TP / SL)

Astrum provides a simple and powerful system for automating profit-taking and loss protection.\
TP and SL can be turned on or off **instantly** during trading, and they execute using your chosen **priority fee** and **slippage** settings.

***

### **1. Configuring TP and SL**

Before using Take Profit or Stop Loss, you must set your desired percentages.

#### **How to Configure**

1. Open **Settings**.
2. Find the **Profit & Loss Limits** section.
3. Set:
   * **Take Profit (%)**
   * **Stop Loss (%)**
4. Below the inputs you will see the **Break-even Win Rate calculator**.

This calculator shows:

* the % of winning trades required to stay profitable
* based on your chosen TP and SL ratio

Example:\
TP +5% and SL −5% gives a **Break-even win rate = 50%**.

***

### **2. Enabling TP / SL During Trading**

Once TP and SL are configured:

1. Return to the **main Astrum trading panel**.
2. You will see toggles for **TP** and **SL**.
3. Click to enable them.
   * **Enabled state = bright orange indicator**
   * **Disabled state = grey indicator**

You can enable or disable TP/SL **at any moment before or after opening a trade**.

***

### **3. What Happens After You Buy a Token**

When you execute a Buy order with TP and/or SL enabled:

* Astrum automatically creates **two limit orders**:
  * one at your Take Profit target
  * one at your Stop Loss target

You can view them in:

👉 **Trades → Active Orders**

In this tab, you can:

* monitor both orders
* delete either TP or SL
* wait for automatic execution

If the TP or SL trigger hits, Astrum executes the order instantly using:

* your configured **priority fee**
* your configured **slippage**

After execution:

* the order disappears from Active Orders
* the result appears in the **trade history table** below

***

###


---

# 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, and the optional `goal` query parameter:

```
GET https://astrum-trade.gitbook.io/astrum-trade-docs/solana-trading/take-profit-and-stop-loss-tp-sl.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
