trailing_stop
Automatically adjust a stop order to follow price movements and lock in profits. Specify trail amount or percentage.
Instructions
Place a TRAILING stop — a stop that follows the price (locks in gains as it moves).
The trigger trails the market by trail_amount (US$) or trail_percent (%).
side is "BUY" or "SELL" (a trailing stop-loss on a long position is a SELL).
Sized by quantity (shares).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| symbol | Yes | ||
| quantity | Yes | ||
| trail_amount | No | ||
| trail_percent | No |