Create derivative order
POST/customers/:customer_code/orders
Submit a new derivative order. Supports Market, Limit, StopLoss, StopLossLimit, TakeProfit, TakeProfitLimit, and TakeProfitStopLoss order types.
Order types:
- market - Executes immediately at the best available price
- limit - Rests on the book at the specified limit_price (requires
limit_price) - stop_loss - Triggers a market order when trigger_price is reached (requires
trigger_price) - stop_loss_limit - Triggers a limit order when trigger_price is reached (requires
trigger_price,limit_price) - take_profit - Triggers a market order when trigger_price is reached (requires
trigger_price) - take_profit_limit - Triggers a limit order when trigger_price is reached (requires
trigger_price,limit_price) - take_profit_stop_loss - Combined TP/SL order (requires
take_profit_price,stop_loss_price)
Special flags:
post_only- Order is rejected if it would immediately match (maker-only)
Request
Responses
- 201
- 400
- 401
- 403
- 429
- 500
Order created
Bad request — validation failed or invalid parameters
Authentication required or credentials invalid
Insufficient permissions for the requested resource
Rate limit exceeded — retry after the period indicated in Retry-After header
Internal server error