Historique des commits

Auteur SHA1 Message Date
  Carles Sentis d5a7da7248 Add type hints to performance.py for improved code clarity and type safety il y a 1 semaine
  Carles Sentis 1675f1247e Enhance performance command to provide detailed token statistics and improve user feedback. Updated the performance display to include comprehensive metrics such as total P&L, ROE, and recent trades. Improved error handling for cases with no trading data and refined the formatting for better readability. Additionally, added a new method for formatting token-specific statistics, ensuring consistent presentation across the application. il y a 1 semaine
  Carles Sentis 3a1d0b8242 Enhance trading statistics retrieval by updating the get_token_performance method to support both specific token queries and aggregate performance data for all tokens. Improved error handling and added detailed performance metrics, including win rate and recent trades, ensuring comprehensive insights into trading performance. il y a 1 semaine
  Carles Sentis 9c134af542 Enhance error handling in positions command for numeric value conversions. Updated logic to safely convert entry price, current amount, mark price, unrealized P&L, ROE percentage, individual position value, and margin used, ensuring robust data retrieval and logging warnings for conversion failures. This improves data consistency and reliability in financial calculations. il y a 1 semaine
  Carles Sentis 45bdcf0d60 Refactor positions command to enhance data retrieval and formatting. Improved handling of position attributes, including entry price, current amount, and duration calculations. Updated display logic for position details, ensuring accurate representation of financial metrics such as unrealized P&L, ROE, and margin used. Enhanced error handling for date parsing and added support for displaying stop loss and take profit prices. il y a 1 semaine
  Carles Sentis 0d1c0aac12 Refactor positions command to improve mark price validation and enhance trading statistics retrieval. Updated the logic to ensure mark price is greater than zero before displaying it, and modified the last activity timestamp retrieval to include both opened and closed trades, ensuring accurate and timezone-aware data handling. il y a 1 semaine
  Carles Sentis 1e459c8602 Refactor positions command to streamline unrealized PnL and margin calculations. Updated retrieval methods to provide default values, enhancing data consistency. Improved clarity in position display by explicitly defining position direction and emoji representation. Additionally, modified TradeLifecycleManager to use a private method for executing database queries, ensuring better encapsulation of database interactions. il y a 1 semaine
  Carles Sentis 82fd062c25 Refactor ROE percentage handling across multiple components to improve data consistency and clarity. Updated positions command to retrieve 'roe_percentage' from the database, enhanced SimplePositionTracker and MarketMonitor to extract and utilize ROE from exchange responses, and modified TradeLifecycleManager to accommodate the new data structure. This ensures a unified approach to financial data representation throughout the application. il y a 1 semaine
  Carles Sentis da196f7a18 Update ROE percentage retrieval in positions command to use 'unrealized_pnl_percentage' from the database. This change enhances data consistency and aligns with recent updates for improved financial insights. il y a 1 semaine
  Carles Sentis 88be3dc67f Refactor SimplePositionTracker and TradeLifecycleManager to enhance position update handling. Added ROE percentage retrieval and improved notification details for position size changes. Updated database query construction for better clarity and efficiency in trade lifecycle updates. il y a 1 semaine
  Carles Sentis e50648a320 Enhance SimplePositionTracker to include unrealized P&L and ROE percentage in position updates. This improves the clarity of financial data presented to users, aligning with recent updates for consistent data handling across the application. il y a 1 semaine
  Carles Sentis 1cd72b8630 Update ROE percentage retrieval in positions command to use 'returnOnEquity' from CCXT response. This change enhances clarity and consistency in financial data presentation for users. il y a 1 semaine
  Carles Sentis 7b61d54813 Enhance positions and stats commands in TelegramTradingBot. il y a 1 semaine
  Carles Sentis fc0afb4fbf Enhance balance command functionality in TelegramTradingBot. il y a 1 semaine
  Carles Sentis eae76895a6 Refactor balance and trading stats retrieval in info commands for consistency. il y a 1 semaine
  Carles Sentis 37674c83b0 Rename CommandsCommands to CommandsInfo for clarity. il y a 1 semaine
  Carles Sentis da854948d4 Update requirements and refactor command handling in TelegramTradingBot. il y a 1 semaine
  Carles Sentis 72234b7b32 Refactor info command handling in TelegramTradingBot for improved modularity. il y a 1 semaine
  Carles Sentis 91275e4f8f Update ROE retrieval across multiple modules to use 'returnOnEquity' instead of 'percentage'. il y a 1 semaine
  Carles Sentis f2781b85f5 Enhance ROE calculations and data handling across multiple modules. il y a 1 semaine
  Carles Sentis bc6ff7b2cd Update bot version and remove deprecated files for improved project structure. il y a 1 semaine
  Carles Sentis 794136186d Refactor trade lifecycle management in InfoCommands for improved clarity and functionality. il y a 1 semaine
  Carles Sentis ae696f4a2c Enhance stop loss handling in InfoCommands for improved risk management. il y a 1 semaine
  Carles Sentis 63ce665836 Refactor update_order_status method in TradingStats for enhanced parameter flexibility. il y a 1 semaine
  Carles Sentis d6a9a8bc70 Enhance P&L reporting by incorporating Return on Equity (ROE) calculations across multiple modules. il y a 1 semaine
  Carles Sentis d807d1e80b Add external trade detection to MarketMonitor for improved order processing il y a 1 semaine
  Carles Sentis d3fdc2d8cc Update bot version and adjust performance metrics to prioritize total P&L. il y a 1 semaine
  Carles Sentis 8085d7062c Refactor performance metrics in info_commands and performance_calculator to prioritize ROE. il y a 1 semaine
  Carles Sentis 864697565f Remove deprecated scripts and files to streamline the project structure. il y a 1 semaine
  Carles Sentis 62c84ac847 Implement external stop loss detection in info_commands for enhanced risk management. il y a 1 semaine