mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-01 12:01:05 +08:00
DOC: Weaker modality for history in initialize.
`history` works, with some caveats, in before_trading_start as well.
This commit is contained in:
1 parent
4826787475
commit
114c3d3bdf
1 file changed
+1
-1
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user