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

Method parse_order_status

python/ccxt/bitso.py:1165–1172  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

1163 return canceledOrders
1164
1165 def parse_order_status(self, status: Str):
1166 statuses = {
1167 'partial-fill': 'open', # self is a common substitution in ccxt
1168 'partially filled': 'open',
1169 'queued': 'open',
1170 'completed': 'closed',
1171 }
1172 return self.safe_string(statuses, status, status)
1173
1174 def parse_order(self, order: dict, market: Market = None) -> Order:
1175 #

Callers 1

parse_orderMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected