> For the complete documentation index, see [llms.txt](https://docs.linora.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.linora.finance/trade/tp-sl.md).

# TP/SL

What is a TP/SL?

A TP/SL order consists of a Take Profit Market trigger order and a Stop Loss Market trigger order. Once one of the order is triggered, the other order will be canceled. Due to this behaviour, TP/SL is also a subset of One-Cancels-Other (OCO) order.

A trader usually has price levels in mind where they want to take profit from a position or stop out of it.

Normally, the trader has to place a Stop Loss order and a Limit order separately. If one of the orders gets filled, they would have to manually cancel the other order themselves, else they risk being filled twice

This is where TP/SL comes in handy, allowing them to place both orders at the same time, without worrying the need to cancel one of them when the other is filled.


---

# 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:

```
GET https://docs.linora.finance/trade/tp-sl.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.
