Commit History

Author SHA1 Message Date
  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. 3 days ago
  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. 4 days ago
  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. 4 days ago
  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. 5 days ago