(self, status: Str)
| 1669 | }, market) |
| 1670 | |
| 1671 | def parse_order_status(self, status: Str): |
| 1672 | statuses = { |
| 1673 | 'PARTIALLY_CANCELED': 'open', |
| 1674 | 'ACTIVE': 'open', |
| 1675 | 'PARTIALLY_FILLED': 'open', |
| 1676 | 'FILLED': 'closed', |
| 1677 | 'PENDING_CANCEL': 'canceled', |
| 1678 | 'CANCELED': 'canceled', |
| 1679 | } |
| 1680 | return self.safe_string(statuses, status, status) |
| 1681 | |
| 1682 | def parse_order(self, order, market=None) -> Order: |
| 1683 | symbol = self.safe_string(order, 'market_symbol') |
no test coverage detected