コミット履歴

作者 SHA1 メッセージ 日付
  Carles Sentis 9ca554a5fb Fix leverage command parsing in trading_commands.py to correctly handle callback data structure. Updated index references to ensure proper extraction of token and leverage values, enhancing command execution reliability. 3 日 前
  Carles Sentis 854bf5f22f Refactor trading stats and performance metrics retrieval for improved accuracy 3 日 前
  Carles Sentis 3c5bbb5ec8 Enhance risk command error handling and update trading stats method 3 日 前
  Carles Sentis 23ba1fc8ea Refactor risk command and trading stats for improved data handling 3 日 前
  Carles Sentis a763f218da Enhance risk and stats commands for comprehensive reporting 3 日 前
  Carles Sentis 4f8aa25c86 Update bot version to 2.4.256 3 日 前
  Carles Sentis 8303ba175b Refactor risk command and enhance reply method 3 日 前
  Carles Sentis 719c150ea6 Update bot version and enhance risk metrics reporting 3 日 前
  Carles Sentis dd2d743caf Enhance risk metrics retrieval and performance reporting 3 日 前
  Carles Sentis a8c0f3e701 Add risk metrics to trading performance reporting 3 日 前
  Carles Sentis 6c516173da Refactor performance reporting in PerformanceCommands to enhance clarity and accuracy. Updated ranking display to include trade statistics such as win rate and ROE, while transitioning to a new data structure for token performance metrics. Improved database aggregation logic in AggregationManager for closed positions, ensuring comprehensive tracking of trade outcomes and performance metrics. 3 日 前
  Carles Sentis 571a810813 Refactor performance ranking retrieval in PerformanceCommands to improve data handling and logging. The method now fetches token performance data directly from the trading engine, ensuring a limit of 10 tokens for ranking and updating the summary calculations accordingly. 3 日 前
  Carles Sentis e2b981eb1a Remove async/await from set_initial_balance method in TradingEngine, enhancing code simplicity and performance during balance initialization. 3 日 前
  Carles Sentis 5be22908ce Refactor set_initial_balance method to remove async/await, improving code simplicity and performance. The method now directly interacts with the database manager for setting the initial balance. 3 日 前
  Carles Sentis 8f2df4becc Implement keyboard command handling in TelegramTradingBot 3 日 前
  Carles Sentis 276920b7b4 Add leverage command and associated functionality to trading bot 3 日 前
  Carles Sentis 3c015b6319 Refactor trading commands to enhance stop loss validation by incorporating current market price checks. Update error handling for invalid stop loss prices based on position direction, improving user notifications. Streamline logging in external event monitoring for better clarity and consistency in trade lifecycle updates. Remove deprecated position monitor integration to simplify the monitoring architecture. 3 日 前
  Carles Sentis d3f17bcdb3 Refactor orphaned trade handling in SimplePositionTracker to improve clarity and efficiency. Simplify cancellation logic by directly checking for open orders and enhancing logging for orphaned trades. Update AggregationManager to streamline trade data migration and improve error handling for missing trade data. 4 日 前
  Carles Sentis b72dc27cd5 Refactor trading commands to support multiple stop loss prefixes and enhance order handling. Introduce a new method for retrieving pending stop losses from trade lifecycles, improving order visibility and clarity in the orders command. Update order formatting for better user experience. 4 日 前
  Carles Sentis b258e7aa33 Enhance orders command to include pending stop loss orders, improving order visibility. Refactor order formatting and error handling for better clarity and robustness. Update footer message to provide clearer user guidance on pending SL activation. 4 日 前
  Carles Sentis 21183cd90d Refactor formatter calls in TradingEngine to remove unnecessary token_info parameter, streamlining the code and enhancing readability. This change ensures consistent usage of the formatter across various trading methods. 4 日 前
  Carles Sentis 8f636db6cb Refactor trading commands to use async/await for market data and position retrieval, improving responsiveness and ensuring non-blocking operations. This change enhances the overall performance of trading operations. 4 日 前
  Carles Sentis ef2145c25c Update trades command to ensure trade ID is always a string and improve error logging by safely accessing trade symbol. This enhances data integrity and provides clearer error messages when processing trades. 4 日 前
  Carles Sentis 1a5f8aae35 Refactor risk command to use a dedicated reply method for improved message handling. Update database query execution to utilize a more efficient approach, enhancing performance and readability. 4 日 前
  Carles Sentis 3eb18bf1c6 Update risk and trades commands to improve trading statistics display and add defensive checks for trade data. Refactor risk command to utilize performance statistics for enhanced accuracy, and implement type checking in trades command to ensure data integrity. 4 日 前
  Carles Sentis 539869a29e Add footer to orders and price commands for improved user guidance and information. Include last updated timestamp in price command for better context on data freshness. 4 日 前
  Carles Sentis a9cde77ea0 Refactor price command to handle missing ticker data more gracefully by using default values. This change improves the robustness of price information retrieval and ensures consistent formatting in the output. 4 日 前
  Carles Sentis 775b4e2952 Refactor price command to include loading messages and improve error handling. Added asynchronous message editing for better user feedback during price retrieval, ensuring clearer communication of errors and results. 4 日 前
  Carles Sentis 41bf441177 Enhance asynchronous initialization in TradingEngine with improved logging. Added start and completion logs for async initialization and updated error logging to include exception details when setting the initial balance. 4 日 前
  Carles Sentis c1bc58f760 Update formatter calls in management, trading, and info commands to use async/await for improved performance and consistency. This change enhances the responsiveness of price and amount formatting across various commands, ensuring accurate and timely data presentation. 4 日 前