Skip to main content

Set Margin

Set Margin

Description

This endpoint allows you to adjust the margin for an isolated margin position.

HTTP Request

  • POST /api/v3/account/set-margin
  • Rate limit: 10/sec/UID
  • Permission: UTA mgt. (read & write)
Request
curl -X POST "https://api.bitget.com/api/v3/account/set-margin" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json" \
-d '{"category":"USDT-FUTURES","symbol":"BTCUSDT","posSide":"long","operation":"add","amount":"10"}'

Request Parameters

ParameterTypeRequiredComments
categoryStringYesProduct type
USDT-FUTURES USDT futures
COIN-FUTURES Coin-M futures
USDC-FUTURES USDC futures
symbolStringYesSymbol name
posSideStringYesPosition side
long Long position
short Short position
operationStringYesOperation type
add Add margin
remove Remove margin
amountStringYesMargin adjustment amount, denominated in the margin currency
USDT-FUTURES: USDT; USDC-FUTURES: USDC; COIN-FUTURES: base currency
Response
{
"code": "00000",
"msg": "success",
"requestTime": 1728625799912,
"data": "success"
}

Response Parameters

N/A

How was your Reading Experience with us?