bbgo_origin/python/bbgo/handlers/handler.py

11 lines
203 B
Python
Raw Permalink Normal View History

2022-04-13 10:11:21 +00:00
from ..data import Event
class Handler(object):
def __call__(self, event: Event) -> None:
self.handle(event)
def handle(self, event: Event) -> None:
raise NotImplementedError