'Register a new TradingControl to be checked prior to order calls.'

def register_trading_control(self, control):

    if self.initialized:
        raise RegisterTradingControlPostInit()
    self.trading_controls.append(control)
