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 өдөр өмнө |
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 өдөр өмнө |
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 долоо хоног өмнө |
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 долоо хоног өмнө |
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 долоо хоног өмнө |
Carles Sentis
|
c95eb361c3
Add balance adjustments tracking and notifications in Telegram bot - Implement a new feature to monitor deposits and withdrawals, enhancing P&L accuracy. Introduce the /balance_adjustments command for users to view their deposit/withdrawal history, and update trading statistics to include balance adjustments summary. Refactor TradingStats to manage balance adjustments effectively.
|
1 долоо хоног өмнө |
Carles Sentis
|
25635c9be6
Update Telegram bot to use Config.TELEGRAM_CHAT_ID for message sending - Refactor the send_message method to replace the use of authorized_chat_id with the configuration constant, ensuring consistent chat ID usage across the bot's messaging functionality.
|
1 долоо хоног өмнө |
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.
|
1 долоо хоног өмнө |
Carles Sentis
|
57b33be15b
Add /risk command to Telegram bot for advanced risk metrics - Implement a new command that provides users with detailed risk analysis, including risk-adjusted performance, drawdown analysis, and portfolio context. Enhance user experience with informative messages based on trading history and metrics, while ensuring proper error handling for unauthorized access and data retrieval issues.
|
1 долоо хоног өмнө |
Carles Sentis
|
81afc9a92a
Enhance trading statistics reporting in Telegram bot - Update daily, weekly, and monthly statistics to include performance metrics for days, weeks, and months with no trades. Refactor message formatting to ensure consistent display of trading activity, including summaries for periods without trades. Add tests to verify period stats consistency across different trading scenarios.
|
1 долоо хоног өмнө |
Carles Sentis
|
9eccf900ad
Enhance trading infrastructure and position tracking - Update README with key features of the trading system, including multi-platform support and advanced position tracking. Introduce a new reset_data.sh script for clearing trading data, and add SYSTEM_INTEGRATION.md to document the integration of TradingStats for unified position management. Refactor telegram_bot.py to utilize enhanced tracking methods and improve notification messaging for trade actions. Add tests for integrated position tracking to ensure functionality across multi-entry/exit scenarios.
|
1 долоо хоног өмнө |
Carles Sentis
|
7e3f3b7a7b
Enhance trading statistics reporting - Add completed trades metric to TradingStats class and update message formatting to display performance metrics based on completed trades. Improve error handling in stats message and provide informative messages for open positions, enhancing user experience in trading analysis.
|
1 долоо хоног өмнө |
Carles Sentis
|
0111c030e5
Add quick access commands to Telegram bot - Introduce a new /commands command with a button menu for instant access to key bot functions. Update alarm command descriptions for clarity and enhance help text layout for improved user experience.
|
1 долоо хоног өмнө |
Carles Sentis
|
f8db740389
Remove Telegram bot implementation - The telegram_bot.py file has been deleted as part of a refactor to streamline the codebase. This change eliminates the previous bot implementation, paving the way for a new architecture.
|
1 долоо хоног өмнө |
Carles Sentis
|
2470ad3d59
Update order monitoring interval in Telegram bot messages - Replace hardcoded heartbeat value with Config.BOT_HEARTBEAT_SECONDS for consistency across order monitoring and alarm notifications, ensuring accurate display of check intervals in user messages.
|
1 долоо хоног өмнө |
Carles Sentis
|
be22a37823
Add test script for bot configuration and format string verification - Introduce a new test file to validate the functionality of configuration changes, format strings, and timestamp handling in the Telegram bot. Ensure proper handling of new and removed configuration variables, and verify the accuracy of format strings used in bot messages.
|
1 долоо хоног өмнө |
Carles Sentis
|
ff030e0ae5
Refactor trading configuration - Replace DEFAULT_TRADING_SYMBOL and DEFAULT_TRADE_AMOUNT with DEFAULT_TRADING_TOKEN in configuration files and Telegram bot. Update related validation and logging to ensure proper handling of the new token format for market commands.
|
1 долоо хоног өмнө |
Carles Sentis
|
dd18f41e2f
Add stop loss configuration testing and automatic execution - Introduce a new test script for stop loss configuration, showcasing its functionality and scenarios. Update configuration settings to reflect a 10% stop loss threshold. Enhance the Telegram bot to include automatic stop loss notifications and execution, improving risk management capabilities.
|
1 долоо хоног өмнө |
Carles Sentis
|
01b6eed4d8
Add price alarm system and logging enhancements - Introduce a comprehensive price alarm manager with functionality for creating, triggering, and managing alarms. Implement logging configuration with rotation and cleanup support, and integrate alarm checks into the Telegram bot for real-time notifications. Add tests for alarm management and ensure persistence across sessions.
|
1 долоо хоног өмнө |
Carles Sentis
|
54b5e220e1
Improve argument validation in Telegram bot commands - Update checks for command arguments to ensure proper handling of empty inputs, enhancing user feedback for commands like /long, /short, /exit, /coo, /sl, and /tp.
|
1 долоо хоног өмнө |
Carles Sentis
|
05f44ba672
Enhance trading statistics functionality - Add new performance metrics including total wins, total losses, and expectancy. Improve error handling in stats message formatting to ensure robustness when no trades are recorded. Introduce a test script to verify the correctness of the stats command functionality.
|
1 долоо хоног өмнө |
Carles Sentis
|
5b76ad1144
Enhance documentation and update .gitignore - Add comprehensive command reference and project structure documentation, improve README for clarity, and update .gitignore to include test artifacts and temporary files.
|
1 долоо хоног өмнө |
Carles Sentis
|
11386a7766
Add user parameter for Hyperliquid CCXT compatibility - Enhance position and order fetching methods to support user identification via wallet address, improving integration with CCXT standards and logging for better debugging.
|
1 долоо хоног өмнө |
Carles Sentis
|
fd0fd8a569
Enhance Hyperliquid client configuration and balance fetching - Implement CCXT format for API keys, improve logging of sensitive data, and introduce alternative balance fetching methods with multiple approaches for better reliability.
|
1 долоо хоног өмнө |
Carles Sentis
|
c62f37c1cd
Refactor Telegram bot startup and update handling - Introduce application initialization, manual update polling, and improved shutdown procedures for better stability and error management.
|
1 долоо хоног өмнө |
Carles Sentis
|
16f8c7e01c
Enhance Telegram bot error handling and asyncio integration - Wrap bot startup in try-except for better error logging, and refactor main function to support async context detection.
|
1 долоо хоног өмнө |
Carles Sentis
|
238c0531ce
Reorganize documentation - Create clean docs/ structure, remove overlap, update references to current project state
|
1 долоо хоног өмнө |
Carles Sentis
|
ccf0f9cced
Update README.md - Remove outdated references, highlight single-command launcher, CCXT compatibility, and current project structure
|
1 долоо хоног өмнө |
Carles Sentis
|
2528e41235
Update Hyperliquid client for CCXT compatibility - Add secret key support, CCXT-style initialization, enhanced authentication and parameters
|
1 долоо хоног өмнө |
Carles Sentis
|
a456b4a88a
Fix Telegram Chat ID finder asyncio issues - Add robust event loop handling and alternative simple script
|
1 долоо хоног өмнө |