Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev merge #2802

Merged
merged 2 commits into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading