from .property import Property

class PropertyClosePrice(Property):
	def __init__(self):
		super().__init__()
		self.name = "closePrice"
		self.requires = ['tick']

	def processTick(self, data):
		return self.averageOfColumn(data[self.requires[0]], 'close')

from .property import Property

class PropertyClosePrice(Property):
	def __init__(self):
		super().__init__()
		self.name = "closePrice"
		self.requires = ['tick']

	def processTick(self, data):
		return self.averageOfColumn(data[self.requires[0]], 'close')
