def __checkExitOnSessionClose(self, bars): for position in self.__activePositions: order = position.checkExitOnSessionClose(bars) if order: self.registerPositionOrder(position, order)
def __checkExitOnSessionClose(self, bars): for position in self.__activePositions: order = position.checkExitOnSessionClose(bars) if order: self.registerPositionOrder(position, order)
def __checkExitOnSessionClose(self, bars): for position in self.__activePositions: position.checkExitOnSessionClose(bars)