适用于用户进行合约杠杆调整
请求URL
POST https://cloud-api.wooxpro.com/contract/private/submit-leverage
请求限制
参见 速率限制详细请求参数
请求
响应详情
响应
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/submit-leverage
请求
curl
-H 'X-API-KEY:{{AccessKey}}'
-H 'X-API-TIMESTAMP:{{currentTime}}'
-H 'X-API-SIGN:{{SIGN}}'
-X POST -d '{
"symbol":"ETHUSDT",
"leverage":"5",
"open_type":"isolated"
}'
https://cloud-api.wooxpro.com/contract/private/submit-leverage
| 参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| symbol | String | 必填 | 合约交易对(如BTCUSDT) |
| leverage | String | 选填 | 杠杆下单倍数 |
| open_type | String | 必填 | 开仓类型 - cross=全仓- isolated=逐仓 |
响应
{
"code": 1000,
"message": "Ok",
"data": {
"symbol":"ETHUSDT",
"leverage":"5",
"open_type":"isolated",
"max_value":"100"
},
"trace": "13f7fda9-9543-4e11-a0ba-cbe117989988"
}
| 字段 | 类型 | 描述 |
|---|---|---|
| symbol | String | 合约交易对 |
| leverage | String | 当前杠杆下单倍数 |
| open_type | String | 开仓类型 - cross=全仓- isolated=逐仓 |
| max_value | String | 最大杠杆 |