Cancel All Stop Limit
POST
/az/future/trade/v1/entrust/cancel-all-profit-stop
Limit Flow Rules
200/s/apikey
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | false | N/A | Trading pair, e.g. btc_usdt (cancels all trading pairs if not passed) | |
| positionType | string | false | N/A | Position type (cancels all position types if not passed) | CROSSED;ISOLATED |
| positionSide | string | false | N/A | Position side (cancels all sides if not passed) | LONG;SHORT |
| closeType | string | false | N/A | Close 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
}