# Path: OnePy/constants.py
# class EVENT(Enum):
#     Market_updated = 'Market_updated'
#     Data_cleaned = 'Data_cleaned'
#     Signal_generated = 'Signal_generated'
#     Submit_order = 'Submit_order'
#     Record_result = 'Record_result'


import queue
from OnePy.constants import EVENT




class EventEngine(object):
    def __init__(self):
        self._core = queue.Queue()  # type:queue.Queue

    def put(self, event: EVENT):
        self._core.put(event)


# Path: OnePy/constants.py
# class EVENT(Enum):
#     Market_updated = 'Market_updated'
#     Data_cleaned = 'Data_cleaned'
#     Signal_generated = 'Signal_generated'
#     Submit_order = 'Submit_order'
#     Record_result = 'Record_result'


# Path: OnePy/event_engine.py
import queue
from OnePy.constants import EVENT





class EventEngine(object):
    def __init__(self):
        self._core = queue.Queue()  # type:queue.Queue

    def put(self, event: EVENT):
        self._core.put(event)


    def get(self) -> EVENT: