diff --git a/.gitignore b/.gitignore index 375db5a86..85dc6b924 100644 --- a/.gitignore +++ b/.gitignore @@ -122,5 +122,3 @@ config\.json *.ods temp_config\.json log - -config/trading_state_history\.json diff --git a/config/__init__.py b/config/__init__.py index 1d13a103b..aba16da4b 100644 --- a/config/__init__.py +++ b/config/__init__.py @@ -263,7 +263,6 @@ CONFIG_DEFAULT_TRADING_FILE = f"{CONFIG_FOLDER}/default_trading_config.json" DEFAULT_CONFIG_FILE = f"{CONFIG_FOLDER}/default_config.json" LOGGING_CONFIG_FILE = f"{CONFIG_FOLDER}/logging_config.ini" -SIMULATOR_STATE_SAVE_FILE = f"{CONFIG_FOLDER}/trading_state_history.json" # Tentacle Config STRATEGIES_REQUIRED_TIME_FRAME = "required_time_frames" diff --git a/octobot.py b/octobot.py index 97f367860..35f695112 100644 --- a/octobot.py +++ b/octobot.py @@ -130,8 +130,7 @@ async def create_services(self): async def create_exchange_traders(self, ignore_config=False): self.async_loop = asyncio.get_running_loop() available_exchanges = ccxt.exchanges - target_exchanges = self.config[CONFIG_EXCHANGES] - for exchange_class_string in target_exchanges: + for exchange_class_string in self.config[CONFIG_EXCHANGES]: if exchange_class_string in available_exchanges: exchange_type = getattr(ccxt, exchange_class_string)