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

Method parse_order_status

python/ccxt/bingx.py:3713–3724  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

3711 }, market)
3712
3713 def parse_order_status(self, status: Str):
3714 statuses = {
3715 'NEW': 'open',
3716 'PENDING': 'open',
3717 'PARTIALLY_FILLED': 'open',
3718 'RUNNING': 'open',
3719 'FILLED': 'closed',
3720 'CANCELED': 'canceled',
3721 'CANCELLED': 'canceled',
3722 'FAILED': 'canceled',
3723 }
3724 return self.safe_string(statuses, status, status)
3725
3726 def cancel_order(self, id: str, symbol: Str = None, params={}):
3727 """

Callers 1

parse_orderMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected