Strategy Field

Exit trail percent

When using a Trailing Stop as your Exit order type, the Exit trail percent defines how far the trailing stop price should follow the market price before triggering an exit order. This allows you to automatically close a trade once the market moves against your open position by a specified percentage or dollar amount.

You can optionally send an explicit trailPercent in your webhook to override the value configured in the strategy settings for exit orders.

{
    "ticker": "AAPL",
    "action": "sell",
    "orderType": "trailing_stop",
    "trailPercent": 1
}

Or you can specify a dollar amount instead of a percentage by sending an explicit trailAmount in your webhook.

{
    "ticker": "AAPL",
    "action": "sell",
    "orderType": "trailing_stop",
    "trailAmount": 10
}

Ready to automate your trading? Sign up for free today.