Place order
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.
Parameters
Path Parameters
Request body
Required*Parameters
Name | Type | Required | Description |
---|---|---|---|
accountId | string | Yes | - |
Body
application/jsonRequest Body
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
,SELL
The Type of order
MARKET
,LIMIT
,STOP
,STOP_LIMIT
The 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
Used for options only. Indicates if this is BUY to OPEN/CLOSE
OPEN
,CLOSE
Responses
Response
Response
Order validation failed.
No response body defined
{
"orderId": "c68a2352-e821-47fe-9894-4a54a83a1dd7"
}