def METHOD_NAME(
    self, order_package, http_session: Optional[requests.Session]
) -> None:
    if order_package.client.paper_trade:
        time.sleep(config.cancel_latency)
    market = self.flumine.markets.markets[order_package.market_id]
    failed_transaction_count = 0
    for order in order_package:
        with order.trade:
            simulated_response = order.simulated.cancel(market.market_book)
            self._order_logger(
                order, simulated_response, order_package.package_type
            )
            if simulated_response.status == "SUCCESS":
                if order.size_remaining == 0:
                    order.execution_complete()
                else:
                    order.executable()
            elif simulated_response.status == "FAILURE":
                order.executable()
                failed_transaction_count += 1
    # update transaction counts
    if failed_transaction_count:
        order_package.client.add_transaction(failed_transaction_count, failed=True)