From f878bf2365736db0e2468952c65fb45f991db223 Mon Sep 17 00:00:00 2001 From: Joe Jevnik Date: Fri, 28 Oct 2016 16:00:51 -0400 Subject: [PATCH] BUG: load extensions in IPython magic (#1543) --- zipline/__main__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/zipline/__main__.py b/zipline/__main__.py index 93c26bf4..8e719690 100644 --- a/zipline/__main__.py +++ b/zipline/__main__.py @@ -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