Place a new order
Submits a new order asynchronously for the specified account. Note: Order placement is asynchronous. The returned result confirms submission, not execution or visibility. To retrieve the order status or execution details, query the GET /{orderId} endpoint after submission.
You are using your live production account. These commands will execute real orders in your real account, proceed with caution.
| Name | Type | Required | Description |
|---|---|---|---|
| accountId | string | Yes | - |
The OrderId, a UUID conforming to RFC 4122 (standard 8-4-4-4-12 format, e.g., 0d2abd8d-3625-4c83-a806-98abf35567cc), must be globally unique over time. This value serves as the deduplication key; if reused on the same account, the operation is idempotent. If the order is re-submitted due to a read timeout, do not modify any properties. If the original request succeeded, altering fields will have no effect.
The Order Side BUY/SELL. For Options also include the openCloseIndicator
BUY,SELLThe Type of order
MARKET,LIMIT,STOP,STOP_LIMITThe order quantity. Used when buying/selling whole shares and when selling fractional. Mutually exclusive with `amount`
The order amount. Used when buying/selling shares for a specific notional value
The limit price. Used when orderType = LIMIT or orderType = STOP_LIMIT
The stop price. Used when orderType = STOP or orderType = STOP_LIMIT
The market session in which the order may execute. Extended hours are available only for DAY time-in-force equity orders and can execute any time from 4:00 a.m. ET through 8:00 p.m. ET. If omitted, the session defaults to CORE.
CORE,EXTENDEDUsed for options to indicate if this is BUY to OPEN/CLOSE. Also used for shorting equities to indicate SELL-to-OPEN (opening a short position) or BUY-to-CLOSE (closing a short position). If null the default will be OPEN for buy orders and CLOSE for sell orders.
OPEN,CLOSEIf false, the order will be evaluated using cash-only buying power instead of margin buying power when available. If true or omitted, margin will be applied when allowed by the account configuration.
Order validation failed.
No response body defined
{
"orderId": "06f19055-7464-4799-9b7c-506a0beca979"
}