> For the complete documentation index, see [llms.txt](https://docs.apex.win/apex-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apex.win/apex-docs/order-types/stop-orders/trailing-stop-orders.md).

# Trailing Stop Orders

Trailing stop orders are similar to stop orders, the only difference is that the trigger price is dynamic. This means that you can set the trigger price to be a function of the subsequent trading prices.&#x20;

APEX supports two types of trailing orders:

* Absolute value trailing orders
* Percentage trailing orders

Absolute value trailing orders are set an absolute value below (or above) the best (or worst) available price since the order was created.&#x20;

Percentage value trailing orders are set a percentage value below (or above) the best (or worst) available price since the order was created.&#x20;

#### **Examples**

Bitcoin is currently trading at 55k. Alice decides to buy bitcoin once it drops 10k from the highest point after she opens her order. She sets a trailing stop market buy order for a -10k trigger price. Assume bitcoin goes up to 65k, and then drops to 55k. Her market buy order would then be triggered.

Sushi is trading at 20 USD. Bob has a long sushi position open, and he wants to take profits once Sushi drops 10% from its highest trading price. Bob opens a reduce only trailing stop market sell order at 10%. Sushi goes up to 22 USD, but then drops back to 20 USD. At this point, Bob’s order gets executed by a keeper-bot.


---

# 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://docs.apex.win/apex-docs/order-types/stop-orders/trailing-stop-orders.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.
