跳至主要内容

撤銷報價

撤銷已提交的 Event Contract 報價。

信息
  • Event Contract maker 帳戶可訪問此接口。

HTTP 請求

POST/v5/event/cancel

請求參數

參數是否必需類型說明
orderLinkIdstring用戶自定義訂單 ID(報價 ID)
orderIdstring訂單 ID

返回參數

參數類型說明
orderLinkIdstring用戶自定義訂單 ID
orderIdstring訂單 ID

請求示例

POST /v5/event/cancel HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1694402559000
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{
"orderLinkId": "xxxxxx",
"orderId": "xxxxxxxxxxefffff"
}

返回示例

{
"retCode": 0,
"retMsg": "OK",
"result": {
"orderLinkId": "xxxxxx",
"orderId": "xxxxxxxxxxefffff"
},
"retExtInfo": {},
"time": 1672217377164
}