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

# Take profit and stop loss

A take profit (TP) closes your position when price moves in your favour to a level you set. A stop loss (SL) closes it when price moves against you. Both are trigger orders that fire on mark price.

We strongly recommend setting a stop loss on every trade.

## On the order panel

When placing a market or limit entry, the panel exposes Take Profit and Stop Loss inputs. Set a price, or set a percentage move from entry, and the order bundles both exits with the entry.

Side rules:

* **Long:** TP above entry, SL below entry.
* **Short:** TP below entry, SL above entry.

The panel rejects values on the wrong side.

## On an open position

Click **TP/SL** on the position row to open the visual editor. Drag the green handle for TP and the red handle for SL, or type a percentage. The panel shows the resulting profit or loss in USDC.

Save replaces any existing TP and SL for the position.

## Market or limit

Each trigger can fire as a market or limit order.

* **Market**: guaranteed trade, pays the taker fee. Best for stop losses.
* **Limit**: fires as a resting order at the trigger price, pays the maker fee if it trades. Can miss in a fast move.

## Things to know

* **Gap moves.** If the market gaps past your stop, the trade uses whatever price is available. Slippage on a stop is real.
* **Manual close.** Close the position yourself and the TP/SL cancel automatically.
* **Partial trades.** If the position size changes, the trigger order size adjusts to match.

## Cancelling

Open triggers show in the **Open Orders** tab. Cancel any row to remove that side.

## Not supported yet

* Trailing stops.
* OCO outside of a bracket.


---

# 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://velocity-1.gitbook.io/velocity-docs/trading/take-profit-stop-loss.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.
