(self, symbol: Str = None, since: Int = None, limit: Int = None, params={})
| 4987 | return self.parse_order(order, market) |
| 4988 | |
| 4989 | def fetch_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]: |
| 4990 | res = self.is_unified_enabled() |
| 4991 | """ |
| 4992 | *classic accounts only/ spot not supported* fetches information on multiple orders made by the user *classic accounts only/ spot not supported* |
| 4993 | https://bybit-exchange.github.io/docs/v5/order/order-list |
| 4994 | :param str symbol: unified market symbol of the market orders were made in |
| 4995 | :param int [since]: the earliest time in ms to fetch orders for |
| 4996 | :param int [limit]: the maximum number of order structures to retrieve |
| 4997 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 4998 | :param boolean [params.trigger]: True if trigger order |
| 4999 | :param boolean [params.stop]: alias for trigger |
| 5000 | :param str [params.type]: market type, ['swap', 'option'] |
| 5001 | :param str [params.subType]: market subType, ['linear', 'inverse'] |
| 5002 | :param str [params.orderFilter]: 'Order' or 'StopOrder' or 'tpslOrder' |
| 5003 | :param int [params.until]: the latest time in ms to fetch entries for |
| 5004 | :param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [availble parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params) |
| 5005 | :returns Order[]: a list of `order structures <https://docs.ccxt.com/?id=order-structure>` |
| 5006 | """ |
| 5007 | enableUnifiedAccount = self.safe_bool(res, 1) |
| 5008 | if enableUnifiedAccount: |
| 5009 | raise NotSupported(self.id + ' fetchOrders() is not supported after the 5/02 update for UTA accounts, please use fetchOpenOrders, fetchClosedOrders or fetchCanceledOrders') |
| 5010 | return self.fetch_orders_classic(symbol, since, limit, params) |
| 5011 | |
| 5012 | def fetch_orders_classic(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]: |
| 5013 | """ |
no test coverage detected