Carles Sentis
|
406d85ca7d
Increment BOT_VERSION to 2.2.142 and enhance trade lifecycle management in TradingEngine and TradingStats.
|
2 giorni fa |
Carles Sentis
|
a37ed896e4
Increment BOT_VERSION to 2.2.141 and refactor stop loss order handling in TradingEngine and MarketMonitor.
|
2 giorni fa |
Carles Sentis
|
234fd9f873
Increment BOT_VERSION to 2.2.138 and update stop loss order implementation in HyperliquidClient.
|
2 giorni fa |
Carles Sentis
|
e96259f3e5
Increment BOT_VERSION to 2.2.134 and enhance MarketMonitor and TradingEngine with improved stop loss handling.
|
2 giorni fa |
Carles Sentis
|
e0da6151a2
Refactor TradingStats and NotificationManager for improved data handling and notification clarity
|
3 giorni fa |
Carles Sentis
|
9f1b9d7140
Refactor price formatting across the application to utilize TokenDisplayFormatter
|
3 giorni fa |
Carles Sentis
|
576c6e9e9b
Refactor TradingEngine to use a dictionary for market cache instead of a list
|
3 giorni fa |
Carles Sentis
|
ddf87032e6
Update database migration logic to support multiple schema versions and enhance trading engine with token precision retrieval
|
3 giorni fa |
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 giorni fa |
Carles Sentis
|
a750fec4e8
Refactor active trades command in InfoCommands to utilize open positions instead of all active trades. Updated messaging and logging for clarity, improved user notifications, and enhanced error handling. Adjusted MarketMonitor to log external position actions for better traceability.
|
4 giorni fa |
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.
|
4 giorni fa |
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.
|
4 giorni fa |
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.
|
4 giorni fa |
Carles Sentis
|
c31e47261d
Refactor order status update logic in TradingEngine and TradingStats - Updated the method for updating order statuses to include a new parameter for setting the exchange order ID directly. Improved logging to provide clearer feedback on order updates, enhancing overall traceability and debugging capabilities.
|
4 giorni fa |
Carles Sentis
|
14ae0d889a
Enhance stop loss order logic in TradingEngine - Implemented smart stop loss functionality to determine order type (market or limit) based on current market price relative to stop price. Improved logging for order placement and error handling, ensuring clarity in execution status and enhancing overall stop loss management.
|
4 giorni fa |
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 giorni fa |
Carles Sentis
|
2da0a71b51
Refactor MarketMonitor to enhance external trade processing - Updated the method for checking external trades to utilize the TradingEngine's recent fills retrieval. Improved timestamp handling and state management by loading the last processed trade time from the database. Enhanced logging for better debugging and added a safety net for activating pending stop losses based on recent fills, ensuring robust trade management.
|
4 giorni fa |
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 giorni fa |
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 giorni fa |
Carles Sentis
|
2218d5a8b5
Enhance error handling and logging in HyperliquidClient and TradingEngine - Implemented a method to extract specific error messages from exceptions in HyperliquidClient, improving clarity in error logging. Updated TradingEngine to handle order placement responses more robustly, ensuring detailed error messages are logged and returned for better debugging and user feedback.
|
4 giorni fa |
Carles Sentis
|
bb8b71a7ef
Refactor order execution logic in TradingEngine - Updated the execute_long_order and execute_short_order methods to improve handling of limit and market orders. Enhanced error handling for price validation and order placement, ensuring robustness against invalid inputs and improving logging for better traceability of order processing.
|
4 giorni fa |
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.
|
5 giorni fa |
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.
|
5 giorni fa |