def suspend(self, s=True): Strategy.suspend(self, s) self._strategy.suspend(s) self._estimator_strategy.suspend(s)
def suspend(self, s=True): Strategy.suspend(self, s) if self._current: self._current.suspend(s) for (_, _, estimator_strategy, _) in self._strategies: estimator_strategy.suspend(s)
def suspend(self, s): Strategy.suspend(self, s) self._sell.suspend(s) self._buy.suspend(s)
def suspend(self, flag): Strategy.suspend(self, flag) for s in self.strategies: s.suspend(flag)