@@ 59-70 (lines=12) @@ | ||
56 | return $this->executeCustomQuery($param, self::API_METHOD_NAME); |
|
57 | } |
|
58 | ||
59 | public function getMarketBookFilterByMarketIds(array $marketIds) |
|
60 | { |
|
61 | $param = $this->createParam(); |
|
62 | ||
63 | $param->setMarketIds($marketIds); |
|
64 | ||
65 | $this->restoreDefaults(); |
|
66 | ||
67 | return $this->adapter->adaptResponse( |
|
68 | $this->apiNgRequest(self::API_METHOD_NAME, $param) |
|
69 | ); |
|
70 | } |
|
71 | ||
72 | public function getMarketBookFilterByMarketIdsWithPriceData(array $marketIds, array $priceData) |
|
73 | { |
|
@@ 72-84 (lines=13) @@ | ||
69 | ); |
|
70 | } |
|
71 | ||
72 | public function getMarketBookFilterByMarketIdsWithPriceData(array $marketIds, array $priceData) |
|
73 | { |
|
74 | $param = $this->createParam(); |
|
75 | ||
76 | $param->setMarketIds($marketIds) |
|
77 | ->setPriceProjection(new PriceProjection($priceData)); |
|
78 | ||
79 | $this->restoreDefaults(); |
|
80 | ||
81 | return $this->adapter->adaptResponse( |
|
82 | $this->apiNgRequest(self::API_METHOD_NAME, $param) |
|
83 | ); |
|
84 | } |
|
85 | ||
86 | public function getMarketBookFilterByMarketIdsWithPriceProjection(array $marketIds, PriceProjection $priceProjection) |
|
87 | { |
|
@@ 86-97 (lines=12) @@ | ||
83 | ); |
|
84 | } |
|
85 | ||
86 | public function getMarketBookFilterByMarketIdsWithPriceProjection(array $marketIds, PriceProjection $priceProjection) |
|
87 | { |
|
88 | $param = $this->createParam() |
|
89 | ->setMarketIds($marketIds) |
|
90 | ->setPriceProjection($priceProjection); |
|
91 | ||
92 | $this->restoreDefaults(); |
|
93 | ||
94 | return $this->adapter->adaptResponse( |
|
95 | $this->apiNgRequest(self::API_METHOD_NAME, $param) |
|
96 | ); |
|
97 | } |
|
98 | ||
99 | public function withMarketIds($marketIds) |
|
100 | { |