def METHOD_NAME(self, order: BaseOrder, package_type: OrderPackageType) -> None:
    self._check_hour()
    if not self.safe:
        self._on_error(
            order,
            "Max Transaction Count has been reached ({0}) for current hour".format(
                self.current_transaction_count_total
            ),
        )