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
| Parameter | Type | Required | Comments |
|---|---|---|---|
| category | String | Yes | Product typeUSDT-FUTURES USDT futuresCOIN-FUTURES Coin-M futuresUSDC-FUTURES USDC futures |
| symbol | String | Yes | Symbol name |
| posSide | String | Yes | Position sidelong Long positionshort Short position |
| operation | String | Yes | Operation typeadd Add marginremove Remove margin |
| amount | String | Yes | Margin 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