def __init__(self, sys_config: SystemConfiguration, trade_process=TP.BACK_TESTING): self.sys_config = sys_config self.sys_config.runtime_config.actual_trade_process = trade_process self.detector_statistics = DetectorStatistics(self.sys_config) self.pattern_statistics = PatternStatistics(self.sys_config) self.constraints_statistics = ConstraintsStatistics() self._excel_file_with_test_data = None self._df_test_data = None self._loop_list_ticker = None # format of an entry (ticker, and_clause, number) self._number_pattern_total = 0 self._df_source_cache = MyCache()
def __init__(self, graph_id: str): MyCache.__init__(self) self._graph_id = graph_id self.__cached_and_under_observation_play_sound_list = []
def __init__(self, ): self._object_type = '' MyCache.__init__(self)
def __init__(self, cache_seconds: int): MyCache.__init__(self) self._cache_seconds = cache_seconds
def __init__(self): MyCache.__init__(self) self._sound_machine = PatternSoundMachine() self.__cached_and_under_observation_play_sound_list = []