def register_account_control(self, control):
        """
        Register a new AccountControl to be checked on each bar.
        """
        if self.initialized:
            raise RegisterAccountControlPostInit()
        self.account_controls.append(control)
def register_account_control ( self , control ) : if self . initialized : raise RegisterAccountControlPostInit ( ) self . account_controls . append ( control )
Register a new AccountControl to be checked on each bar.