From 8ccdb48c40f0e23ca6eae28bbcd072b06b1aa813 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Fri, 28 Oct 2016 14:06:35 -0400 Subject: [PATCH] DOC: Comment on outdated code. --- zipline/testing/core.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zipline/testing/core.py b/zipline/testing/core.py index f9832767..24821d93 100644 --- a/zipline/testing/core.py +++ b/zipline/testing/core.py @@ -748,6 +748,9 @@ class FetcherDataPortal(DataPortal): # otherwise just return a fixed value return int(asset) + # XXX: These aren't actually the methods that are used by the superclasses, + # so these don't do anything, and this class will likely produce unexpected + # results for history(). def _get_daily_window_for_sid(self, asset, field, days_in_window, extra_slot=True): return np.arange(days_in_window, dtype=np.float64)