mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 07:15:15 +00:00
11 lines
203 B
Python
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
|