mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 00:33:16 +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
-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