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

Method parse_order_status

python/ccxt/pacifica.py:2110–2118  ·  view source on GitHub ↗
(self, status: Str)

Source from the content-addressed store, hash-verified

2108 return self.parse_order(lastInfo, market)
2109
2110 def parse_order_status(self, status: Str):
2111 statuses = {
2112 'open': 'open',
2113 'partially_filled': 'open',
2114 'filled': 'closed',
2115 'cancelled': 'canceled',
2116 'rejected': 'failed',
2117 }
2118 return self.safe_string(statuses, status, status)
2119
2120 def map_time_in_force(self, tifRaw: Str):
2121 tifMap = {

Callers 1

parse_orderMethod · 0.95

Calls 1

safe_stringMethod · 0.80

Tested by

no test coverage detected