@@ 26-35 (lines=10) @@ | ||
23 | ->send(); |
|
24 | } |
|
25 | ||
26 | public function getAccountFunds($wallet = null) |
|
27 | { |
|
28 | return $this->httpClient |
|
29 | ->setMethod('post') |
|
30 | ->setEndPoint(self::ENDPOINT.'getAccountFunds/') |
|
31 | ->authHeaders() |
|
32 | ->addHeader([ 'Content-Type' => 'application/json' ]) |
|
33 | ->setWallet($wallet) |
|
34 | ->send(); |
|
35 | } |
|
36 | } |
|
37 |
@@ 63-73 (lines=11) @@ | ||
60 | ->send(); |
|
61 | } |
|
62 | ||
63 | public function listTimeRanges($marketFilter, $timeGranularity) |
|
64 | { |
|
65 | return $this->httpClient |
|
66 | ->setMethod('post') |
|
67 | ->setEndPoint(self::ENDPOINT.'listTimeRanges/') |
|
68 | ->authHeaders() |
|
69 | ->addHeader([ 'Content-Type' => 'application/json' ]) |
|
70 | ->setFilter($marketFilter) |
|
71 | ->setTimeGranularity($timeGranularity) |
|
72 | ->send(); |
|
73 | } |
|
74 | ||
75 | public function listCurrentOrders($betIds = null, $marketIds = null, $orderProjection = null, $placedDateRange = null, $dateRange = null, $orderBy = null, $sortDir = null, $fromRecord = null, $recordCount = null) |
|
76 | { |