Create multi-leg order

Creates a new multi-leg order and sends to our internal systems for execution. Note that a successful call to this endpoint does not necessarily mean your order has been accepted, e.g. a downstream venue might reject your order. You should therefore utilize our WebSocket APIs to listen for changes in order lifecycle events.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length between 1 and 256

The account ID or account number to create the order for.

Body Params
string
length between 1 and 256

An ID that you provide.

string
enum
required

The type of order for multi-leg orders, can be one of the following:

  • limit: A limit order will execute at-or-better than the limit price you specify
  • market: An order that will execute at the prevailing market prices
Allowed:
string
required
length between 1 and 16

The strategy quantity.

string
length between 1 and 16

Net package price for the order. Positive values indicate a debit; negative values indicate a credit.

string
enum
Defaults to sor

The routing method to use for this order. If not provided, our smart order-router will handle execution for your order.

  • sor: Smart order router (default)
  • desk: Trade desk routed
Allowed:
legs
array of objects
required
length between 2 and 4
legs*
string

For desk-routed orders, specific instructions for the desk.

boolean
Defaults to false

For desk-routed orders, whether the order is a swap.

Responses

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Choose an example:
application/json