From 7ea24c20c8577056196f9925e412ffb3d9d0ad05 Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Mon, 5 Oct 2015 11:03:08 -0400 Subject: [PATCH] MAINT: Updates to docstrings. --- zipline/pipeline/factors/factor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zipline/pipeline/factors/factor.py b/zipline/pipeline/factors/factor.py index df000a00..6a49220e 100644 --- a/zipline/pipeline/factors/factor.py +++ b/zipline/pipeline/factors/factor.py @@ -460,7 +460,7 @@ class CustomFactor(RequiredWindowLengthMixin, CustomTermMixin, Factor): array of sids, an output array, and an input array for each expression passed as `inputs` to the CustomFactor constructor. - The specific types of the vaules passed to `compute` are as follows: + The specific types of the values passed to `compute` are as follows: today : np.datetime64[ns] Row label for the last row of all arrays passed as `inputs`. @@ -504,7 +504,7 @@ class CustomFactor(RequiredWindowLengthMixin, CustomTermMixin, Factor): # Doesn't require passing inputs or window_length because they're # pre-declared as defaults - ten_day_low = TenDayLow() + ten_day_range = TenDayRange() class MedianValue(CustomFactor): '''