cURL
Order entry and management
Get open orders
GET
cURL
Authorizations
User session token
Query Parameters
Optional account ID. If omitted, default (primary) user account is used.
Response
200 - application/json
List of open orders
Required range:
x >= 0Owning account — whose positions, balance, and risk this order moves.
Available options:
B, S Available options:
PENDING, ACCEPTED, PARTIALLY_FILLED, FILLED, CANCELED, REJECTED, EXPIRED, REPLACED, DONE_FOR_DAY, UNKNOWN Strong type for Order IDs to prevent mixing with other string values
Order IDs are ULIDs with a prefix:
- Regular orders: O-
- Liquidation orders: L-
Required range:
x >= 0Required range:
x >= 0Actor of record — the authenticated user who placed this order. This
is distinct from the owning account_id: a user may place orders on an
account they do not own (e.g. a proxy or algo acting for another party).
Required range:
x >= 0Required range:
x >= 0Available options:
CLOSE_ONLY, INSUFFICIENT_MARGIN, MAX_OPEN_ORDERS_EXCEEDED, UNKNOWN_SYMBOL, EXCHANGE_CLOSED, INCORRECT_QUANTITY, INVALID_PRICE_INCREMENT, INCORRECT_ORDER_TYPE, PRICE_OUT_OF_BOUNDS, NO_LIQUIDITY, INSUFFICIENT_CREDIT_LIMIT, ORIGINAL_ORDER_TERMINATED, DUPLICATE_CLIENT_ORDER_ID, UNKNOWN