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