正在显示
1 个修改的文件
包含
8 行增加
和
0 行删除
| @@ -94,6 +94,14 @@ class BinanceFutures | @@ -94,6 +94,14 @@ class BinanceFutures | ||
| 94 | return $this->requestAccount($method, $path, $param); | 94 | return $this->requestAccount($method, $path, $param); |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | + //取消所有订单 | ||
| 98 | + public function cancelAllOpenOrders($param) | ||
| 99 | + { | ||
| 100 | + $path = '/fapi/v1/allOpenOrders'; | ||
| 101 | + $method = 'DELETE'; | ||
| 102 | + return $this->requestAccount($method, $path, $param); | ||
| 103 | + } | ||
| 104 | + | ||
| 97 | //下单 | 105 | //下单 |
| 98 | public function order($param) | 106 | public function order($param) |
| 99 | { | 107 | { |
-
请 注册 或 登录 后发表评论