跳转到主要内容

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/submit-leverage

请求限制

参见 速率限制详细

请求参数

请求
curl 
 -H 'X-BM-KEY:{{AccessKey}}'
 -H 'X-BM-TIMESTAMP:{{currentTime}}'
 -H 'X-BM-SIGN:{{SIGN}}' 
 -X POST -d '{
  "symbol":"ETHUSDT",
  "leverage":"5",
  "open_type":"isolated"
}'
https://cloud-api.wooxpro.com/contract/private/submit-leverage
参数类型是否必填描述
symbolString必填合约交易对(如BTCUSDT)
leverageString选填杠杆下单倍数
open_typeString必填开仓类型
-cross=全仓
-isolated=逐仓

响应详情

响应
{
  "code": 1000,
  "message": "Ok",
  "data": {
    "symbol":"ETHUSDT",
    "leverage":"5",
    "open_type":"isolated",
    "max_value":"100"
  },
  "trace": "13f7fda9-9543-4e11-a0ba-cbe117989988"
}
字段类型描述
symbolString合约交易对
leverageString当前杠杆下单倍数
open_typeString开仓类型
-cross=全仓
-isolated=逐仓
max_valueString最大杠杆