Skip to main content
POST

Body

application/json

Order submission request

Submit a market, limit, or stop order for a specific trading account.

Examples

Market Order (immediate execution):

Limit Order (execute at specified price or better):

Stop Order (trigger market order when price reached):

account_id
string<uuid>
required

UUID of the trading account to place order on (required)

Example:

"550e8400-e29b-41d4-a716-446655440000"

contract
string
required

Contract symbol (e.g., "ESH6" for E-mini S&P 500 March 2026)

Example:

"ESH6"

quantity
integer<int32>
required

Number of contracts to trade (positive integer)

Required range: x >= 1
Example:

2

side
string
required

Order side: "buy" (go long) or "sell" (go short/close long)

Example:

"buy"

order_type
string | null

Order type: "market" (default), "limit", or "stop"

Example:

"market"

price
number<double> | null

Price for limit/stop orders (required for limit/stop, ignored for market)

Example:

6050.25

stop_loss
number<double> | null

Stop loss price for bracket orders (optional). Creates a stop order to close position at this price. For buy orders: SL should be below entry price. For sell orders: SL should be above entry price.

Example:

6000

take_profit
number<double> | null

Take profit price for bracket orders (optional). Creates a limit order to close position at this price. For buy orders: TP should be above entry price. For sell orders: TP should be below entry price.

Example:

6100

Response

Order command accepted for async processing

accepted
boolean
required
command_id
string<uuid>
required
status
string
required