Skip to main content

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

Order created