Commit History

Автор SHA1 Съобщение Дата
  Carles Sentis 1edb9e738a Update TradingStats to enhance display of average trade duration and portfolio max drawdown преди 3 дни
  Carles Sentis 40b39cecdb Enhance InfoCommands and TradingStats for detailed token statistics reporting преди 3 дни
  Carles Sentis 9a02105274 Refactor InfoCommands for improved message formatting and clarity преди 3 дни
  Carles Sentis e0da6151a2 Refactor TradingStats and NotificationManager for improved data handling and notification clarity преди 3 дни
  Carles Sentis b18401693d Refactor InfoCommands to improve performance report formatting and user experience преди 3 дни
  Carles Sentis 9871f27afe Refactor InfoCommands to streamline message formatting and enhance user interaction преди 3 дни
  Carles Sentis d7dcc87e53 Enhance InfoCommands to improve balance and performance reporting преди 3 дни
  Carles Sentis b29007221c Refactor InfoCommands and ManagementCommands for improved authorization and monitoring status преди 3 дни
  Carles Sentis 9f1b9d7140 Refactor price formatting across the application to utilize TokenDisplayFormatter преди 3 дни
  Carles Sentis 2f3a478417 Refactor InfoCommands to simplify price formatting by removing quote precision parameter преди 3 дни
  Carles Sentis 576c6e9e9b Refactor TradingEngine to use a dictionary for market cache instead of a list преди 3 дни
  Carles Sentis ddf87032e6 Update database migration logic to support multiple schema versions and enhance trading engine with token precision retrieval преди 3 дни
  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 дни
  Carles Sentis 54ad70c59d Add database migration functionality and initialize migration checks in TradingStats преди 3 дни
  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 дни
  Carles Sentis 0f79c87a9b Update trade insertion query to use "INSERT OR IGNORE" for improved handling of duplicate trades in TradingStats class. преди 3 дни
  Carles Sentis a949823c98 Add trade lifecycle documentation to project structure преди 3 дни
  Carles Sentis de0f267fb0 Add trade lifecycle management documentation преди 3 дни
  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 дни
  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 дни
  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 дни
  Carles Sentis 766045c215 Remove unused imports in info_commands.py to streamline code and improve readability. преди 4 дни
  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. преди 4 дни
  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 дни
  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 дни
  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 дни
  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 дни
  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 дни
  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 дни
  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 дни