createOrder
Place a new buy or sell order on Bybit for spot, linear, inverse, or option products. Supports market, limit, take-profit, stop-loss, and conditional orders.
Instructions
Place a new order on the Bybit exchange.
Spot: supports normal orders, TP/SL orders, and conditional (stop) orders via
orderFilterLinear/Inverse: supports one-way and hedge mode via
positionIdxOptions:
orderLinkIdis required; implied volatility ordering viaorderIv
Response is an acknowledgment only. Use WebSocket order stream to confirm actual order status.
Agent hint: Use this endpoint to place a new buy or sell order for spot, linear, inverse, or option products. TradFi: xStock tokens use category=spot (e.g. TSLAXUSDT); equity perpetuals and commodity perpetuals use category=linear (e.g. TSLAPUSDT, XAUUSDT, CLUSDT).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| symbol | Yes | ||
| isLeverage | No | 0 | |
| side | Yes | ||
| orderType | Yes | ||
| qty | Yes | ||
| marketUnit | No | ||
| slippageToleranceType | No | ||
| slippageTolerance | No | ||
| price | No | ||
| triggerDirection | No | ||
| orderFilter | No | Order | |
| triggerPrice | No | ||
| triggerBy | No | ||
| orderIv | No | ||
| timeInForce | No | GTC | |
| positionIdx | No | ||
| orderLinkId | No | ||
| takeProfit | No | ||
| stopLoss | No | ||
| tpTriggerBy | No | ||
| slTriggerBy | No | ||
| reduceOnly | No | ||
| closeOnTrigger | No | ||
| smpType | No | ||
| mmp | No | ||
| tpslMode | No | ||
| tpLimitPrice | No | ||
| slLimitPrice | No | ||
| tpOrderType | No | ||
| slOrderType | No | ||
| bboSideType | No | ||
| bboLevel | No | ||
| rpiTakerAccess | No |