撤销订单
该接口用于订单撤销。
CLI安装 CLI
bash
# 将下方订单 ID 替换为实际的订单 ID
longbridge cancel 693664675163312128SDK Links
Request
| HTTP Method | DELETE |
| HTTP URL | /v1/trade/order |
Parameters
Content-Type: application/json; charset=utf-8
| Name | Type | Required | Description |
|---|---|---|---|
| order_id | string | YES | 订单 ID |
Request Example
Response
Response Headers
- Content-Type: application/json
Response Example
json
{
"code": 0,
"message": "success",
"data": {}
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | 提交成功,订单已委托。 | None |
| 400 | 撤单被拒绝,请求参数错误。 | None |