Method reference
Order management
| Method | HTTP | Auth | Endpoint | Description |
|---|---|---|---|---|
placeGridAlgoOrder(params) | POST | Yes | /api/v5/tradingBot/grid/order-algo | Create a spot, futures, or contract grid |
amendGridAlgoOrder(params) | POST | Yes | /api/v5/tradingBot/grid/amend-order-algo | Amend TP/SL on a running grid |
stopGridAlgoOrder(orders) | POST | Yes | /api/v5/tradingBot/grid/stop-order-algo | Stop one or more grids |
instantTriggerGridAlgoOrder(params) | POST | Yes | /api/v5/tradingBot/grid/order-instant-trigger | Manually trigger a grid |
closeGridContractPosition(params) | POST | Yes | /api/v5/tradingBot/grid/close-position | Close position of a contract grid |
cancelGridContractCloseOrder(params) | POST | Yes | /api/v5/tradingBot/grid/cancel-close-order | Cancel a contract grid close order |
Queries
| Method | HTTP | Auth | Endpoint | Description |
|---|---|---|---|---|
getGridAlgoOrderList(params) | GET | Yes | /api/v5/tradingBot/grid/orders-algo-pending | Active grid orders |
getGridAlgoOrderHistory(params) | GET | Yes | /api/v5/tradingBot/grid/orders-algo-history | Historical grid orders |
getGridAlgoOrderDetails(params) | GET | Yes | /api/v5/tradingBot/grid/orders-algo-details | Details of a specific grid |
getGridAlgoSubOrders(params) | GET | Yes | /api/v5/tradingBot/grid/sub-orders | Sub-orders within a grid |
getGridAlgoOrderPositions(params) | GET | Yes | /api/v5/tradingBot/grid/positions | Positions held by a contract grid |
Margin and investment
| Method | HTTP | Auth | Endpoint | Description |
|---|---|---|---|---|
spotGridWithdrawIncome(params) | POST | Yes | /api/v5/tradingBot/grid/withdraw-income | Withdraw profit from a spot grid |
computeGridMarginBalance(params) | POST | Yes | /api/v5/tradingBot/grid/compute-margin-balance | Compute required margin adjustment |
adjustGridMarginBalance(params) | POST | Yes | /api/v5/tradingBot/grid/margin-balance | Add or reduce grid margin |
adjustGridInvestment(params) | POST | Yes | /api/v5/tradingBot/grid/adjust-investment | Adjust investment amount |
Public tools
| Method | HTTP | Auth | Endpoint | Description |
|---|---|---|---|---|
getGridAIParameter(params) | GET | No | /api/v5/tradingBot/grid/ai-param | AI-recommended grid parameters |
computeGridMinInvestment(params) | POST | No | /api/v5/tradingBot/grid/min-investment | Minimum investment for a grid config |
getRSIBackTesting(params) | GET | No | /api/v5/tradingBot/public/rsi-back-testing | RSI back-testing results |
getMaxGridQuantity(params) | GET | No | /api/v5/tradingBot/grid/grid-quantity | Maximum number of grid levels |

