Exemplo n.º 1
0
 def __init__(self, config, source, files=None, reset_tentacle_config=False):
     if files is None:
         files = []
     backtester_config = config
     if reset_tentacle_config:
         backtester_config = ConfigManager.reload_tentacle_config(copy(config))
     self.octobot, self.ignored_files = get_standalone_backtesting_bot(backtester_config, files)
     self.error = None
     self._source = source
     self.finished_source = None
     self.errors_count = None
Exemplo n.º 2
0
 def __init__(self, config, files=None):
     if files is None:
         files = []
     self.octobot, self.ignored_files = get_standalone_backtesting_bot(
         config, files)
     self.error = None