Carles Sentis
|
938e56a535
Refactor reset_data.sh and trading_bot.py for SQLite integration - Updated reset_data.sh to remove legacy JSON files and handle SQLite database cleanup. Modified trading_bot.py to check for SQLite database existence instead of JSON files, enhancing statistics persistence reporting. Adjusted management_commands.py to reflect the new SQLite file structure for trading stats. Improved trading_stats.py to rename order_id to exchange_fill_id and added linked_order_table_id for better data management.
|
4 өдөр өмнө |
Carles Sentis
|
d012cfe6be
Refactor logging and shutdown handling in trading bot - Updated logging calls to use the module logger for consistency and improved clarity. Adjusted shutdown logic to check for the application's running state using the private attribute, enhancing error handling during bot termination.
|
5 өдөр өмнө |
Carles Sentis
|
679f3b6d0f
Refactor trading bot shutdown handling and error logging - Removed unused signal handling for graceful shutdown and improved error logging in the BotManager class. Enhanced the main function to provide clearer logging during shutdown and error scenarios, ensuring better traceability and user feedback. Updated comments for clarity and consistency.
|
5 өдөр өмнө |
Carles Sentis
|
0cfca41a25
Refactor data management and update file structure for trading bot - Modified the .gitignore to include new data directories for persistent trading data and logs. Updated reset_data.sh to reflect changes in file paths and improved user prompts. Enhanced trading_stats.py and alarm_manager.py to ensure data is stored in the new structure, improving organization and maintainability. Added demo_stats.json for testing purposes.
|
5 өдөр өмнө |
Carles Sentis
|
3e5ee4ebdd
Refactor trading bot architecture and update version to 2.2.0 - Transitioned from a monolithic structure to a modular design, enhancing maintainability and scalability. Introduced dedicated modules for core functionalities, trading commands, and logging configuration. Improved logging setup with advanced features and fallback mechanisms. Updated project documentation to reflect the new structure and benefits of modularization.
|
5 өдөр өмнө |
Carles Sentis
|
65b089e7f9
Update bot version to 2.1.2 and refactor type imports across modules - Removed unused imports in alarm_manager, hyperliquid_client, logging_config, and telegram_bot. Enhanced trading_stats to calculate completed trade cycles, improving performance metrics and reporting accuracy.
|
5 өдөр өмнө |
Carles Sentis
|
8480c1e58a
Refactor Hyperliquid API to use wallet address instead of private key - Updated the trading bot and Hyperliquid client to replace references to HYPERLIQUID_PRIVATE_KEY with HYPERLIQUID_WALLET_ADDRESS, ensuring consistency across the codebase and improving error handling for wallet address configuration. Enhanced logging for deposit and withdrawal checks in the Telegram bot.
|
5 өдөр өмнө |
Carles Sentis
|
ccb9a192ce
Enhance trading bot with automatic stop loss functionality - Implemented a new feature allowing users to set stop loss parameters for long and short orders via Telegram commands. Updated README for security best practices and command usage, and improved order management with notifications for pending stop losses. Version updated to 2.1.1.
|
5 өдөр өмнө |
Carles Sentis
|
5f4d851d65
Refactor trading bot launcher and update Telegram bot features - Simplify the trading bot launcher for systemd deployment, removing error handling and auto-restart features. Introduce a versioning system for the bot and enhance the Telegram bot with a new /version command to display bot and system information. Update welcome messages and command descriptions for clarity and improved user experience.
|
6 өдөр өмнө |
Carles Sentis
|
1a4449c4ab
Hyperliquid Manual Trading Bot - Complete professional trading solution with Telegram interface, comprehensive statistics, auto-restart, and mobile control
|
6 өдөр өмнө |