mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-12 22:52:27 +08:00
Merge branch 'master' of github.com:quantopian/zipline
Conflicts: zipline/lines.py
This commit is contained in:
+5
-1
@@ -327,7 +327,11 @@ class SimulatedTrading(object):
|
||||
|
||||
@property
|
||||
def is_success(self):
|
||||
return self.sim.ready() and not self.sim.exception
|
||||
# TODO: other assertions?
|
||||
if self.sim.did_clean_shutdown():
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
#--------------------------------
|
||||
# Component property accessors
|
||||
|
||||
Reference in New Issue
Block a user