/api/prime/trading/v1/accounts/{accountId}/orders
Places a new order. There are several types of orders available - Market, Limit, and TWAP (with or without a limit). Orders can only be placed if your account has a sufficient balance. When an order is placed, funds will be reserved for the amount of the order.
accountId
stringRequiredclientOrderId
string <= 256 characters
product
string required type
string required side
string required buy
sell
buy
quantity
string <decimal>
required quantityCurrency
string required id
string <uuid>
required accountId
string required clientOrderId
string time
string <date-time>
required creationDate
string <date-time>
required scheduledDate
string <date-time>
lastFillDate
string <date-time>
completionDate
string <date-time>
required settleDate
string <date-time>
type
string required fundingType
string required margin
funded
status
string required pending_open
open
completed
pending_cancel
canceled
error
scheduled
product
string required side
string required buy
sell
buy
quantity
string <decimal>
required quantityCurrency
string required filledQuantity
string <decimal>
required filledQuoteQuantity
string <decimal>
required averagePrice
string <decimal>
required limitPrice
string <decimal>
duration
integer twapInterval
integer reason
string internalError
insufficientFunds
insufficientFunds
error
string required errorName
string required reqId
string required