fetch all unfilled currently open orders https://doc.xt.com/#orderopenOrderGet https://doc.xt.com/#futures_ordergetOrders https://doc.xt.com/#futures_entrustgetPlan https://doc.xt.com/#futures_entrustgetProfit :param str [symbol]: unified market sym
(self, symbol: Str = None, since: Int = None, limit: Int = None, params={})
| 3091 | return self.parse_orders(orders, market, since, limit) |
| 3092 | |
| 3093 | def fetch_open_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}): |
| 3094 | """ |
| 3095 | fetch all unfilled currently open orders |
| 3096 | |
| 3097 | https://doc.xt.com/#orderopenOrderGet |
| 3098 | https://doc.xt.com/#futures_ordergetOrders |
| 3099 | https://doc.xt.com/#futures_entrustgetPlan |
| 3100 | https://doc.xt.com/#futures_entrustgetProfit |
| 3101 | |
| 3102 | :param str [symbol]: unified market symbol of the market the orders were made in |
| 3103 | :param int [since]: timestamp in ms of the earliest order |
| 3104 | :param int [limit]: the maximum number of open order structures to retrieve |
| 3105 | :param dict params: extra parameters specific to the xt api endpoint |
| 3106 | :param bool [params.trigger]: if the order is a trigger order or not |
| 3107 | :param bool [params.stopLossTakeProfit]: if the order is a stop-loss or take-profit order |
| 3108 | :returns dict[]: a list of `order structures <https://docs.ccxt.com/en/latest/manual.html#order-structure>` |
| 3109 | """ |
| 3110 | return self.fetch_orders_by_status('open', symbol, since, limit, params) |
| 3111 | |
| 3112 | def fetch_closed_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}): |
| 3113 | """ |
no test coverage detected