跳转到主要内容

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/modify-plan-order

请求限制

参见 速率限制详细

请求参数

请求
curl 
 -H 'X-BM-KEY:{{AccessKey}}'
 -H 'X-BM-TIMESTAMP:{{currentTime}}'
 -H 'X-BM-SIGN:{{SIGN}}' 
 -X POST -d '{
  "symbol":"ETHUSDT",
  "order_id":"220906179559421",
  "trigger_price":"2000",
  "executive_price":"1450",
  "price_type":1,
  "type":"limit"
}'
https://cloud-api.wooxpro.com/contract/private/modify-plan-order
参数类型是否必填描述
symbolString必填合约交易对(如BTCUSDT)
order_idString选填订单id(order_id和client_order_id必须提供一个)
trigger_priceString必填触发价格
executive_priceString选填执行价格,订单 type = limit 必填
price_typeInt必填触发价格类型
-1=最新成交价
-2=标记价格
typeString必填订单类型
-limit=执行订单为限价单
-market=执行订单为市价单

响应详情

响应
{
  "code": 1000,
  "message": "Ok",
  "data": {
    "order_id": "220609666322019"
  },
  "trace": "13f7fda9-9543-4e11-a0ba-cbe117989988"
}
字段类型描述
order_idString订单编号