diff --git a/docs/tutorial.ipynb b/docs/tutorial.ipynb index 46753a34..b43b1def 100644 --- a/docs/tutorial.ipynb +++ b/docs/tutorial.ipynb @@ -737,8 +737,10 @@ "import pytz\n", "from datetime import datetime\n", "\n", + "import zipline\n", "from zipline.algorithm import TradingAlgorithm\n", "from zipline.utils.factory import load_bars_from_yahoo\n", + "from zipline.api import order, record, symbol\n", "\n", "# Load data manually from Yahoo! finance\n", "start = datetime(2000, 1, 1, 0, 0, 0, 0, pytz.utc)\n", @@ -769,21 +771,21 @@ "output_type": "stream", "stream": "stderr", "text": [ - "[2014-07-25 17:12] INFO: Performance: Simulated 3019 trading days out of 3019.\n" + "[2014-11-19 10:17] INFO: Performance: Simulated 3019 trading days out of 3019.\n" ] }, { "output_type": "stream", "stream": "stderr", "text": [ - "[2014-07-25 17:12] INFO: Performance: first open: 2000-01-03 14:31:00+00:00\n" + "[2014-11-19 10:17] INFO: Performance: first open: 2000-01-03 14:31:00+00:00\n" ] }, { "output_type": "stream", "stream": "stderr", "text": [ - "[2014-07-25 17:12] INFO: Performance: last close: 2011-12-30 21:00:00+00:00\n" + "[2014-11-19 10:17] INFO: Performance: last close: 2011-12-30 21:00:00+00:00\n" ] }, { @@ -794,7 +796,7 @@ ] } ], - "prompt_number": 9 + "prompt_number": 1 }, { "cell_type": "markdown",