Skip to content

Commit

Permalink
Merge pull request #2802 from Drakkar-Software/dev
Browse files Browse the repository at this point in the history
Dev merge
  • Loading branch information
GuillaumeDSM authored Nov 17, 2024
2 parents 1773890 + c0dc18c commit 8fcc3f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions octobot/octobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ async def initialize(self):
await self._ensure_clock()
if not (self.community_auth.is_initialized() and self.community_auth.is_using_the_current_loop()):
self.community_auth.init_account(True)
self._log_config()
await self.initializer.create(True)
self._log_config()
await self._start_tools_tasks()
await logger.init_octobot_chan_logger(self.bot_id)
await self.create_producers()
Expand Down Expand Up @@ -278,9 +278,11 @@ def _log_config(self):
trader_str = "real trader" if has_real_trader else "simulated trader" if has_simulated_trader else "no trader"
traded_symbols = trading_api.get_config_symbols(self.config, True)
symbols_str = ', '.join(set(traded_symbols))
trading_mode = trading_api.get_activated_trading_mode(self.tentacles_setup_config)
trading_mode_str = trading_mode.get_name() if trading_mode else "no trading mode"
self.logger.info(f"Starting OctoBot with {trader_str} on "
f"{', '.join(exchanges) if exchanges else 'no exchange'} "
f"trading {symbols_str or 'nothing'} and using bot_id: {self.bot_id}")
f"trading {symbols_str or 'nothing'} with {trading_mode_str} and using bot_id: {self.bot_id}")

def get_edited_config(self, config_key, dict_only=True):
return self.configuration_manager.get_edited_config(config_key, dict_only)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Drakkar-Software requirements
OctoBot-Commons==1.9.62
OctoBot-Trading==2.4.123
OctoBot-Trading==2.4.124
OctoBot-Evaluators==1.9.7
OctoBot-Tentacles-Manager==2.9.16
OctoBot-Services==1.6.21
Expand Down

0 comments on commit 8fcc3f9

Please sign in to comment.