Orders
Order Management Interfaces
📄️ Preview Order
Calculates the estimated cost and fees for an order based on the provided parameters. Supports equity orders and option orders (single-leg and multi-leg strategies). For option orders, set instrument_type to OPTION and provide option_strategy, position_intent and legs.
📄️ Place Order
Places order for a specific account. Supports equity orders and option orders. <br/> For option orders, set instrument_type to OPTION and provide option_strategy, position_intent and legs. Option order_type supports MARKET, LIMIT, STOP_LOSS and STOP_LOSS_LIMIT (TRAILING_STOP_LOSS is not supported).
📄️ Replace Order
Modifies an existing order. Only the provided fields are updated; all other attributes remain unchanged. For option orders, leg quantities can be modified through the legs field.
📄️ Cancel Order
Cancels a previously submitted order that has not yet been fully filled. Only orders in open status can be cancelled.
📄️ Get Order Detail
Retrieves the specified order details through the order ID or client order ID.
📄️ List Open Orders
Retrieves pending orders by page. This endpoint may not return the most recent order data in real time due to processing delays. To ensure you get the latest order status, please query the Order Detail endpoint by client_order_id.
📄️ List Order History
Retrieves historical orders within a specified date range (default: last 7 days). If orders are group orders, they will be returned together, and the number of orders returned on one page may exceed the page_size. This endpoint may not return the most recent order data in real time due to processing delays. To ensure you get the latest order status, please query the Order Detail endpoint by client_order_id.