Apex Docs
Search…
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.
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.
Percentage value trailing orders are set a percentage value below (or above) the best (or worst) available price since the order was created.

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.
Last modified 2mo ago
Copy link