fetches information on multiple closed orders made by the user https://bybit-exchange.github.io/docs/v5/order/order-list :param str [symbol]: unified market symbol of the market orders were made in :param int [since]: the earliest time in ms to fetch orders for
(self, symbol: Str = None, since: Int = None, limit: Int = None, params={})
| 5286 | return self.parse_orders(data, market, since, limit) |
| 5287 | |
| 5288 | def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]: |
| 5289 | """ |
| 5290 | fetches information on multiple closed orders made by the user |
| 5291 | |
| 5292 | https://bybit-exchange.github.io/docs/v5/order/order-list |
| 5293 | |
| 5294 | :param str [symbol]: unified market symbol of the market orders were made in |
| 5295 | :param int [since]: the earliest time in ms to fetch orders for |
| 5296 | :param int [limit]: the maximum number of order structures to retrieve |
| 5297 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 5298 | :param boolean [params.trigger]: set to True for fetching closed trigger orders |
| 5299 | :param boolean [params.stop]: alias for trigger |
| 5300 | :param str [params.type]: market type, ['swap', 'option', 'spot'] |
| 5301 | :param str [params.subType]: market subType, ['linear', 'inverse'] |
| 5302 | :param str [params.orderFilter]: 'Order' or 'StopOrder' or 'tpslOrder' |
| 5303 | :param int [params.until]: the latest time in ms to fetch entries for |
| 5304 | :param boolean [params.paginate]: default False, when True will automatically paginate by calling self endpoint multiple times. See in the docs all the [available parameters](https://github.com/ccxt/ccxt/wiki/Manual#pagination-params) |
| 5305 | :returns Order[]: a list of `order structures <https://docs.ccxt.com/?id=order-structure>` |
| 5306 | """ |
| 5307 | self.load_markets() |
| 5308 | request = { |
| 5309 | 'orderStatus': 'Filled', |
| 5310 | } |
| 5311 | return self.fetch_canceled_and_closed_orders(symbol, since, limit, self.extend(request, params)) |
| 5312 | |
| 5313 | def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]: |
| 5314 | """ |
no test coverage detected