def METHOD_NAME(self, order_family: orderFamily):
    # Make orders inactive
    # A subsequent process will delete them
    self.instrument_stack.deactivate_order(order_family.instrument_order_id)
    for contract_order_id in order_family.list_of_contract_order_id:
        self.contract_stack.deactivate_order(contract_order_id)
    for broker_order_id in order_family.list_of_broker_order_id:
        self.broker_stack.deactivate_order(broker_order_id)