Remove dropout on dataframe.

This commit is contained in:
Stephen Diehl
2012-03-16 18:18:42 -04:00
parent 89485c6ae3
commit ce16122be3
-9
View File
@@ -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()