place_order_with_trailing_stop
Place orders with a trailing stop loss on Bybit, allowing automatic adjustment of stop-loss levels based on market movement, enhancing risk management for cryptocurrency trading.
Instructions
Place order with trailing stop loss
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activePrice | No | Price at which trailing stop activates (optional) | |
| category | Yes | Category (linear, inverse) | |
| orderLinkId | No | Order link ID (optional) | |
| orderType | Yes | Order type (Market, Limit) | |
| positionIdx | No | Position index (optional, auto-detected if not provided) | |
| price | No | Order price (for limit orders) | |
| qty | Yes | Order quantity | |
| side | Yes | Order side (Buy, Sell) | |
| symbol | Yes | Symbol (e.g., ETHUSDT) | |
| timeInForce | No | Time in force (GTC, IOC, FOK) | |
| trailingStop | Yes | Trailing stop distance |