BUG: load extensions in IPython magic (#1543)

This commit is contained in:
Joe Jevnik
2016-10-28 16:00:51 -04:00
committed by GitHub
parent 156678ab6c
commit f878bf2365
+6
View File
@@ -251,6 +251,12 @@ def run(ctx,
def zipline_magic(line, cell=None):
"""The zipline IPython cell magic.
"""
load_extensions(
default=True,
extensions=[],
strict=True,
environ=os.environ,
)
try:
return run.main(
# put our overrides at the start of the parameter list so that