From a645b2a86eeebb7246e916448eec3bb3027ea7cf Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Tue, 19 Mar 2013 20:56:56 -0400 Subject: [PATCH] MAINT: Fixes comment about returned performance types. The simulator had been changed to return dictionary objects instead of ndicts. --- zipline/algorithm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/algorithm.py b/zipline/algorithm.py index 2a59a5e8..22123f12 100644 --- a/zipline/algorithm.py +++ b/zipline/algorithm.py @@ -220,7 +220,7 @@ class TradingAlgorithm(object): self.gen = self._create_generator(self.sim_params) # loop through simulated_trading, each iteration returns a - # perf ndict + # perf dictionary perfs = list(self.gen) # convert perf ndict to pandas dataframe