[Add] stop all cta strategies when programme is closed

This commit is contained in:
vn.py 2019-05-06 09:12:03 +08:00
parent ee724fa1b6
commit 8d5b42284a

View File

@ -113,7 +113,7 @@ class CtaEngine(BaseEngine):
def close(self):
""""""
pass
self.stop_all_strategies()
def register_event(self):
""""""