Set Leverage
Description
Change leverage.
HTTP Request
POST /v3/position/leverage
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| symbol | Yes | String | A trading pair, consisting of two currencies: base currency and quote currency |
| mgnMode | Yes | String | Margin mode CROSS ISOLATED |
| posSide | Yes | String | Position side LONG SHORT BOTH |
| lever | Yes | String | Leverage, from 1 to 75 |
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| symbol | String | A trading pair, consisting of two currencies: base currency and quote currency |
| mgnMode | String | Margin mode CROSS ISOLATED |
| posSide | String | Position side LONG SHORT BOTH |
| lever | String | Leverage, from 1 to 75 |
Request Example
{
"lever":"7",
"symbol":"DOGE_USDT_PERP",
"mgnMode": "CROSS",
"posSide": "BOTH"
}
Response Example
{
"code":200,
"data":{
"lever":"7",
"symbol":"DOGE_USDT_PERP",
"mgnMode": "CROSS",
"posSide": "BOTH"
},
"msg":"Success"
}