fetch all unfilled currently open orders https://www.bitmex.com/api/explorer/#not /Order/Order_getOrders :param str symbol: unified market symbol :param int [since]: the earliest time in ms to fetch open orders for :param int [limit]: the maximum number of
(self, symbol: Str = None, since: Int = None, limit: Int = None, params={})
| 1141 | return self.parse_orders(response, market, since, limit) |
| 1142 | |
| 1143 | def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]: |
| 1144 | """ |
| 1145 | fetch all unfilled currently open orders |
| 1146 | |
| 1147 | https://www.bitmex.com/api/explorer/#not /Order/Order_getOrders |
| 1148 | |
| 1149 | :param str symbol: unified market symbol |
| 1150 | :param int [since]: the earliest time in ms to fetch open orders for |
| 1151 | :param int [limit]: the maximum number of open orders structures to retrieve |
| 1152 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 1153 | :returns Order[]: a list of `order structures <https://docs.ccxt.com/?id=order-structure>` |
| 1154 | """ |
| 1155 | request = { |
| 1156 | 'filter': { |
| 1157 | 'open': True, |
| 1158 | }, |
| 1159 | } |
| 1160 | return self.fetch_orders(symbol, since, limit, self.deep_extend(request, params)) |
| 1161 | |
| 1162 | def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]: |
| 1163 | """ |
nothing calls this directly
no test coverage detected