def parse_order_status(self, status):
    statuses = {'OPEN': 'open', 'PARTIALLY_FILLED': 'open', 'EXECUTED': 'closed', 'CANCELLED': 'canceled', 'PARTIALLY_FILLED_AND_CANCELLED': 'canceled'}
    return self.safe_string(statuses, status, status)
def parse_order_status(self, status):
    statuses = {'OPEN': 'open', 'PARTIALLY_FILLED': 'open', 'EXECUTED': 'closed', 'CANCELLED': 'canceled', 'PARTIALLY_FILLED_AND_CANCELLED': 'canceled'}
    return self.safe_string(statuses, status, status)