Total Complexity | 5 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class Market extends Api |
||
14 | { |
||
15 | /** |
||
16 | * @param string $market |
||
17 | * @param float $quantity |
||
18 | * @param float $rate |
||
19 | * @return array |
||
20 | * @throws Exception |
||
21 | */ |
||
22 | 1 | public function buyLimit(string $market, float $quantity, float $rate): array |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param string $market |
||
31 | * @param float $quantity |
||
32 | * @param float $rate |
||
33 | * @return array |
||
34 | * @throws Exception |
||
35 | */ |
||
36 | 1 | public function sellLimit(string $market, float $quantity, float $rate): array |
|
41 | } |
||
42 | |||
43 | /** |
||
44 | * @param string $uuid |
||
45 | * @return array |
||
46 | * @throws Exception |
||
47 | */ |
||
48 | 1 | public function cancel(string $uuid): array |
|
53 | } |
||
54 | |||
55 | /** |
||
56 | * @param string|null $market |
||
57 | * @return array |
||
58 | * @throws Exception |
||
59 | */ |
||
60 | 2 | public function getOpenOrders(?string $market = null): array |
|
71 |