取消永續訂單
POST /v1/trading-gateway/cancel-orders:按 `{ symbol, orderId }` 批量取消訂單。
POST /v1/trading-gateway/cancel-orders
按 { symbol, orderId } 批量取消訂單。Body:{ cancels: { symbol: string, orderId: string }[], subAccountId?: string }。返回已取消訂單 ID 列表及用於審計的上游 raw_data。
| 方法 | POST |
| 路徑 | /v1/trading-gateway/cancel-orders |
| 認證 | 設置 GATEWAY_AUTH_TOKEN 時需要 Authorization: Bearer <token> |
| 類別 | perps |
請求體
{ "cancels": [{ "symbol": "BTC", "orderId": "ord_abc" }], "subAccountId": "sub_hl_default" }響應體
{ "cancelled_order_ids": ["ord_abc"], "raw_data": { } }