1 | <?php |
||
7 | class Gateway extends BaseGateway |
||
8 | { |
||
9 | /** |
||
10 | * Get the default options. |
||
11 | * |
||
12 | * @return array |
||
13 | */ |
||
14 | public function getDefaultOptions() |
||
21 | |||
22 | /** |
||
23 | * Get the gateway name. |
||
24 | * |
||
25 | * @return string |
||
26 | */ |
||
27 | public function getName() |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function symbols() |
||
39 | |||
40 | /** |
||
41 | * {@inheritdoc} |
||
42 | */ |
||
43 | public function ticker($symbol) |
||
49 | |||
50 | /** |
||
51 | * {@inheritdoc} |
||
52 | */ |
||
53 | public function orderBook($symbol, $limit = 50) |
||
59 | |||
60 | /** |
||
61 | * {@inheritdoc} |
||
62 | */ |
||
63 | public function trades($symbol, $limit = 50) |
||
69 | |||
70 | /** |
||
71 | * {@inheritdoc} |
||
72 | */ |
||
73 | public function balances() |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | public function buy($symbol, $amount, $price) |
||
87 | |||
88 | /** |
||
89 | * {@inheritdoc} |
||
90 | */ |
||
91 | public function sell($symbol, $amount, $price) |
||
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | public function status($symbol, $id) |
||
107 | |||
108 | /** |
||
109 | * {@inheritdoc} |
||
110 | */ |
||
111 | public function cancel($symbol, $id) |
||
117 | |||
118 | /** |
||
119 | * {@inheritdoc} |
||
120 | */ |
||
121 | public function openOrders($symbol = null) |
||
127 | |||
128 | /** |
||
129 | * {@inheritdoc} |
||
130 | */ |
||
131 | public function tradeHistory($symbol = null) |
||
137 | } |
||
138 |