소스 검색

Rename CommandsCommands to CommandsInfo for clarity.

- Renamed `CommandsCommands` to `CommandsInfo` in the TelegramTradingBot for improved clarity and consistency in command handling.
Carles Sentis 1 주 전
부모
커밋
37674c83b0
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 3
      src/bot/core.py
  2. 1 1
      trading_bot.py

+ 3 - 3
src/bot/core.py

@@ -29,7 +29,7 @@ from src.commands.info.monthly import MonthlyCommands
 from src.commands.info.risk import RiskCommands
 from src.commands.info.price import PriceCommands
 from src.commands.info.balance_adjustments import BalanceAdjustmentsCommands
-from src.commands.info.commands import CommandsCommands
+from src.commands.info.commands import CommandsInfo
 
 logger = logging.getLogger(__name__)
 
@@ -105,7 +105,7 @@ class TelegramTradingBot:
         self.risk_cmds = RiskCommands(self.trading_engine, self.notification_manager)
         self.price_cmds = PriceCommands(self.trading_engine, self.notification_manager)
         self.balance_adjustments_cmds = BalanceAdjustmentsCommands(self.trading_engine, self.notification_manager)
-        self.commands_cmds = CommandsCommands(self.trading_engine, self.notification_manager)
+        self.commands_cmds = CommandsInfo(self.trading_engine, self.notification_manager)
 
         # Info commands
         self.application.add_handler(CommandHandler("balance", self.balance_cmds.balance_command))
@@ -162,7 +162,7 @@ class TelegramTradingBot:
 • Exit: /exit {Config.DEFAULT_TRADING_TOKEN} (closes position)
 • Info: /balance, /positions, /orders
 
-📊 <b>Market Data:</b>
+�� <b>Market Data:</b>
 • /market - Detailed market overview
 • /price - Quick price check
 

+ 1 - 1
trading_bot.py

@@ -14,7 +14,7 @@ from datetime import datetime
 from pathlib import Path
 
 # Bot version
-BOT_VERSION = "2.4.183"
+BOT_VERSION = "2.4.184"
 
 # Add src directory to Python path
 sys.path.insert(0, str(Path(__file__).parent / "src"))