def METHOD_NAME(
    self, new_order: instrumentOrder, allow_zero_orders: bool = False
) -> int:
    # no current order for this instrument/strategy
    log = new_order.log_with_attributes(self.log)
    if new_order.is_zero_trade() and not allow_zero_orders:
        log_msg = "Zero orders not allowed"
        log.debug(log_msg)
        raise zeroOrderException(log_msg)
    log.debug("New order %s putting on %s" % (str(new_order), str(self)))
    order_id = self._put_order_on_stack_and_get_order_id(new_order)
    return order_id