fetches information on an open order made by the user https://trade.cex.io/docs/#rest-private-api-calls-orders :param str id: order id :param str [symbol]: unified symbol of the market the order was made in :param dict [params]: extra parameters specific to
(self, id: str, symbol: Str = None, params={})
| 1078 | return await self.fetch_orders_by_status('open', symbol, since, limit, params) |
| 1079 | |
| 1080 | async def fetch_open_order(self, id: str, symbol: Str = None, params={}): |
| 1081 | """ |
| 1082 | fetches information on an open order made by the user |
| 1083 | |
| 1084 | https://trade.cex.io/docs/#rest-private-api-calls-orders |
| 1085 | |
| 1086 | :param str id: order id |
| 1087 | :param str [symbol]: unified symbol of the market the order was made in |
| 1088 | :param dict [params]: extra parameters specific to the exchange API endpoint |
| 1089 | :returns dict: an `order structure <https://docs.ccxt.com/?id=order-structure>` |
| 1090 | """ |
| 1091 | await self.load_markets() |
| 1092 | request = { |
| 1093 | 'orderId': int(id), |
| 1094 | } |
| 1095 | result = await self.fetch_open_orders(symbol, None, None, self.extend(request, params)) |
| 1096 | return result[0] |
| 1097 | |
| 1098 | async def fetch_closed_order(self, id: str, symbol: Str = None, params={}): |
| 1099 | """ |
nothing calls this directly
no test coverage detected