def parse_order_status(self, status):
    statuses = {'partial-fill': 'open', 'completed': 'closed'}
    return self.safe_string(statuses, status, status)
def parse_order_status(self, status):
    statuses = {'partial-fill': 'open', 'completed': 'closed'}
    return self.safe_string(statuses, status, status)