I get the following errors when i run the sample algorithm...
'''
AttributeError Traceback (most recent call last)
1 dma = DualMovingAverage()
----> 2 results = dma.run(data)
//anaconda/python.app/Contents/lib/python2.7/site-packages/zipline/algorithm.pyc in run(self, source, sim_params, benchmark_return_source)
309 # perf dictionary
310 perfs = []
--> 311 for perf in self.gen:
312 perfs.append(perf)
313
//anaconda/python.app/Contents/lib/python2.7/site-packages/zipline/gens/tradesimulation.pyc in transform(self, stream_in)
141 # to the user's algo.
142 if updated:
--> 143 self.algo.handle_data(self.current_data)
144 updated = False
145
27
28 def handle_data(self, data):
---> 29 self.short_mavg = data['AAPL'].short_mavg['price']
30 self.long_mavg = data['AAPL'].long_mavg['price']
31 self.buy = False
AttributeError: 'SIDData' object has no attribute 'short_mavg'
'''