Carles Sentis
|
23ba1fc8ea
Refactor risk command and trading stats for improved data handling
|
3 天之前 |
Carles Sentis
|
a763f218da
Enhance risk and stats commands for comprehensive reporting
|
3 天之前 |
Carles Sentis
|
4f8aa25c86
Update bot version to 2.4.256
|
3 天之前 |
Carles Sentis
|
dd2d743caf
Enhance risk metrics retrieval and performance reporting
|
3 天之前 |
Carles Sentis
|
a8c0f3e701
Add risk metrics to trading performance reporting
|
3 天之前 |
Carles Sentis
|
6c516173da
Refactor performance reporting in PerformanceCommands to enhance clarity and accuracy. Updated ranking display to include trade statistics such as win rate and ROE, while transitioning to a new data structure for token performance metrics. Improved database aggregation logic in AggregationManager for closed positions, ensuring comprehensive tracking of trade outcomes and performance metrics.
|
3 天之前 |
Carles Sentis
|
571a810813
Refactor performance ranking retrieval in PerformanceCommands to improve data handling and logging. The method now fetches token performance data directly from the trading engine, ensuring a limit of 10 tokens for ranking and updating the summary calculations accordingly.
|
3 天之前 |
Carles Sentis
|
e2b981eb1a
Remove async/await from set_initial_balance method in TradingEngine, enhancing code simplicity and performance during balance initialization.
|
3 天之前 |
Carles Sentis
|
5be22908ce
Refactor set_initial_balance method to remove async/await, improving code simplicity and performance. The method now directly interacts with the database manager for setting the initial balance.
|
3 天之前 |
Carles Sentis
|
8f2df4becc
Implement keyboard command handling in TelegramTradingBot
|
3 天之前 |
Carles Sentis
|
276920b7b4
Add leverage command and associated functionality to trading bot
|
3 天之前 |
Carles Sentis
|
3c015b6319
Refactor trading commands to enhance stop loss validation by incorporating current market price checks. Update error handling for invalid stop loss prices based on position direction, improving user notifications. Streamline logging in external event monitoring for better clarity and consistency in trade lifecycle updates. Remove deprecated position monitor integration to simplify the monitoring architecture.
|
3 天之前 |
Carles Sentis
|
d3f17bcdb3
Refactor orphaned trade handling in SimplePositionTracker to improve clarity and efficiency. Simplify cancellation logic by directly checking for open orders and enhancing logging for orphaned trades. Update AggregationManager to streamline trade data migration and improve error handling for missing trade data.
|
3 天之前 |
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 天之前 |