撤銷所有止盈止損
POST
/az/future/trade/v1/entrust/cancel-all-profit-stop
限流規則
200/s/apikey
請求參數
| 參數 | 類型 | 是否必須 | 默認值 | 描述 | 取值範圍 |
|---|---|---|---|---|---|
| symbol | string | false | 交易對,例如btc_usdt(不傳時撤銷所有交易對) | ||
| positionType | string | false | N/A | 倉位類型(不傳時撤銷所有倉位類型) | CROSSED;ISOLATED |
| positionSide | string | false | N/A | 倉位方向(不傳時撤銷所有方向) | LONG;SHORT |
| closeType | string | false | N/A | 止盈止損平倉類型(不傳時撤銷所有類型) | 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
}