Carles Sentis
|
9f1b9d7140
Refactor price formatting across the application to utilize TokenDisplayFormatter
|
3 days ago |
Carles Sentis
|
b185e1c107
Refactor InfoCommands and TradingCommands to remove deprecated auto-sync logic for orphaned positions. Updated notification handling to include trade lifecycle IDs for better tracking of orders. Enhanced MarketMonitor to utilize cached data for orders and positions, improving efficiency. Improved logging for better traceability of trade actions and notifications.
|
3 days ago |
Carles Sentis
|
a80a67f780
Refactor token case normalization across commands and alarm manager - Introduced a new utility function, _normalize_token_case, to standardize token case handling in InfoCommands, ManagementCommands, TradingCommands, AlarmManager, TradingStats, and PriceFormatter. This enhancement improves consistency in token processing, particularly for mixed-case tokens, ensuring accurate command execution and alarm management.
|
3 days ago |
Carles Sentis
|
c76ba56746
Refactor price formatting in InfoCommands and TradingCommands - Integrated the PriceFormatter for consistent price display across order and trade notifications. Updated relevant sections to utilize the formatter, enhancing clarity in user messages regarding order details and trade confirmations.
|
4 days ago |
Carles Sentis
|
cf7ab53c06
Implement price formatting utilities and integrate into trading commands - Added a new PriceFormatter class for handling price formatting with exchange-specific precision. Updated InfoCommands and TradingCommands to utilize the new formatter for displaying prices, enhancing clarity and consistency in user notifications. Initialized the formatter in TradingEngine to ensure proper integration across the application.
|
4 days ago |
Carles Sentis
|
d0ffa6537a
Refactor trading command notifications to accommodate new response format - Updated long, short, and exit order success notifications to extract and display order details from the new response structure. Enhanced backward compatibility by creating mock order objects for notifications, ensuring consistent user feedback and improved clarity in order status messages.
|
4 days ago |
Carles Sentis
|
c6d9f2f62a
Add initial price alarms JSON and trading stats SQLite file - Created a new JSON file for price alarms to manage alarm states and added a SQLite database for trading statistics, enhancing data persistence and management. Updated trading commands to reflect changes in order cancellation notifications, including detailed summaries of cancelled orders.
|
4 days ago |
Carles Sentis
|
5ae857d2d6
Enhance order management and stop loss functionality - Updated InfoCommands to display pending stop losses linked to orders, improving user visibility. Refactored TradingCommands to ensure accurate stop loss notifications and confirmations. Transitioned MarketMonitor to utilize SQLite for state management, replacing file-based persistence, and added comprehensive logging for order status updates. Improved TradingEngine to handle order placements and cancellations more robustly, including linked stop loss management, ensuring better tracking and execution of trades.
|
4 days ago |
Carles Sentis
|
4e2eb90b5b
Update callback data for inline keyboard buttons in InfoCommands and TradingCommands - Changed callback data to include leading slashes for consistency across command handling. Enhanced error logging and command execution feedback to improve user interaction and clarity during bot operations.
|
4 days ago |
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.
|
4 days ago |
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.
|
4 days ago |
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.
|
4 days ago |
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.
|
4 days ago |
Carles Sentis
|
2f07b122a3
Enhance Telegram bot command handling and performance tracking - Added new commands for performance metrics, daily, weekly, and monthly statistics, along with risk analysis and balance adjustments. Improved position direction handling and updated command responses for better user experience. Introduced a custom keyboard feature for quick access to commands, enhancing overall bot functionality.
|
4 days ago |
Carles Sentis
|
3e5ee4ebdd
Refactor trading bot architecture and update version to 2.2.0 - Transitioned from a monolithic structure to a modular design, enhancing maintainability and scalability. Introduced dedicated modules for core functionalities, trading commands, and logging configuration. Improved logging setup with advanced features and fallback mechanisms. Updated project documentation to reflect the new structure and benefits of modularization.
|
4 days ago |