Strategy Field

Exit trail amount

When using a Trailing Stop as your Exit order type, the Exit trail amount 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 trailAmount in your webhook to override the value configured in the strategy settings for exit orders.

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

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

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

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