Коммит түүх

Эзэн SHA1 Мессеж Огноо
  Carles Sentis c1bc58f760 Update formatter calls in management, trading, and info commands to use async/await for improved performance and consistency. This change enhances the responsiveness of price and amount formatting across various commands, ensuring accurate and timely data presentation. 4 өдөр өмнө
  Carles Sentis 699f7c0b34 Enhance position information display in PositionsCommands by adding margin used details and refining market data updates in SimplePositionTracker. Ensure accurate extraction of margin and ROE from exchange position info, improving overall clarity in position management. 4 өдөр өмнө
  Carles Sentis 39569e8b46 Enhance market command to provide detailed market information for specified tokens. This update includes improved error handling, dynamic token retrieval, and a refined message format that presents comprehensive market data, including price, volume, and order book details. Additionally, the command now utilizes a dedicated formatter for consistent output across the application. 1 долоо хоног өмнө
  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. 1 долоо хоног өмнө
  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. 1 долоо хоног өмнө
  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. 1 долоо хоног өмнө
  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. 1 долоо хоног өмнө
  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. 1 долоо хоног өмнө
  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. 1 долоо хоног өмнө
  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. 1 долоо хоног өмнө
  Carles Sentis 7b61d54813 Enhance positions and stats commands in TelegramTradingBot. 1 долоо хоног өмнө
  Carles Sentis 72234b7b32 Refactor info command handling in TelegramTradingBot for improved modularity. 1 долоо хоног өмнө