Skip to main content

Alter Margin

POST

/az/future/user/v1/position/margin

Limit Flow Rules​

200/s/apikey

Parameters​

ParameterTypeMandatoryDefaultDescriptionRanges
symbolstringtrueN/ATrading pair
marginnumbertrueN/AQuantity
positionSidestringtrueN/APosition side:LONG;SHORT
typestringtrueN/AAdjust direction (add isolated margin, reduce isolated margin)ADD;SUB
marginCoinstringfalsequoteCoinMargin coin (optional, defaults to the quote coin)

Java

public void getMarketConfig() {
String text = HttpUtil.get(URL + "/data/api/user/v1/getMarketConfig");
System.out.println(text);
}

Response

{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": {},
"returnCode": 0
}