Carles Sentis
|
5712974e83
Increment BOT_VERSION to 2.2.135 and enhance MarketMonitor with improved fill processing logic.
|
2 hari lalu |
Carles Sentis
|
e96259f3e5
Increment BOT_VERSION to 2.2.134 and enhance MarketMonitor and TradingEngine with improved stop loss handling.
|
2 hari lalu |
Carles Sentis
|
6f02c85338
Increment BOT_VERSION to 2.2.133 and update MarketMonitor to fetch recent fills without symbol and limit arguments.
|
2 hari lalu |
Carles Sentis
|
f20b05cba1
Increment BOT_VERSION to 2.2.132 and add diagnostic logging in MarketMonitor for unmatched fills.
|
2 hari lalu |
Carles Sentis
|
319ea7eec7
Enhance MarketMonitor with improved caching and state comparison logic.
|
2 hari lalu |
Carles Sentis
|
fc1349526d
Increment BOT_VERSION to 2.2.130 and refine MarketMonitor notification logic.
|
3 hari lalu |
Carles Sentis
|
239b1e9bca
Increment BOT_VERSION to 2.2.128 and enhance MarketMonitor with improved fill fetching logic.
|
3 hari lalu |
Carles Sentis
|
36e9706ac4
Update BOT_VERSION to 2.2.127 and enhance MarketMonitor with improved discrepancy handling during startup.
|
3 hari lalu |
Carles Sentis
|
94ca147fe0
Update BOT_VERSION to 2.2.126 and enhance MarketMonitor with external fill handling and auto-sync logic for discrepancies.
|
3 hari lalu |
Carles Sentis
|
9f1b9d7140
Refactor price formatting across the application to utilize TokenDisplayFormatter
|
3 hari lalu |
Carles Sentis
|
4acff625f3
Enhance InfoCommands and MarketMonitor to support unrealized P&L percentage tracking. Updated InfoCommands to calculate and display P&L metrics with improved formatting for asset details. Added new database fields for unrealized P&L percentage and integrated exchange data retrieval in MarketMonitor for better trade performance insights. Improved overall handling of position data and risk metrics.
|
3 hari lalu |
Carles Sentis
|
1467766bed
Enhance InfoCommands and MarketMonitor to incorporate leverage and risk metrics in position reporting. Updated InfoCommands to format direction text with leverage details and improved handling of margin and liquidation prices. Enhanced MarketMonitor to update unrealized P&L and market data for open positions, ensuring accurate tracking of trading metrics. Added new method in TradingStats for updating market-related data, improving database interactions for trade lifecycle management.
|
3 hari lalu |
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 hari lalu |
Carles Sentis
|
ff587c2ed9
Refactor MarketMonitor to enhance external trade handling and orphaned position management. Improved logic for linking bot orders to trades, recording fills, and determining action types based on trade context. Updated entry price estimation for orphaned positions with enhanced side detection and fallback mechanisms. Enhanced logging for better traceability of trade processing and notifications.
|
3 hari lalu |
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 hari lalu |
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.
|
4 hari lalu |
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 hari lalu |
Carles Sentis
|
a210658664
Enhance orphaned position handling in InfoCommands and MarketMonitor - Updated logic to utilize exchange data for entry prices, improving accuracy in position management. Added detailed notifications with exchange-provided risk metrics, including unrealized P&L, leverage, and liquidation prices. Enhanced logging for better traceability of auto-sync actions and fallback mechanisms.
|
4 hari lalu |
Carles Sentis
|
e70404443d
Implement entry price estimation for orphaned positions - Added functionality to estimate entry prices for orphaned positions in both InfoCommands and MarketMonitor. This enhancement improves the accuracy of position management by providing fallback mechanisms for cases where the entry price is zero, including checks for recent fills, current market prices, and bid/ask averages. Enhanced logging for better traceability of the estimation process.
|
4 hari lalu |
Carles Sentis
|
ab63095d50
Implement auto-sync for orphaned positions in trading bot - Enhanced InfoCommands and MarketMonitor to automatically detect and sync orphaned positions without trade lifecycle records. This update improves position management accuracy and user notifications, ensuring all positions are tracked effectively. Added logging for better traceability of auto-sync actions.
|
4 hari lalu |
Carles Sentis
|
3d5e262812
Update stop loss activation logic in MarketMonitor - Changed the method for checking pending stop losses from active trades to the trades table, aligning with the new unified trades management approach. This update enhances the priority handling of stop loss activations, improving overall trading accuracy.
|
4 hari lalu |
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 hari lalu |
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 hari lalu |
Carles Sentis
|
5321ab723d
Enhance stop loss cancellation logic in MarketMonitor - Implemented edge case handling to wait for potential fills before cancelling stop losses. Added checks for recent fills to prevent unnecessary cancellations, improving order management accuracy. Enhanced logging for better traceability of order statuses and actions taken.
|
4 hari lalu |
Carles Sentis
|
3849a02442
Enhance stop loss management in MarketMonitor - Updated orphaned stop loss cleanup logic to consider parent order statuses, improving accuracy in identifying and cancelling orphaned stop losses. Enhanced logging to provide clearer reasons for cancellations and updated documentation for the cleanup method to reflect new behavior.
|
4 hari lalu |
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 hari lalu |
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 hari lalu |
Carles Sentis
|
a10e7c34aa
Implement state management for MarketMonitor - Added functionality to load and save the market monitor's state to a JSON file, ensuring persistence of the last processed trade time. Enhanced timestamp handling for incoming trades to support various formats and ensure UTC consistency. Improved logging for state loading and saving processes to aid in debugging and monitoring.
|
4 hari lalu |
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 hari lalu |