提交历史

作者 SHA1 备注 提交日期
  Carles Sentis b72dc27cd5 Refactor trading commands to support multiple stop loss prefixes and enhance order handling. Introduce a new method for retrieving pending stop losses from trade lifecycles, improving order visibility and clarity in the orders command. Update order formatting for better user experience. 4 天之前
  Carles Sentis b258e7aa33 Enhance orders command to include pending stop loss orders, improving order visibility. Refactor order formatting and error handling for better clarity and robustness. Update footer message to provide clearer user guidance on pending SL activation. 4 天之前
  Carles Sentis 21183cd90d Refactor formatter calls in TradingEngine to remove unnecessary token_info parameter, streamlining the code and enhancing readability. This change ensures consistent usage of the formatter across various trading methods. 4 天之前
  Carles Sentis 8f636db6cb Refactor trading commands to use async/await for market data and position retrieval, improving responsiveness and ensuring non-blocking operations. This change enhances the overall performance of trading operations. 4 天之前
  Carles Sentis ef2145c25c Update trades command to ensure trade ID is always a string and improve error logging by safely accessing trade symbol. This enhances data integrity and provides clearer error messages when processing trades. 4 天之前
  Carles Sentis 1a5f8aae35 Refactor risk command to use a dedicated reply method for improved message handling. Update database query execution to utilize a more efficient approach, enhancing performance and readability. 4 天之前
  Carles Sentis 3eb18bf1c6 Update risk and trades commands to improve trading statistics display and add defensive checks for trade data. Refactor risk command to utilize performance statistics for enhanced accuracy, and implement type checking in trades command to ensure data integrity. 4 天之前
  Carles Sentis 539869a29e Add footer to orders and price commands for improved user guidance and information. Include last updated timestamp in price command for better context on data freshness. 4 天之前
  Carles Sentis a9cde77ea0 Refactor price command to handle missing ticker data more gracefully by using default values. This change improves the robustness of price information retrieval and ensures consistent formatting in the output. 4 天之前
  Carles Sentis 775b4e2952 Refactor price command to include loading messages and improve error handling. Added asynchronous message editing for better user feedback during price retrieval, ensuring clearer communication of errors and results. 4 天之前
  Carles Sentis 41bf441177 Enhance asynchronous initialization in TradingEngine with improved logging. Added start and completion logs for async initialization and updated error logging to include exception details when setting the initial balance. 4 天之前
  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 b15cb9e236 Refactor trading bot components to enhance async functionality and improve logging. Update requirements to include additional libraries for better performance and error handling. Adjust banner display to include network and database status, and refine error messages for database issues. Ensure consistent formatting in notifications and position tracking for improved clarity. 4 天之前
  Carles Sentis eeedfb3c92 Enhance HyperliquidClient by masking privateKey in safe configuration for improved security. 4 天之前
  Carles Sentis c8bdc8899c Change logging level for exchange position info in SimplePositionTracker from info to debug to reduce log verbosity while maintaining necessary details for troubleshooting. 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 37bc19028e Refactor reply handling in InfoCommandsBase to return Message objects and improve error logging in MarketCommands for initial message failures. Ensure fallback mechanisms are in place for message replies, enhancing overall command reliability. 4 天之前
  Carles Sentis bdfc910e3f Improve market command response handling by adding a loading message and updating the message editing process for unauthorized access, market data retrieval errors, and successful data display. Enhance price information formatting to include percentage positions within the daily range for better market insights. 4 天之前
  Carles Sentis f25c81c0df Enhance market data retrieval in HyperliquidClient by including 24h OHLCV data for accurate high/low values in the ticker. Update MarketCommands to calculate the spread using ticker bid and ask prices for improved clarity in order book information. 4 天之前
  Carles Sentis c146ef180a Enhance market information retrieval in MarketCommands by extracting ticker and orderbook data for improved clarity. Calculate 24h price change and update volume and turnover formatting to utilize new ticker information. Refactor order book display to ensure accurate spread calculation. 4 天之前
  Carles Sentis da9d0bc7d3 Refactor market data retrieval in HyperliquidClient to remove unnecessary await, improving performance. Update volume formatting in MarketCommands to include token information for enhanced clarity in market data responses. 4 天之前
  Carles Sentis f7643106db Refactor TradingEngine methods to be asynchronous, enabling better integration with async workflows. Updated methods for fetching market data, token info, and position handling to use await, improving responsiveness and performance in trading operations. 4 天之前
  Carles Sentis 0d413183d8 Refactor get_markets method in HyperliquidClient to be asynchronous, improving compatibility with async workflows. Updated MarketCommands to await the get_markets call, ensuring proper market data retrieval in an asynchronous context. 4 天之前
  Carles Sentis 83c97694aa Enhance market data retrieval in MarketCommands by constructing full market symbols for accurate data fetching. Added leverage information to the market information response and improved error messaging for symbol validation. This change improves the clarity and completeness of market data responses. 4 天之前
  Carles Sentis 72e24c79cf Refactor emergency exit handling in RiskCleanupManager and TradingEngine to improve error handling and logging. Enhanced notification formatting for exit failures and ensured cancellation of pending stop losses is robust and properly logged. This change streamlines the exit process and improves clarity in error reporting. 4 天之前
  Carles Sentis 1233092bf4 Change logging level from INFO to DEBUG in RiskCleanupManager for open positions check. This adjustment improves the granularity of log messages without cluttering the info logs. 1 周之前
  Carles Sentis ee90cddaf2 Improve notification formatting in RiskCleanupManager for emergency exit actions. Enhanced readability by restructuring multiline messages and ensuring consistent presentation of key information, including position details and error handling. 1 周之前
  Carles Sentis bb7394197f Refactor position handling in RiskCleanupManager to remove redundant mark price checks. Updated logging to focus on contracts and entry price, enhancing clarity in skipped positions. This change improves the efficiency of risk management operations. 1 周之前
  Carles Sentis 6833b74da1 Update logging level from DEBUG to INFO in RiskCleanupManager for improved visibility of key operations and status checks. 1 周之前
  Carles Sentis d4ae598ecd Update logic for largest_loss tracking in PerformanceCalculator and adjust SQL condition in AggregationManager. Largest loss is now initialized to 0 for better accuracy, and SQL query condition is modified to handle cases where largest losing cycle pnl is zero. 1 周之前