Skip to main content

Cancel All Stop Limit

POST

/az/future/trade/v1/entrust/cancel-all-profit-stop

Limit Flow Rules​

200/s/apikey

Parameters​

ParameterTypeMandatoryDefaultDescriptionRanges
symbolstringfalseN/ATrading pair, e.g. btc_usdt (cancels all trading pairs if not passed)
positionTypestringfalseN/APosition type (cancels all position types if not passed)CROSSED;ISOLATED
positionSidestringfalseN/APosition side (cancels all sides if not passed)LONG;SHORT
closeTypestringfalseN/AClose type (cancels all types if not passed)FIXED;ALL

Java

public void getKLine() {
String text = HttpUtil.get(URL + "/data/api/az/future/trade/v1/getKLine?market=btc_usdt&type=1min&since=0");
System.out.println(text);
}

Response

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