Exemplo n.º 1
0
 def reinit(self, includeFlags=6):
     Power.reinit(self, includeFlags)
     #	-----------------------------------
     #	Initialize the transient parameters
     #	-----------------------------------
     if includeFlags & 5:
         self.list, self.notes = {'SOONER': [], 'LATER': []}, {}
Exemplo n.º 2
0
	def reinit(self, includeFlags = 6):
		Power.reinit(self, includeFlags)
		#	-----------------------------------
		#	Initialize the transient parameters
		#	-----------------------------------
		if includeFlags & 5:
			self.list, self.notes = {'SOONER': [], 'LATER': []}, {}
Exemplo n.º 3
0
	def reinit(self, includeFlags = 6):
		Power.reinit(self, includeFlags)
		#	-----------------------------------
		#	Initialize the transient parameters
		#	-----------------------------------
		if includeFlags & 5:
			self.orders = {}
Exemplo n.º 4
0
	def reinit(self, includeFlags = 6):
		Power.reinit(self, includeFlags)
		#	-----------------------------------
		#	Initialize the transient parameters
		#	-----------------------------------
		if includeFlags & 4:
			self.overpaid, self.offers, self.sent = 0, [], []
			self.accept = self.fullAccept = None
		if includeFlags & 5:
			self.sheet = []
		self.liquid = self.left = None
		#	----------------------------------------------
		#	The two attributes below are ZeroSum-specific
		#	----------------------------------------------
		self.gained, self.lost = [], []
		#	-------------------------------------------
		#	And here are two that are Exchange-specific
		#	-------------------------------------------
		if includeFlags & 4:
			self.elect, self.state = {}, ''