适用于用户进行合约修改限价委托订单
请求URL
POST https://cloud-api.wooxpro.com/contract/private/modify-limit-order
请求限制
参见 速率限制详细请求参数
请求
响应详情
响应
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
适用于用户进行合约修改限价委托订单
POST https://cloud-api.wooxpro.com/contract/private/modify-limit-order
请求
curl
-H 'X-API-KEY:{{AccessKey}}'
-H 'X-API-TIMESTAMP:{{currentTime}}'
-H 'X-API-SIGN:{{SIGN}}'
-X POST -d '{
"symbol":"ETHUSDT",
"order_id":220906179559421,
"client_order_id":"123456",
"price":"1450",
"size":1
}'
https://cloud-api.wooxpro.com/contract/private/modify-limit-order
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| symbol | String | 必填 | 合约交易对(如BTCUSDT) |
| order_id | Int | 选填 | 订单id(order_id和client_order_id必须提供一个) |
| client_order_id | String | 选填 | 用户自定义ID |
| price | String | 选填 | 限价价格(和size必须填一个) |
| size | Int | 选填 | 订单数量(和price必须填一个) |
响应
{
"code": 1000,
"message": "Ok",
"data": {
"order_id": 220609666322019,
"client_order_id": "123456"
},
"trace": "13f7fda9-9543-4e11-a0ba-cbe117989988"
}
| 字段 | 类型 | 描述 |
|---|---|---|
| order_id | Int | 订单编号 |
| client_order_id | String | 用户自定义ID |