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

Method fetch_open_orders

python/ccxt/xt.py:3093–3110  ·  view source on GitHub ↗

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={})

Source from the content-addressed store, hash-verified

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 """

Callers 13

exampleFunction · 0.45
gate-swaps.pyFile · 0.45
mainFunction · 0.45
htx-spot.pyFile · 0.45
htx-swaps.pyFile · 0.45
gate-futures.pyFile · 0.45
example_4Function · 0.45
latoken-example.pyFile · 0.45
exampleFunction · 0.45
loadFunction · 0.45
mainFunction · 0.45

Calls 1

Tested by

no test coverage detected