New OrderPOST
Creates a new trading order for the authenticated user's account
Authorization
AuthorizationRequiredBearer <token>JWT token obtained from the login endpoint
In: header
Request Body
application/jsonRequiredclient_order_idstringClient-provided order identifier
symbol_idRequiredstringTrading symbol identifier
sideRequiredstringOrder side (buy/sell)
"TRADE_SIDE_UNSPECIFIED" | "TRADE_SIDE_BUY" | "TRADE_SIDE_SELL"typeRequiredstringOrder type
"ORDER_TYPE_UNSPECIFIED" | "ORDER_TYPE_MARKET" | "ORDER_TYPE_LIMIT" | "ORDER_TYPE_STOP" | "ORDER_TYPE_STOP_LIMIT" | "ORDER_TYPE_TRAILING_STOP"time_in_forceRequiredstringTime in force
"TIF_UNSPECIFIED" | "TIF_GTC" | "TIF_DAY" | "TIF_IOC" | "TIF_FOK" | "TIF_GTD"volumeRequirednumberTrading volume in lots
0.01Format: "double"pricenumberSeen bid/ask price for market orders
"double"stop_loss_pointsintegerStop loss distance in points for market orders
0Format: "int64"take_profit_pointsintegerTake profit distance in points for market orders
0Format: "int64"limit_pricenumberLimit price for limit orders
"double"stop_pricenumberStop price for stop orders
"double"stop_loss_pricenumberStop loss price for limit/stop orders
"double"take_profit_pricenumberTake profit price for limit/stop orders
"double"expire_timestringOrder expiration time
"date-time"good_till_datestringExpiry datetime for GTD (Good Till Date) orders (ISO 8601 / RFC 3339). Required when time_in_force is TIF_GTD; ignored for all other time_in_force values.
"date-time"Path Parameters
account_idRequiredstringThe account ID where order to create belongs
Order created successfully
Close Position
Creates a market order to close an existing position (partial or full closing supported)
Double Position
Places a market order matching the position's symbol, side, and remaining open quantity. When the order fills, the resulting deal is merged into the existing position (VWAP recalculation + quantity increase).