跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://developer.wooxpro.com/llms.txt

Use this file to discover all available pages before exploring further.

限时撤销所有合约普通订单设置 (SIGNED)

适用于用户进行设置限时撤销所有合约普通订单

请求URL

POST https://cloud-api.wooxpro.com/contract/private/cancel-all-after

请求限制

参见 速率限制详细

请求参数

请求
curl 
 -H 'X-BM-KEY:{{AccessKey}}'
 -H 'X-BM-TIMESTAMP:{{currentTime}}'
 -H 'X-BM-SIGN:{{SIGN}}' 
 -X POST -d '{
  "timeout":10,
  "symbol":"BTCUSDT"
}'
https://cloud-api.wooxpro.com/contract/private/cancel-all-after
参数类型是否必填描述
timeoutInt必填限时取消时间(单位秒,最小值:5秒),0代表取消设置
symbolString必填合约交易对(如BTCUSDT)

响应详情

code 返回 1000 表示设置成功。
响应
{
  "code": 1000,
  "trace": "0cc6f4c4-8b8c-4253-8e90-8d3195aa109c",
  "message": "Ok",
  "data": {
    "result": true,
    "set_time": 1743064715,
    "cancel_time": 1743064725
  }
}
字段类型描述
resultBool是否设置成功 true/false
set_timeInt设置时间,时间戳
cancel_timeInt第一次触发取消时间,时间戳