TEST/PERF: Don't slice twice.

This commit is contained in:
Scott Sanderson committed 2016-05-13 14:44:26 -04:00
1 parent c4b69d6223
commit f4d96e065a
1 file changed
+1 -1
+1 -1
View File
@@ -78,7 +78,7 @@ class BollingerBandsTestCase(WithTechnicalFactor, ZiplineTestCase):
upper, middle, lower = [np.full(self.ndays, np.nan)] * 3
else:
upper, middle, lower = talib.BBANDS(
closes[:, n],
close_col,
window_length,
k,
k,