code: def register_trading_control(self, control):
          
          if self.initialized:
              raise RegisterTradingControlPostInit()
          self.trading_controls.append(control)
docs: Register a new TradingControl to be checked prior to order calls.