Skip to content

Commit

Permalink
BUG Forward initialize args and kwargs to user-defined function.
Browse files Browse the repository at this point in the history
  • Loading branch information
twiecki committed Aug 25, 2015
1 parent 8dc0276 commit 4b5f5a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zipline/algorithm.py
Expand Up @@ -320,7 +320,7 @@ def initialize(self, *args, **kwargs):
functions.
"""
with ZiplineAPI(self):
self._initialize(self)
self._initialize(self, *args, **kwargs)

def before_trading_start(self):
if self._before_trading_start is None:
Expand Down

0 comments on commit 4b5f5a5

Please sign in to comment.