# How do TP/SL limit orders work?

## Stop-Loss (SL) and Take-Profit (TP) Limit Orders

Stop-Loss and Take-Profit orders are triggered by the **mark/last/mid price**. Once triggered, a limit order is placed to try close off your position.

***

### Long Positions

#### Stop-Loss (SL)

If you are long and set:

* **Trigger price:** $25
* **Limit price:** $25

When the mark price falls below $25, a **limit sell order at $25** will be placed.

If the market drops quickly from $26 to $23, your order may rest at $25 without filling.

If instead you set:

* **Limit price:** $22

The order has a higher probability of filling somewhere between $23 and $22 during a sharp move.

Lower limit prices increase fill probability but may result in worse execution.

***

#### Take-Profit (TP)

If you are long and set:

* **Trigger price:** $32
* **Limit price:** $31.50

When the mark price rises above $32, a **limit sell order at $31.50** will be placed.

This protects you from selling below $31.50 if the price quickly retraces after triggering.

***

### Short Positions

#### Stop-Loss (SL)

If you are short and set:

* **Trigger price:** $30
* **Limit price:** $30

When the mark price rises above $30, a **limit buy order at $30** will be placed.

If the market spikes rapidly from $29 to $33, your order may not fill.

If instead you set:

* **Limit price:** $34

The order has a higher probability of filling somewhere between $33 and $34 during fast upward moves.

Higher limit prices improve fill probability but may result in worse execution.

***

#### Take-Profit (TP)

If you are short and set:

* **Trigger price:** $20
* **Limit price:** $20.50

When the mark price falls below $20, a **limit buy order at $20.50** will be placed.

This ensures the order will not fill at a worse price (above $20.50) if the market rebounds after triggering.


---

# 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://pacifica.gitbook.io/docs/support/trade-outcomes/my-tp-sl-did-not-execute-properly/how-do-tp-sl-limit-orders-work.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.
