From 4b097150525bb063524c2ab98ed42cbd0a13978f Mon Sep 17 00:00:00 2001 From: Jean Bredeche Date: Thu, 9 Jun 2016 13:28:43 -0400 Subject: [PATCH] ENH: better comments --- zipline/sources/benchmark_source.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zipline/sources/benchmark_source.py b/zipline/sources/benchmark_source.py index 5b0f6243..beafe3dd 100644 --- a/zipline/sources/benchmark_source.py +++ b/zipline/sources/benchmark_source.py @@ -105,18 +105,18 @@ class BenchmarkSource(object): def _initialize_precalculated_series(self, asset, trading_schedule, trading_days, data_portal): """ - Internal method that precalculates the benchmark return series for + Internal method that pre-calculates the benchmark return series for use in the simulation. Parameters ---------- asset: Asset to use - env: TradingEnvironment + trading_schedule: TradingSchedule trading_days: pd.DateTimeIndex - trading_schedule: TradingSchedule + data_portal: DataPortal Notes -----