From 9537067138a9849e28b1be87ad157d7e002b95b4 Mon Sep 17 00:00:00 2001 From: scottsanderson Date: Wed, 15 Aug 2012 13:31:15 -0400 Subject: [PATCH] fix comment in EventWindow --- zipline/gens/transform.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zipline/gens/transform.py b/zipline/gens/transform.py index 60d0be85..51475f45 100644 --- a/zipline/gens/transform.py +++ b/zipline/gens/transform.py @@ -159,8 +159,9 @@ class EventWindow: from the window. Subclass these methods along with init(*args, **kwargs) to calculate metrics over the window. - The market_aware flag is used to toggle whether the eventwindow - calculates + If the market_aware flag is True, the EventWindow drops old events + based on the number of elapsed trading days between newest and oldest. + Otherwise old events are dropped based on a raw timedelta. See zipline/gens/mavg.py and zipline/gens/vwap.py for example implementations of moving average and volume-weighted average