Get Margin Call Information
GET
/az/future/user/v1/position/break-list
Limit Flow Rules
200/s/apikey
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | false | N/A | Trading pair (see the margin call of all trading pairs if don't pass parameters) |
Java
public void getMarketConfig() {
String text = HttpUtil.get(URL + "/az/future/user/v1/position/break-list");
System.out.println(text);
}
Response
{
"error": {
"code": "",
"msg": ""
},
"msgInfo": "",
"result": [
{
"breakPrice": 0, //Margin call price. 0 means no margin call
"calMarkPrice": 0, //Mark price
"contractType": "", //Futures type: PERPETUAL;PREDICT
"entryPrice": 0, //Open position average price
"isolatedMargin": 0,//Isolated Margin
"leverage": 0, //Leverage
"positionSide": "", //Position side:LONG;SHORT
"positionSize": 0, //Position quantity (base coin)
"positionType": "", //Position type:CROSSED;ISOLATED
"symbol": "" //Symbol
}
],
"returnCode": 0
}