Skip to main content

Change The Product Line Leverage

Frequency limit: 5 times/1s (uid)

Description

Adjust the leverage on the given productType

HTTP Request

  • POST /api/v2/mix/account/set-all-leverage
Request Example
curl -X POST "https://api.bitget.com/api/v2/mix/account/set-all-leverage" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"symbol":"btcusdt","productType":"USDT-FUTURES","marginCoin":"usdt","leverage":"20","holdSide":"long"}'

Request Parameters

ParameterTypeRequiredDescription
productTypeStringYesProduct type
USDT-FUTURES USDT professional futures
COIN-FUTURES Mixed futures
USDC-FUTURES USDC professional futures
SUSDT-FUTURES USDT professional futures demo
SCOIN-FUTURES Mixed futures demo
SUSDC-FUTURES USDC professional futures demo
leverageStringYesLeverage (Only effective for symbols that have opened positions)
Response Example
{
"code": "00000",
"data": "success",
"msg": "success",
"requestTime": 1627293049406
}

Response Parameters

ParameterTypeDescription
dataStringresult
success: sueexeeful
failure: failed

How was your Reading Experience with us?