From ce16122be3e9c95e1c361d154a32b6632a7de3a3 Mon Sep 17 00:00:00 2001 From: Stephen Diehl Date: Fri, 16 Mar 2012 18:18:42 -0400 Subject: [PATCH] Remove dropout on dataframe. --- zipline/finance/performance.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/zipline/finance/performance.py b/zipline/finance/performance.py index bf9276c4..9a46f6bb 100644 --- a/zipline/finance/performance.py +++ b/zipline/finance/performance.py @@ -209,15 +209,6 @@ class PerformanceTracker(): def process_event(self, event): self.event_count += 1 - # TODO: This seems to get both dataframes and namedicts? - # I can't find a corresponding test for this - # function so not sure if this is the desired behavior or - # something is going wrong upstream... - - # hack for now - if isinstance(event, pandas.DataFrame): - return - if(event.dt >= self.market_close): self.handle_market_close()