Commit 1389e931 authored by 纪超's avatar 纪超

添加信号模块

parent b98d2a14
...@@ -176,6 +176,9 @@ class PortfoliosBuilder(ABC): ...@@ -176,6 +176,9 @@ class PortfoliosBuilder(ABC):
class ControlSignal(ABC): class ControlSignal(ABC):
'''
控制信号,发起是否调仓服务
'''
@abstractmethod
def handle(self, day, risk: PortfoliosRisk): def handle(self, day, risk: PortfoliosRisk):
pass pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment