Alter Margin
POST
/az/future/user/v1/position/margin
Limit Flow Rules
200/s/apikey
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | true | N/A | Trading pair | |
| margin | number | true | N/A | Quantity | |
| positionSide | string | true | N/A | Position side:LONG;SHORT | |
| type | string | true | N/A | Adjust direction (add isolated margin, reduce isolated margin) | ADD;SUB |
| marginCoin | string | false | quoteCoin | Margin 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
}