Take profit
place_take_profitPlace a reduce-only Take profit (conditional market order) that triggers at triggerPrice. Side must be the CLOSING side of the position: SELL closes a LONG, BUY closes a SHORT. Once triggered it executes as an IOC limit bounded at triggerPrice ± slippageBps in the direction of execution (BUY above the trigger, SELL below; default 500 bps) so the close can cross the book.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| size | Yes | ||
| market | Yes | ||
| clientId | No | ||
| slippageBps | No | Execution bound past the trigger, in bps (default 500). Raise for thin books. | |
| triggerPrice | Yes |