正在显示
1 个修改的文件
包含
3 行增加
和
3 行删除
| @@ -37,7 +37,7 @@ class Api | @@ -37,7 +37,7 @@ class Api | ||
| 37 | // 获取K线数据 | 37 | // 获取K线数据 |
| 38 | public function klines($param) | 38 | public function klines($param) |
| 39 | { | 39 | { |
| 40 | - $path = '/api/v2/spot/market/candles'; | 40 | + $path = '/api/v2/mix/market/candles'; |
| 41 | $method = 'GET'; | 41 | $method = 'GET'; |
| 42 | return $this->request($path, $method, $param); | 42 | return $this->request($path, $method, $param); |
| 43 | } | 43 | } |
| @@ -46,7 +46,7 @@ class Api | @@ -46,7 +46,7 @@ class Api | ||
| 46 | // 下单 | 46 | // 下单 |
| 47 | public function placeOrder($param) | 47 | public function placeOrder($param) |
| 48 | { | 48 | { |
| 49 | - $path = '/api/v2/spot/trade/place-order'; | 49 | + $path = '/api/v2/mix/order/place-order'; |
| 50 | $method = 'POST'; | 50 | $method = 'POST'; |
| 51 | return $this->request($path, $method, $param, true); | 51 | return $this->request($path, $method, $param, true); |
| 52 | } | 52 | } |
| @@ -70,7 +70,7 @@ class Api | @@ -70,7 +70,7 @@ class Api | ||
| 70 | // 查询账户余额 | 70 | // 查询账户余额 |
| 71 | public function accountBalance($param) | 71 | public function accountBalance($param) |
| 72 | { | 72 | { |
| 73 | - $path = '/api/v2/spot/account/assets'; | 73 | + $path = '/api/v2/mix/account/account'; |
| 74 | $method = 'GET'; | 74 | $method = 'GET'; |
| 75 | return $this->request($path, $method, $param, true); | 75 | return $this->request($path, $method, $param, true); |
| 76 | } | 76 | } |
-
请 注册 或 登录 后发表评论