调整杠杆
描述
调整单个合约交易对杠杆倍数
HTTP请求
- POST /fapi/v1/account/updateLeverage
请数参数
| 参数名 | 参数类型 | 是否必须 | 描述 |
|---|---|---|---|
| futuresName | String | 是 | 合约名称, 如: "E-BTC-USDT" |
| leverage | Integer | 是 | 杠杆倍数 |
请求示例
http
curl -X POST 'https://futuresopenapi.100ex.com/fapi/v1/account/updateLeverage' \
-H "X-CH-TS:1736156253259" \
-H "X-CH-SIGN:*" \
-H "X-CH-APIKEY:********" \
-H "Content-Type: application/json" \
-d '{"futuresName": "E-BTC-USDT", "leverage": 10}'返回参数
| 参数名 | 参数类型 | 描述 |
|---|---|---|
返回示例
json
{
"code": "0",
"msg": "suc",
"data": null,
"succ": true
}