Submit a market, limit, or stop order
Submits an order to the command queue for processing. Returns a command_id you can use to track status.
Order types:
market— executes immediately at best available pricelimit— executes when price reaches your level or better (requiresprice)stop— triggers a market order when price reaches stop level (requiresprice)
Bracket orders: optionally attach take_profit and/or stop_loss prices. These create child limit/stop orders that auto-cancel each other (OCO) when one fills.
Validation: checks account ownership, trading status, lockout, max contracts rule, and tick size before accepting.
Requires x-idempotency-key header to prevent duplicate submissions.
Body
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):
UUID of the trading account to place order on (required)
"550e8400-e29b-41d4-a716-446655440000"
Contract symbol (e.g., "ESH6" for E-mini S&P 500 March 2026)
"ESH6"
Number of contracts to trade (positive integer)
x >= 12
Order side: "buy" (go long) or "sell" (go short/close long)
"buy"
Order type: "market" (default), "limit", or "stop"
"market"
Price for limit/stop orders (required for limit/stop, ignored for market)
6050.25
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.
6000
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.
6100
Related topics
Get order history from database (append-only lifecycle events)Get active working ordersClose a specific position by contractLink a standalone order into the position's OCO groupChangelog