fetches information on all currently open orders https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/list-orders :param str symbol: unified market symbol of the orders :param int [since]: timestamp in ms of the earliest order, default is
(self, symbol: Str = None, since: Int = None, limit: Int = None, params={})
| 3571 | return self.parse_orders(orders, market, since, limit) |
| 3572 | |
| 3573 | def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]: |
| 3574 | """ |
| 3575 | fetches information on all currently open orders |
| 3576 | |
| 3577 | https://docs.cdp.coinbase.com/api-reference/advanced-trade-api/rest-api/orders/list-orders |
| 3578 | |
| 3579 | :param str symbol: unified market symbol of the orders |
| 3580 | :param int [since]: timestamp in ms of the earliest order, default is None |
| 3581 | :param int [limit]: the maximum number of open order structures to retrieve |
| 3582 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 3583 | :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) |
| 3584 | :param int [params.until]: the latest time in ms to fetch trades for |
| 3585 | :returns Order[]: a list of `order structures <https://docs.ccxt.com/?id=order-structure>` |
| 3586 | """ |
| 3587 | self.load_markets() |
| 3588 | paginate = False |
| 3589 | paginate, params = self.handle_option_and_params(params, 'fetchOpenOrders', 'paginate') |
| 3590 | if paginate: |
| 3591 | return self.fetch_paginated_call_cursor('fetchOpenOrders', symbol, since, limit, params, 'cursor', 'cursor', None, 100) |
| 3592 | return self.fetch_orders_by_status('OPEN', symbol, since, limit, params) |
| 3593 | |
| 3594 | def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}) -> List[Order]: |
| 3595 | """ |
nothing calls this directly
no test coverage detected