fetches information on an order made by the user https://lightning.bitflyer.com/docs?lang=en#list-orders :param str id: the order id :param str symbol: unified symbol of the market the order was made in :param dict [params]: extra parameters specific to the
(self, id: str, symbol: Str = None, params={})
| 807 | return self.fetch_orders(symbol, since, limit, self.extend(request, params)) |
| 808 | |
| 809 | def fetch_order(self, id: str, symbol: Str = None, params={}): |
| 810 | """ |
| 811 | fetches information on an order made by the user |
| 812 | |
| 813 | https://lightning.bitflyer.com/docs?lang=en#list-orders |
| 814 | |
| 815 | :param str id: the order id |
| 816 | :param str symbol: unified symbol of the market the order was made in |
| 817 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 818 | :returns dict: An `order structure <https://docs.ccxt.com/?id=order-structure>` |
| 819 | """ |
| 820 | if symbol is None: |
| 821 | raise ArgumentsRequired(self.id + ' fetchOrder() requires a symbol argument') |
| 822 | orders = self.fetch_orders(symbol) |
| 823 | ordersById = self.index_by(orders, 'id') |
| 824 | if id in ordersById: |
| 825 | return ordersById[id] |
| 826 | raise OrderNotFound(self.id + ' No order found with id ' + id) |
| 827 | |
| 828 | def fetch_my_trades(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}): |
| 829 | """ |
nothing calls this directly
no test coverage detected