Add Telegram Bot Commands - Remote Control Implementation

Features:
- Remote control via Telegram commands
- /status - Bot status, positions, balance
- /pause - Pause trading (no new trades)
- /resume - Resume trading
- /close - Close all positions (emergency)
- /balance - Account balance & equity
- /stats - Performance statistics
- /help - Command help

Integration:
- Integrated into notebook (cells 27-29)
- Wrapped execute_trade_v2_adaptive with pause check
- Background service running parallel to bot
- MT5 integration for positions & balance
- Database integration for stats

Safety:
- Only authorized chat ID can send commands
- /close requires confirmation
- Instant pause/resume

Files:
- telegram_bot_commands.py - Main implementation
- setup_telegram_bot.py - Setup & installation
- TELEGRAM_BOT_COMMANDS_GUIDE.md - Complete documentation
- Notebook updated with 3 new cells (27-29)

Expected Impact: High - Full remote control from mobile phone
This commit is contained in:
2025-12-26 19:50:12 +01:00
parent 95a112e238
commit 155ec1b524
7 changed files with 4258 additions and 117 deletions
File diff suppressed because it is too large Load Diff