def parse_order_status(self, status):
    statuses = {'PENDING': 'open', 'FILLED': 'closed', 'CANCELED': 'canceled'}
    return self.safe_string(statuses, status)
def parse_order_status(self, status):
    statuses = {'PENDING': 'open', 'FILLED': 'closed', 'CANCELED': 'canceled'}
    return self.safe_string(statuses, status)