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.
|
6 dni temu |
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.
|
6 dni temu |
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.
|
6 dni temu |
Carles Sentis
|
b9ed74ed0e
Refactor Telegram bot welcome message and command structure - Updated the welcome text to reflect the new Hyperliquid Trading Bot branding and improved command organization for better user navigation. Removed the custom keyboard message handler to streamline command processing and implemented a modern polling approach for bot updates, enhancing overall performance and user experience.
|
6 dni temu |
Carles Sentis
|
2f07b122a3
Enhance Telegram bot command handling and performance tracking - Added new commands for performance metrics, daily, weekly, and monthly statistics, along with risk analysis and balance adjustments. Improved position direction handling and updated command responses for better user experience. Introduced a custom keyboard feature for quick access to commands, enhancing overall bot functionality.
|
6 dni temu |
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.
|
6 dni temu |
Carles Sentis
|
ebd1bf097d
Enhance Telegram bot trade tracking and command handling - Introduced a mechanism to track bot-generated trade IDs to prevent double processing. Updated command handling to improve user experience with a more comprehensive keyboard mapping and added a debug command for internal state inspection. Enhanced position direction validation using CCXT's side field for improved accuracy in trading operations.
|
6 dni temu |
Carles Sentis
|
22125440b9
Refactor datetime handling in Telegram bot state management - Introduced a helper function to safely convert datetime objects to ISO strings, improving error handling for invalid datetime values. Updated state saving and trade processing logic to maintain datetime objects for comparisons, enhancing reliability in trade tracking.
|
6 dni temu |
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.
|
6 dni temu |
Carles Sentis
|
fd6d9c27f5
Enhance HyperliquidClient order handling - Implemented slippage calculation for market orders by fetching the current market price, ensuring more accurate order execution. Updated order creation to include slippage-adjusted pricing, improving trade reliability.
|
6 dni temu |
Carles Sentis
|
ec64d2f5c3
Enhance Telegram bot balance and order handling - Added debug logging for raw balance and orders data to aid in troubleshooting. Updated balance calculations to ensure accurate P&L reporting in USDC and refined asset handling for non-USDC tokens. Improved performance summary display and adjusted command prompts for opening positions.
|
6 dni temu |
Carles Sentis
|
9f8ab97bb9
Enhance bot state management in Telegram bot - Implemented persistent storage for bot state, including pending stop losses and order tracking, allowing for state restoration across sessions. Added functionality to handle custom keyboard commands and improved logging for state changes, ensuring a more robust user experience.
|
6 dni temu |
Carles Sentis
|
e3004bcf3e
Add custom keyboard configuration for Telegram bot - Introduced options to enable/disable custom keyboard shortcuts and define a layout for persistent buttons. Enhanced bot functionality by allowing users to access commands quickly through a tailored keyboard interface.
|
6 dni temu |
Carles Sentis
|
db32706b19
Enhance trade price validation in Telegram bot - Added fallback mechanism to ensure valid price is used when recording trades, improving robustness against unexpected price values. This change reinforces error handling in trading functions.
|
6 dni temu |
Carles Sentis
|
bb57f9fc22
Implement price validation and error handling in trading functions - Added error handling for price and stop loss inputs in the Telegram bot, ensuring robustness against invalid data. Introduced market price fallback mechanism to enhance user experience when invalid prices are provided.
|
6 dni temu |
Carles Sentis
|
c3fb69e164
Update HyperliquidClient configuration to include privateKey - Added 'privateKey' to the CCXT configuration, aligning it with Hyperliquid's requirements. This change ensures compatibility with the API while maintaining the existing structure for testnet and sandbox options.
|
6 dni temu |
Carles Sentis
|
e4bcfc2db1
Update HyperliquidClient to include wallet address in CCXT configuration - Modified the initialization of the Hyperliquid API client to add support for walletAddress, ensuring compatibility with CCXT. Adjusted the handling of privateKey and secret to streamline configuration and improve clarity.
|
6 dni temu |
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.
|
6 dni temu |
Carles Sentis
|
d071987233
Update Hyperliquid API configuration and documentation - Refined the configuration to replace HYPERLIQUID_PRIVATE_KEY with HYPERLIQUID_WALLET_ADDRESS and clarified the usage of HYPERLIQUID_SECRET_KEY. Enhanced README, setup instructions, and logging to improve user understanding and ensure compatibility with CCXT implementation.
|
6 dni temu |
Carles Sentis
|
d5588ed5be
Refactor Hyperliquid API configuration for wallet address and API key - Updated the configuration to correctly assign the wallet address to HYPERLIQUID_PRIVATE_KEY and the API generator key to HYPERLIQUID_SECRET_KEY. Adjusted documentation and logging to reflect these changes, ensuring clarity and compatibility with CCXT implementation.
|
6 dni temu |
Carles Sentis
|
efa4c4a664
Update Hyperliquid API configuration to include wallet address - Added support for specifying a wallet address in the configuration and documentation, enhancing compatibility with CCXT implementation. Improved logging and validation for wallet address usage, ensuring better user guidance and error handling.
|
6 dni temu |
Carles Sentis
|
9b45b66e00
Refactor Hyperliquid API configuration for private key support - Updated the configuration to use 'privateKey' instead of 'apiKey' for Hyperliquid, ensuring compatibility with CCXT implementation. Added backward compatibility for existing setups and improved logging for sensitive information.
|
6 dni temu |
Carles Sentis
|
daa67528c7
Update README to correct Mobile First link - Changed the Mobile First badge link to point to the correct repository, ensuring accurate navigation for users.
|
6 dni temu |
Carles Sentis
|
305dfedc03
Add license section to README - Introduced a new section detailing the MIT License for the project, enhancing documentation clarity and compliance information for users.
|
6 dni temu |
Carles Sentis
|
dffa441997
Enhance trading documentation and commands - Updated README and command references to include new automatic stop loss features for long and short positions. Improved clarity on command usage and added new commands for risk metrics and version information. Adjusted monitoring intervals for real-time notifications and refined project structure documentation.
|
6 dni temu |
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.
|
6 dni temu |
Carles Sentis
|
ab1d4735ed
Add user parameter setup for Hyperliquid API in deposit/withdrawal checks - Enhance deposit and withdrawal fetching by including user parameters based on the configured private key, improving API call accuracy and error handling in the Telegram bot.
|
6 dni temu |
Carles Sentis
|
a943a49b57
Implement sync_client checks for deposit and withdrawal operations in Telegram bot - Add validation to ensure sync_client is available before fetching deposits and withdrawals, enhancing error handling and robustness in transaction monitoring.
|
1 tydzień temu |
Carles Sentis
|
5c1b4ce0f2
Remove price alarms configuration file - The price_alarms.json file has been deleted as part of a codebase cleanup, streamlining the project structure and removing unused components.
|
1 tydzień temu |
Carles Sentis
|
968e663a08
Implement safety checks for order monitoring attributes in Telegram bot - Add checks to ensure that monitoring attributes are initialized before use, preventing potential errors. Update status reporting to utilize these attributes safely, enhancing the robustness of the bot's monitoring functionality.
|
1 tydzień temu |