From ddf2592bef56e5130cdcc36a4347d93e1d45d5de Mon Sep 17 00:00:00 2001 From: Chandler_Chan Date: Wed, 18 Apr 2018 22:24:30 -0400 Subject: [PATCH] Update base_strategy.py --- OnePy/sys_module/base_strategy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OnePy/sys_module/base_strategy.py b/OnePy/sys_module/base_strategy.py index 476e629..6b77854 100644 --- a/OnePy/sys_module/base_strategy.py +++ b/OnePy/sys_module/base_strategy.py @@ -19,10 +19,10 @@ def __init__(self): self.sell = SignalGenerator(ActionType.Sell).func_2 self.short_sell = SignalGenerator(ActionType.Short_sell).func_1 self.short_cover = SignalGenerator(ActionType.Short_cover).func_2 - self.exit_all = SignalGenerator( - ActionType.Exit_all).func_1 # TODO:多个信号出现如何处理冲突 - self.cancel_all = SignalGenerator( - ActionType.Cancel_all).func_1 # TODO:多个信号出现如何处理冲突 +# self.exit_all = SignalGenerator( +# ActionType.Exit_all).func_1 # TODO:多个信号出现如何处理冲突 +# self.cancel_all = SignalGenerator( +# ActionType.Cancel_all).func_1 # TODO:多个信号出现如何处理冲突 @property def gvar(self):