取消永续订单
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": { } }