Lịch sử commit

Tác giả SHA1 Thông báo Ngày
  Carles Sentis 8f2df4becc Implement keyboard command handling in TelegramTradingBot 3 ngày trước cách đây
  Carles Sentis 276920b7b4 Add leverage command and associated functionality to trading bot 3 ngày trước cách đây
  Carles Sentis b15cb9e236 Refactor trading bot components to enhance async functionality and improve logging. Update requirements to include additional libraries for better performance and error handling. Adjust banner display to include network and database status, and refine error messages for database issues. Ensure consistent formatting in notifications and position tracking for improved clarity. 4 ngày trước cách đây
  Carles Sentis 42f1b0fe26 Implement validation for Telegram bot configuration in the run method. Added error logging for missing TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID, and initialized the bot application with the configured token. Enhanced logging to indicate the version of python-telegram-bot being used. 1 tuần trước cách đây
  Carles Sentis 90544498cb Refactor bot run method to improve signal handling and streamline shutdown process. Added signal support for graceful termination and enhanced logging for better operational clarity during bot initialization and shutdown. 1 tuần trước cách đây
  Carles Sentis 473dbf7820 Refactor main function to use async/await for improved concurrency. Update bot initialization and polling process to streamline execution and enhance error handling. Adjust logging for better clarity during bot operations. 1 tuần trước cách đây
  Carles Sentis 7aeed104c2 Refactor bot initialization and polling mechanism to streamline the process. Removed unnecessary keep_running_future and updated logging for clarity. Adjusted stats command to simplify session information retrieval. Enhanced chat ID bot to utilize the new polling method. 1 tuần trước cách đây
  Carles Sentis f7ce690ebf Refactor InfoCommandsHandler to accept the bot instance, improving command access and structure. This change enhances the integration of command handlers for balance, positions, orders, stats, price, market, performance, daily, weekly, monthly, trades, and risk, streamlining the overall command management within the TelegramTradingBot. 1 tuần trước cách đây
  Carles Sentis e6bbc69807 Refactor TelegramTradingBot to integrate new info command handlers for enhanced trading data access. This update includes the addition of various command classes for balance, positions, orders, stats, trades, market, performance, daily, weekly, monthly, risk, and price, improving the overall command structure and user experience. The TradingCommands class has also been updated to accommodate the new info commands handler. 1 tuần trước cách đây
  Carles Sentis 37674c83b0 Rename CommandsCommands to CommandsInfo for clarity. 1 tuần trước cách đây
  Carles Sentis da854948d4 Update requirements and refactor command handling in TelegramTradingBot. 1 tuần trước cách đây
  Carles Sentis 72234b7b32 Refactor info command handling in TelegramTradingBot for improved modularity. 1 tuần trước cách đây
  Carles Sentis 481cafc27d Update risk management to utilize Return on Equity (ROE) for stop loss calculations. 1 tuần trước cách đây
  Carles Sentis b35c45a3cc Enhance InfoCommands and MarketMonitor with notification manager integration - Updated InfoCommands to accept a notification manager for sending alerts on auto-synced positions. Improved MarketMonitor to immediately check for orphaned positions on startup and send notifications with detailed risk metrics. Enhanced logging for better traceability of auto-sync actions and notifications. 2 tuần trước cách đây
  Carles Sentis e5c105fd5b Integrate market monitoring with trading engine for enhanced data caching - Connected MarketMonitor to TradingEngine for shared access to cached positions, orders, and balance data. Updated InfoCommands to utilize cached data for auto-syncing positions, improving efficiency and responsiveness. Enhanced logging for better traceability of data usage and cache updates. 2 tuần trước cách đây
  Carles Sentis 3cb4cb089b Refactor trading logic to unify position tracking and enhance command handling - Updated the trading bot to utilize a unified trades table as the single source of truth for open positions, improving accuracy in position management. Enhanced InfoCommands to provide detailed statistics on active trades and open positions, including improved error handling and user notifications. Updated TradingEngine and TradingStats to support new lifecycle management for trades, streamlining the overall trading process. 2 tuần trước cách đây
  Carles Sentis 75edbe2ebf Refactor trading bot initialization and enhance command handling - Updated the TelegramTradingBot to initialize MarketMonitor with a notification manager for improved alerting. Added a new /cycles command in InfoCommands to display trade cycle statistics, enhancing user insights into trading performance. Improved error handling and logging for better traceability in command execution. 2 tuần trước cách đây
  Carles Sentis 264b0a9f51 Update startup message formatting in Telegram bot - Changed escape sequences to newline characters for improved readability in the bot's startup message. This enhances the clarity of the information presented to users upon initialization. 2 tuần trước cách đây
  Carles Sentis 73ca59941e Refactor TradingCommands to integrate InfoCommands and ManagementCommands - Updated the TradingCommands class to accept additional command handlers, enhancing command execution and user interaction. Improved button callback handling for better command processing and user feedback during interactions. 2 tuần trước cách đây
  Carles Sentis 994d8f035a Refactor TradingCommands and management command handling - Simplified the TradingCommands initialization by removing unnecessary parameters. Enhanced the custom keyboard feature to dynamically generate button layouts based on configuration, improving user interaction and feedback during command execution. 2 tuần trước cách đây
  Carles Sentis 1e0cf4d47d Refactor TradingCommands initialization and enhance command handling - Updated the TradingCommands class to accept instances of InfoCommands and ManagementCommands, along with the bot instance itself, for improved command execution. Enhanced button callback handling to streamline command processing and provide user feedback during interactions. 2 tuần trước cách đây
  Carles Sentis a9a57e6ea4 Enhance Telegram bot's polling and shutdown processes - Improved the bot's updater management by ensuring it starts and stops correctly, with detailed logging for better traceability. Updated exception handling during shutdown to provide clearer feedback on interruptions. Refined the application shutdown sequence to ensure all components are properly stopped, contributing to a more reliable and user-friendly experience. 2 tuần trước cách đây
  Carles Sentis 986e3d42ed Refactor Telegram bot application setup and message formatting - Removed the drop_pending_updates option during application initialization for improved functionality. Updated startup message formatting to ensure proper escape sequences for better readability. Enhanced the bot's polling mechanism to align with the latest version, contributing to a more reliable and user-friendly experience. 2 tuần trước cách đây
  Carles Sentis e73dcaa327 Refactor Telegram bot to support v20.x style - Updated command handler setup to directly utilize the application for improved clarity and organization. Enhanced logging during bot initialization and shutdown processes, ensuring better traceability and user feedback. Adjusted comments and method calls to align with the new version, contributing to a more streamlined and reliable bot operation. 2 tuần trước cách đây
  Carles Sentis e132d61161 Refactor Telegram bot to support v13.x compatibility - Updated command handler setup to utilize the dispatcher for improved organization and clarity. Enhanced logging during bot initialization and shutdown processes, ensuring better traceability and user feedback. Adjusted comments for clarity and consistency, while maintaining graceful shutdown handling. 2 tuần trước cách đây
  Carles Sentis c9bc3dbf2e Refactor Telegram bot command responses and authorization handling - Updated command methods to utilize context-based message sending for unauthorized access notifications. Enhanced logging for command execution and error handling, improving user feedback and traceability during bot operations. Streamlined command usage messages for clarity and consistency across trading and management commands. 2 tuần trước cách đây
  Carles Sentis 9d7ceac6d8 Enhance authorization logging and startup message formatting - Added detailed logging for authorization checks and the /start command trigger to improve traceability. Updated the startup message formatting for better readability and consistency in the bot's initialization process. 2 tuần trước cách đây
  Carles Sentis 53ab900dfa Refactor Telegram bot logging and startup sequence - Removed unnecessary logging for the python-telegram-bot version and improved the bot's initialization process with clearer comments. Enhanced shutdown handling to ensure proper resolution of tasks during termination, contributing to better reliability and user feedback. 2 tuần trước cách đây
  Carles Sentis 0ef97a5708 Enhance Telegram bot initialization and shutdown process - Added logging for the python-telegram-bot version and improved the bot's startup sequence with clearer logging messages. Refined the shutdown logic to ensure graceful termination of the application and market monitor, enhancing overall reliability and user feedback during bot operation. 2 tuần trước cách đây
  Carles Sentis d012cfe6be Refactor logging and shutdown handling in trading bot - Updated logging calls to use the module logger for consistency and improved clarity. Adjusted shutdown logic to check for the application's running state using the private attribute, enhancing error handling during bot termination. 2 tuần trước cách đây