MCPcopy Create free account
hub / github.com/ccxt/ccxt / fetch_canceled_orders

Method fetch_canceled_orders

python/ccxt/xt.py:3131–3148  ·  view source on GitHub ↗

fetches information on multiple canceled orders made by the user https://doc.xt.com/#orderhistoryOrderGet https://doc.xt.com/#futures_ordergetOrders https://doc.xt.com/#futures_entrustgetPlan https://doc.xt.com/#futures_entrustgetProfit :param str [

(self, symbol: Str = None, since: Int = None, limit: Int = None, params={})

Source from the content-addressed store, hash-verified

3129 return self.fetch_orders_by_status('closed', symbol, since, limit, params)
3130
3131 def fetch_canceled_orders(self, symbol: Str = None, since: Int = None, limit: Int = None, params={}):
3132 """
3133 fetches information on multiple canceled orders made by the user
3134
3135 https://doc.xt.com/#orderhistoryOrderGet
3136 https://doc.xt.com/#futures_ordergetOrders
3137 https://doc.xt.com/#futures_entrustgetPlan
3138 https://doc.xt.com/#futures_entrustgetProfit
3139
3140 :param str [symbol]: unified market symbol of the market the orders were made in
3141 :param int [since]: timestamp in ms of the earliest order
3142 :param int [limit]: the maximum number of order structures to retrieve
3143 :param dict params: extra parameters specific to the xt api endpoint
3144 :param bool [params.trigger]: if the order is a trigger order or not
3145 :param bool [params.stopLossTakeProfit]: if the order is a stop-loss or take-profit order
3146 :returns dict: a list of `order structures <https://docs.ccxt.com/en/latest/manual.html#order-structure>`
3147 """
3148 return self.fetch_orders_by_status('canceled', symbol, since, limit, params)
3149
3150 def cancel_order(self, id: str, symbol: Str = None, params={}):
3151 """

Callers 1

latoken-example.pyFile · 0.45

Calls 1

Tested by

no test coverage detected