bbgo_origin/python/bbgo/handlers/handler.py
2022-04-13 23:20:57 +08:00

11 lines
203 B
Python

from ..data import Event
class Handler(object):
def __call__(self, event: Event) -> None:
self.handle(event)
def handle(self, event: Event) -> None:
raise NotImplementedError