From 114c3d3bdf90e0edf2f722e79e15cf310f2ac32a Mon Sep 17 00:00:00 2001 From: Scott Sanderson Date: Tue, 27 Oct 2015 14:38:26 -0400 Subject: [PATCH] DOC: Weaker modality for history in initialize. `history` works, with some caveats, in before_trading_start as well. --- zipline/errors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipline/errors.py b/zipline/errors.py index a8047ffe..1cab758c 100644 --- a/zipline/errors.py +++ b/zipline/errors.py @@ -195,7 +195,7 @@ class HistoryInInitialize(ZiplineError): """ Raised when an algorithm calls history() in initialize. """ - msg = "history() can only be called in handle_data()" + msg = "history() should only be called in handle_data()" class MultipleSymbolsFound(ZiplineError):