From d3a426edf4e3bbadd01aebc45f4b21b56df31cea Mon Sep 17 00:00:00 2001 From: cbazza Date: Fri, 26 Dec 2025 21:42:28 +0100 Subject: [PATCH] Update notebook and add telegram debug tools Changes: - Notebook updated with latest telegram bot integration - Trade performance data updated - Added debug_telegram_bot.md - troubleshooting guide - Added test_telegram_bot.py - standalone test bot Note: Telegram Bot now working with fixes applied --- ...Bot_V1.6_Adaptive_Complete_CORRECTED.ipynb | 1195 ++++++++++- debug_telegram_bot.md | 204 ++ test_telegram_bot.py | 112 + trade_performance_v16_XAUUSD_202512.json | 1836 +++++++++++++++++ 4 files changed, 3258 insertions(+), 89 deletions(-) create mode 100644 debug_telegram_bot.md create mode 100644 test_telegram_bot.py diff --git a/TradingBot_V1.6_Adaptive_Complete_CORRECTED.ipynb b/TradingBot_V1.6_Adaptive_Complete_CORRECTED.ipynb index cb113b0..01edb57 100644 --- a/TradingBot_V1.6_Adaptive_Complete_CORRECTED.ipynb +++ b/TradingBot_V1.6_Adaptive_Complete_CORRECTED.ipynb @@ -47,6 +47,47 @@ "cell_type": "code", "execution_count": 1, "metadata": {}, + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ“¦ Installing python-telegram-bot...\n", + "\n", + "βœ… python-telegram-bot installed!\n", + "βœ… Version: 22.5\n", + "\n", + "🎯 Now restart kernel and run Cell 17 again!\n" + ] + } + ], + "source": [ + "# ==========================================\n", + "# INSTALL TELEGRAM DEPENDENCIES (Run FIRST!)\n", + "# ==========================================\n", + "\n", + "import sys\n", + "import subprocess\n", + "\n", + "print(\"πŸ“¦ Installing python-telegram-bot...\")\n", + "\n", + "subprocess.check_call([\n", + " sys.executable, \"-m\", \"pip\", \"install\",\n", + " \"python-telegram-bot\", \"--upgrade\"\n", + "])\n", + "\n", + "print(\"\\nβœ… python-telegram-bot installed!\")\n", + "\n", + "# Verify\n", + "import telegram\n", + "print(f\"βœ… Version: {telegram.__version__}\")\n", + "print(f\"\\n🎯 Now restart kernel and run Cell 17 again!\")" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, "outputs": [ { "name": "stdout", @@ -86,7 +127,7 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -121,7 +162,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -287,7 +328,7 @@ }, { "cell_type": "code", - "execution_count": 4, + "execution_count": 5, "metadata": {}, "outputs": [ { @@ -302,12 +343,12 @@ "\n", "\n", "╔════════════════════════════════════════════════════════╗\n", - "β•‘ ADAPTIVE RHYTHM STATUS - 20:45:04 UTC β•‘\n", + "β•‘ ADAPTIVE RHYTHM STATUS - 21:24:25 UTC β•‘\n", "╠════════════════════════════════════════════════════════╣\n", "β•‘ Aktuelles Intervall: 5 Minuten β•‘\n", "β•‘ Trading Session: NY β•‘\n", "β•‘ VolatilitΓ€tslevel: HIGH β•‘\n", - "β•‘ ATR (H1): 17.33 β•‘\n", + "β•‘ ATR (H1): 17.02 β•‘\n", "╠════════════════════════════════════════════════════════╣\n", "β•‘ INTERVALL-SCHEMA: β•‘\n", "β•‘ β€’ Overlap (13-16 UTC): 5-15 Min (aktivste Phase) β•‘\n", @@ -344,7 +385,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 6, "metadata": {}, "outputs": [ { @@ -394,17 +435,17 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ - "2025-12-26 20:45:05,214 - INFO - 🎯 Advanced Position Manager initialized\n", - "2025-12-26 20:45:05,217 - INFO - Adaptive Sizing: βœ…\n", - "2025-12-26 20:45:05,218 - INFO - Trailing Stop: βœ…\n", - "2025-12-26 20:45:05,218 - INFO - Partial TP: βœ…\n" + "2025-12-26 21:24:26,134 - INFO - 🎯 Advanced Position Manager initialized\n", + "2025-12-26 21:24:26,135 - INFO - Adaptive Sizing: βœ…\n", + "2025-12-26 21:24:26,135 - INFO - Trailing Stop: βœ…\n", + "2025-12-26 21:24:26,136 - INFO - Partial TP: βœ…\n" ] }, { @@ -463,7 +504,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 8, "metadata": {}, "outputs": [ { @@ -511,7 +552,7 @@ }, { "cell_type": "code", - "execution_count": 8, + "execution_count": 9, "metadata": {}, "outputs": [ { @@ -643,7 +684,7 @@ }, { "cell_type": "code", - "execution_count": 9, + "execution_count": 10, "metadata": {}, "outputs": [ { @@ -728,7 +769,7 @@ }, { "cell_type": "code", - "execution_count": 10, + "execution_count": 11, "metadata": {}, "outputs": [ { @@ -850,7 +891,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -1042,7 +1083,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 13, "metadata": {}, "outputs": [ { @@ -1102,7 +1143,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 14, "metadata": {}, "outputs": [], "source": [ @@ -1152,7 +1193,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 15, "metadata": {}, "outputs": [ { @@ -1161,7 +1202,7 @@ "0.01" ] }, - "execution_count": 14, + "execution_count": 15, "metadata": {}, "output_type": "execute_result" } @@ -1173,7 +1214,7 @@ }, { "cell_type": "code", - "execution_count": 15, + "execution_count": 16, "metadata": {}, "outputs": [ { @@ -1413,7 +1454,7 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": 17, "metadata": {}, "outputs": [ { @@ -1471,9 +1512,19 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 18, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ“¦ Installing python-telegram-bot...\n", + "βœ… python-telegram-bot installed successfully!\n", + "βœ… telegram module version: 22.5\n" + ] + } + ], "source": [ "# ==========================================\n", "# INSTALL TELEGRAM BOT DEPENDENCIES\n", @@ -1537,19 +1588,27 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": 19, "metadata": {}, "outputs": [ { - "ename": "ModuleNotFoundError", - "evalue": "No module named 'telegram'", - "output_type": "error", - "traceback": [ - "\u001b[1;31m---------------------------------------------------------------------------\u001b[0m", - "\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)", - "Cell \u001b[1;32mIn[17], line 5\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[38;5;66;03m# ==========================================\u001b[39;00m\n\u001b[0;32m 2\u001b[0m \u001b[38;5;66;03m# TELEGRAM BOT COMMANDS - Background Service\u001b[39;00m\n\u001b[0;32m 3\u001b[0m \u001b[38;5;66;03m# ==========================================\u001b[39;00m\n\u001b[1;32m----> 5\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mtelegram_bot_commands\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m TelegramBotCommander, get_bot_controller\n\u001b[0;32m 6\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mthreading\u001b[39;00m\n\u001b[0;32m 8\u001b[0m \u001b[38;5;66;03m# Start Telegram Bot in background\u001b[39;00m\n", - "File \u001b[1;32mc:\\Users\\Administrator\\Documents\\Place-Order-Trading-Bot\\telegram_bot_commands.py:25\u001b[0m\n\u001b[0;32m 22\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01msqlite3\u001b[39;00m\n\u001b[0;32m 24\u001b[0m \u001b[38;5;66;03m# New API imports for python-telegram-bot 22.x\u001b[39;00m\n\u001b[1;32m---> 25\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mtelegram\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Update\n\u001b[0;32m 26\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mtelegram\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mext\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m Application, CommandHandler, ContextTypes\n\u001b[0;32m 28\u001b[0m \u001b[38;5;66;03m# Import existing modules\u001b[39;00m\n", - "\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'telegram'" + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸš€ Starting Telegram Bot Commander...\n", + "βœ… Telegram Bot Commander initialized\n", + "πŸ“± Bot Token: 7783303065:AAHVVvwWG...\n", + "πŸ‘€ Chat ID: 8039713369\n", + "βœ… Telegram Bot running in background\n", + "βœ… Telegram Bot is running in background!\n", + "πŸ“± Available Commands:\n", + " /status - Bot status & positions\n", + " /pause - Pause trading\n", + " /resume - Resume trading\n", + " /close - Close all positions (requires confirm)\n", + " /balance - Account balance\n", + " /stats - Performance stats\n", + " /help - Show help\n" ] } ], @@ -1588,9 +1647,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 20, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "βœ… execute_trade_v2_adaptive wrapped with Telegram control\n", + " Trading can now be paused/resumed via /pause and /resume\n" + ] + } + ], "source": [ "# ==========================================\n", "# INTEGRATION: Bot Controller mit execute_trade\n", @@ -1670,7 +1738,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 21, "metadata": {}, "outputs": [], "source": [ @@ -1749,9 +1817,26 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 22, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "βœ… Multi-Timeframe Ranging Filter aktiviert!\n", + " PrΓΌft: H1, H4, D1\n", + " Gewichtung: D1 (3x) > H4 (2x) > H1 (1x)\n", + " Threshold: ADX > 25\n", + "\n", + "πŸ“Š Entscheidungslogik:\n", + " 1. D1 ADX > 30 β†’ ERLAUBT (starker Trend)\n", + " 2. H4+D1 beide > 25 β†’ ERLAUBT (bestΓ€tigter Trend)\n", + " 3. Weighted ADX > 25 β†’ ERLAUBT (Gesamtbild)\n", + " 4. Sonst β†’ BLOCKIERT (Ranging)\n" + ] + } + ], "source": [ "# ==========================================\n", "# 🎯 MULTI-TIMEFRAME RANGING FILTER (20.12.2025)\n", @@ -1783,9 +1868,40 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 23, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ§ͺ TESTING MULTI-TIMEFRAME REGIME FILTER\n", + "======================================================================\n", + "\n", + "\n", + "πŸ“Š MULTI-TIMEFRAME REGIME CHECK\n", + "============================================================\n", + " H1: ADX 24.9 (weight 1.0x) πŸ“Š RANGE\n", + " H4: ADX 39.9 (weight 2.0x) βœ… TREND\n", + " D1: ADX 36.6 (weight 3.0x) βœ… TREND\n", + "\n", + " Weighted ADX: 35.7\n", + " Threshold: 25\n", + "\n", + " βœ… ALLOWED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "============================================================\n", + "\n", + "πŸ“‹ ERGEBNIS:\n", + " Trading Allowed: True\n", + " Regime: trending\n", + " Weighted ADX: 35.7\n", + "\n", + "βœ… FILTER ERLAUBT TRADES!\n", + " β†’ Bot wird bei nΓ€chstem Scheduler-Run traden (wenn andere Bedingungen passen)\n" + ] + } + ], "source": [ "# ==========================================\n", "# πŸ§ͺ TEST: Multi-Timeframe Regime Filter\n", @@ -1818,9 +1934,17 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 24, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "⚠️ check_open_positions not found - skipping Position Monitor fix\n" + ] + } + ], "source": [ "# ==========================================\n", "# πŸ”₯ FIX #2: POSITION MONITOR DB LOGGING (09.12.2025)\n", @@ -1891,9 +2015,17 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 25, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "βœ… Performance Monitoring functions defined (with adaptive features)\n" + ] + } + ], "source": [ "def log_trade_performance_adaptive(signal_info, order_result):\n", " \"\"\"\n", @@ -2014,9 +2146,18 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 26, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ”§ Force resuming trading after Ranging Filter deployment...\n", + "⚠️ drawdown_protection not initialized yet\n" + ] + } + ], "source": [ "# ==========================================\n", "# FORCE RESUME TRADING (V2.2 FIX)\n", @@ -2055,9 +2196,34 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 27, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ”§ Setting up Trading Check...\n", + "βœ… Session Filter aktiviert!\n", + " Deaktivierte Sessions:\n", + " β€’ ASIAN : βœ… AKTIV\n", + " β€’ LONDON : ❌ DEAKTIVIERT\n", + " β€’ OVERLAP : ❌ DEAKTIVIERT\n", + " β€’ NY : βœ… AKTIV\n", + "\n", + "πŸ›‘οΈ Drawdown Protection aktiviert!\n", + " β€’ Daily Loss Limit: $100\n", + " β€’ Weekly Loss Limit: $300\n", + " β€’ Monthly Loss Limit: $800\n", + " β€’ Max Consecutive Losses: 5\n", + " β€’ Cooldown: 24h\n", + "\n", + "βœ… Trading Check ist jetzt vollstΓ€ndig geschΓΌtzt!\n", + " πŸ“Š Session Filter: Aktiv\n", + " πŸ›‘οΈ Drawdown Protection: Aktiv\n" + ] + } + ], "source": [ "# ==========================================\n", "# TRADING CHECK: SESSION FILTER + DRAWDOWN PROTECTION\n", @@ -2107,9 +2273,27 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 28, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:24:40,930 - INFO - βœ… Trading resumed after: None\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "βœ… Command handlers registered\n", + "πŸš€ Starting Telegram Bot...\n", + "πŸ“± Send /help to see available commands\n", + "βœ… Trading force-resumed (Ranging Filter deployed)\n" + ] + } + ], "source": [ "# Force resume after restart (V2.2 fix)\n", "drawdown_protection._resume_trading()\n", @@ -2118,7 +2302,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 29, "metadata": {}, "outputs": [], "source": [ @@ -2164,9 +2348,40 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 30, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "βš™οΈ V1.6 Adaptive Complete Configuration:\n", + "\n", + "πŸ›‘οΈ Position Control:\n", + " Max Positions: 1\n", + " Strategy: TradingBot_V1.6\n", + "\n", + "πŸš€ Relaxed Parameters:\n", + " Base Confidence: 60%\n", + " Min ATR: 0.0008\n", + " Pullback Entry: False\n", + "\n", + "⚑ Adaptive Features:\n", + " Dynamic Intervals: 5/15/30 min\n", + " Session-aware: Yes\n", + " Volatility-based: Yes\n", + "\n", + "βœ… Configuration complete!\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:24:41,762 - INFO - HTTP Request: POST https://api.telegram.org/bot7783303065:AAHVVvwWGqmhJ2BVq8LqkLRSsicKy1CUsD8/sendMessage \"HTTP/1.1 200 OK\"\n" + ] + } + ], "source": [ "# βœ… KORRIGIERT: Zentrale Konfiguration (fehlte in ursprΓΌnglicher V1.6)\n", "ADAPTIVE_COMPLETE_CONFIG = {\n", @@ -2209,9 +2424,32 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 31, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "βœ… Status monitoring function defined (COMPLETE with all features)\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:24:41,785 - INFO - HTTP Request: POST https://api.telegram.org/bot7783303065:AAHVVvwWGqmhJ2BVq8LqkLRSsicKy1CUsD8/getMe \"HTTP/1.1 200 OK\"\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:24:41,786 - INFO - Scheduler started\n", + "2025-12-26 21:24:41,788 - INFO - Application started\n" + ] + } + ], "source": [ "# βœ… KORRIGIERT: Umfassendes Status Monitoring (fehlte in V1.6)\n", "def check_adaptive_bot_status():\n", @@ -2295,9 +2533,71 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 32, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:24:41,897 - INFO - HTTP Request: POST https://api.telegram.org/bot7783303065:AAHVVvwWGqmhJ2BVq8LqkLRSsicKy1CUsD8/deleteWebhook \"HTTP/1.1 200 OK\"\n", + "2025-12-26 21:24:41,960 - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts\n", + "2025-12-26 21:24:41,961 - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts\n", + "2025-12-26 21:24:41,962 - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts\n", + "2025-12-26 21:24:41,963 - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts\n", + "2025-12-26 21:24:41,988 - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "βœ… Bot is running\n", + "βœ… Scheduled reports added:\n", + " πŸ“Š Daily report: 22:00 UTC\n", + " πŸ“ˆ Weekly report: Sunday 23:00 UTC\n", + "βœ… Scheduled reports added:\n", + " πŸ“Š Daily report: 22:00 UTC\n", + " πŸ“ˆ Weekly report: Sunday 23:00 UTC\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:24:41,990 - INFO - Adding job tentatively -- it will be properly scheduled when the scheduler starts\n", + "2025-12-26 21:24:41,991 - INFO - Added job \"create_protected_trading_check..protected_check\" to job store \"default\"\n", + "2025-12-26 21:24:41,992 - INFO - Added job \"print_status_report\" to job store \"default\"\n", + "2025-12-26 21:24:41,993 - INFO - Added job \"TradingInfrastructure.send_daily_report\" to job store \"default\"\n", + "2025-12-26 21:24:41,996 - INFO - Added job \"TradingInfrastructure.send_weekly_report\" to job store \"default\"\n", + "2025-12-26 21:24:41,996 - INFO - Added job \"PositionMonitor.check_open_positions\" to job store \"default\"\n", + "2025-12-26 21:24:41,996 - INFO - Added job \"\" to job store \"default\"\n", + "2025-12-26 21:24:41,996 - INFO - Scheduler started\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "βœ… Position Monitor job added\n", + "βœ… Advanced Position Management job added\n", + "\n", + "βœ… Scheduler started!\n", + "\n", + "πŸ“‹ Active Jobs: 6\n", + " β€’ adaptive_trading_check\n", + " β€’ position_monitor\n", + " β€’ advanced_position_management\n", + " β€’ status_report\n", + " β€’ daily_report\n", + " β€’ weekly_report\n", + "\n", + "======================================================================\n", + "πŸš€ TradingBot V2.2 - All Systems Ready!\n", + "======================================================================\n" + ] + } + ], "source": [ "# ==========================================\n", "# SETUP SCHEDULER (V1.6 ADAPTIVE COMPLETE)\n", @@ -2377,9 +2677,32 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 33, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ§ͺ TEST 1: Position Check\n", + "==================================================\n", + "\n", + "πŸ“Š POSITION SUMMARY fΓΌr XAUUSD (V1.6 Adaptive Complete)\n", + "============================================================\n", + "βœ… Keine aktiven Positionen - bereit fΓΌr neuen Trade\n" + ] + }, + { + "data": { + "text/plain": [ + "False" + ] + }, + "execution_count": 33, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "# βœ… KORRIGIERT: Umfassende Testing Suite (fehlte in V1.6)\n", "\n", @@ -2391,9 +2714,40 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 34, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "πŸ§ͺ TEST 2: Adaptive Rhythm\n", + "==================================================\n", + "\n", + "╔════════════════════════════════════════════════════════╗\n", + "β•‘ ADAPTIVE RHYTHM STATUS - 21:24:42 UTC β•‘\n", + "╠════════════════════════════════════════════════════════╣\n", + "β•‘ Aktuelles Intervall: 5 Minuten β•‘\n", + "β•‘ Trading Session: NY β•‘\n", + "β•‘ VolatilitΓ€tslevel: HIGH β•‘\n", + "β•‘ ATR (H1): 17.02 β•‘\n", + "╠════════════════════════════════════════════════════════╣\n", + "β•‘ INTERVALL-SCHEMA: β•‘\n", + "β•‘ β€’ Overlap (13-16 UTC): 5-15 Min (aktivste Phase) β•‘\n", + "β•‘ β€’ London/NY: 5-30 Min (volatilitΓ€tsabh.) β•‘\n", + "β•‘ β€’ Asian Session: 15-30 Min (ruhigere Phase) β•‘\n", + "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•\n", + "\n", + "\n", + "Details:\n", + " Optimal Interval: 5 min\n", + " Session: ny\n", + " ATR: 17.02\n", + " Volatility Level: high\n" + ] + } + ], "source": [ "# Test 2: Adaptive Rhythm Status\n", "print(\"\\nπŸ§ͺ TEST 2: Adaptive Rhythm\")\n", @@ -2417,9 +2771,56 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 35, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "πŸ§ͺ TEST 3: Signal Analysis\n", + "==================================================\n", + "πŸ” Analyzing XAUUSD with V1.6 ADAPTIVE COMPLETE parameters...\n", + "\n", + "πŸ“Š V1.6 ADAPTIVE COMPLETE Trend-Analyse fΓΌr XAUUSD\n", + "⚑ Adaptive Interval: 5 min | Session: NY\n", + "🎯 Market Regime: RANGING (Strength: 10%)\n", + "🎚️ Adaptive Threshold: 70% (RELAXED)\n", + "\n", + "+------+---------+------------+---------+----------+---------+\n", + "| TF | Trend | Strength | ATR | Slope | Price |\n", + "|------+---------+------------+---------+----------+---------|\n", + "| D1 | uptrend | 769.03 | 71.3863 | 8.23475 | 4525.7 |\n", + "| H4 | uptrend | 592.46 | 28.6199 | 2.5434 | 4525.63 |\n", + "| H1 | uptrend | 662.52 | 16.9131 | 1.68079 | 4525.63 |\n", + "| M30 | uptrend | 303.28 | 12.3449 | 0.561598 | 4525.63 |\n", + "| M15 | uptrend | 242.53 | 9.3263 | 0.339285 | 4525.63 |\n", + "| M5 | uptrend | 183.19 | 4.9722 | 0.136629 | 4525.63 |\n", + "+------+---------+------------+---------+----------+---------+\n", + "\n", + "➑️ Standard-Trend: uptrend (Strength: 698.40)\n", + "➑️ Fast-Trend: uptrend (Required: 2/4)\n", + "➑️ Top-Down-Trend: uptrend\n", + "➑️ Confidence: 100.0% (Threshold: 70%)\n", + "➑️ Risk-Adjusted Strength: 182234.1 (Min: 80)\n", + "➑️ Signal Quality: EXCELLENT\n", + "\n", + "πŸš€ V1.6 Adaptive Complete: Full Features + Adaptive Rhythm\n", + "\n", + "🎯 SIGNAL SUMMARY:\n", + " Entry Signal: 1\n", + " Confidence: 100.0%\n", + " Threshold: 70%\n", + " Quality: EXCELLENT\n", + " Regime: RANGING\n", + " Adaptive Interval: 5 min\n", + " Session: NY\n", + "\n", + "βœ… TRADING SIGNAL: LONG\n" + ] + } + ], "source": [ "# Test 3: Signal Analysis\n", "print(\"\\nπŸ§ͺ TEST 3: Signal Analysis\")\n", @@ -2448,9 +2849,78 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 36, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "πŸ§ͺ TEST 4: Complete Bot Status\n", + "==================================================\n", + "\n", + "======================================================================\n", + "πŸ” V1.6 ADAPTIVE COMPLETE BOT STATUS\n", + "======================================================================\n", + "\n", + "πŸ“‘ SYSTEM STATUS:\n", + " MT5 Connection: βœ…\n", + " Scheduler Running: βœ…\n", + " Active Jobs: 6\n", + "\n", + "⚑ ADAPTIVE RHYTHM:\n", + " Current Interval: 5 min\n", + " Trading Session: NY\n", + " ATR (H1): 17.02\n", + " Volatility: HIGH\n", + "\n", + "πŸ›‘οΈ POSITION CONTROL:\n", + " Active Positions: 0/1\n", + " Trading Status: βœ… READY\n", + "\n", + "πŸ“Š CURRENT SIGNAL:\n", + "πŸ” Analyzing XAUUSD with V1.6 ADAPTIVE COMPLETE parameters...\n", + "\n", + "πŸ“Š V1.6 ADAPTIVE COMPLETE Trend-Analyse fΓΌr XAUUSD\n", + "⚑ Adaptive Interval: 5 min | Session: NY\n", + "🎯 Market Regime: RANGING (Strength: 10%)\n", + "🎚️ Adaptive Threshold: 70% (RELAXED)\n", + "\n", + "+------+---------+------------+---------+----------+---------+\n", + "| TF | Trend | Strength | ATR | Slope | Price |\n", + "|------+---------+------------+---------+----------+---------|\n", + "| D1 | uptrend | 769.03 | 71.3863 | 8.2347 | 4525.53 |\n", + "| H4 | uptrend | 592.45 | 28.6199 | 2.54338 | 4525.53 |\n", + "| H1 | uptrend | 662.51 | 16.9131 | 1.68077 | 4525.54 |\n", + "| M30 | uptrend | 303.27 | 12.3449 | 0.561577 | 4525.54 |\n", + "| M15 | uptrend | 242.51 | 9.3263 | 0.339264 | 4525.54 |\n", + "| M5 | uptrend | 183.21 | 4.9722 | 0.136641 | 4525.68 |\n", + "+------+---------+------------+---------+----------+---------+\n", + "\n", + "➑️ Standard-Trend: uptrend (Strength: 698.40)\n", + "➑️ Fast-Trend: uptrend (Required: 2/4)\n", + "➑️ Top-Down-Trend: uptrend\n", + "➑️ Confidence: 100.0% (Threshold: 70%)\n", + "➑️ Risk-Adjusted Strength: 182231.6 (Min: 80)\n", + "➑️ Signal Quality: EXCELLENT\n", + "\n", + "πŸš€ V1.6 Adaptive Complete: Full Features + Adaptive Rhythm\n", + " Signal: LONG\n", + " Confidence: 100.0%\n", + " Threshold: 70%\n", + " Quality: EXCELLENT\n", + " Regime: RANGING\n", + " Would Trade: βœ… YES\n", + "\n", + "πŸŽ‰ VERSION INFO:\n", + " Version: V1.6 Adaptive Complete (CORRECTED)\n", + " Features: Position Control + Relaxed + Adaptive Rhythm\n", + " Status: Production-Ready βœ…\n", + "======================================================================\n" + ] + } + ], "source": [ "# Test 4: Complete Bot Status\n", "print(\"\\nπŸ§ͺ TEST 4: Complete Bot Status\")\n", @@ -2460,9 +2930,113 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 37, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "πŸ§ͺ TEST 5: Trade Execution (DRY RUN)\n", + "==================================================\n", + "\n", + "Testing trading logic without actual order...\n", + "\n", + "πŸ“Š MULTI-TIMEFRAME REGIME CHECK\n", + "============================================================\n", + " H1: ADX 24.9 (weight 1.0x) πŸ“Š RANGE\n", + " H4: ADX 39.9 (weight 2.0x) βœ… TREND\n", + " D1: ADX 36.6 (weight 3.0x) βœ… TREND\n", + "\n", + " Weighted ADX: 35.7\n", + " Threshold: 25\n", + "\n", + " βœ… ALLOWED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "============================================================\n", + "\n", + "βœ… REGIME CHECK PASSED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "\n", + "πŸ” POSITION CHECK fΓΌr XAUUSD (V1.6 Adaptive Complete)\n", + "βœ… Position-Check OK: 0/1\n", + "πŸ” Analyzing XAUUSD with V1.6 ADAPTIVE COMPLETE parameters...\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:24:43,681 - INFO - πŸ“Š Adaptive Position Sizing:\n", + "2025-12-26 21:24:43,681 - INFO - Confidence: 100.0% (HIGH)\n", + "2025-12-26 21:24:43,681 - INFO - Base Risk: 2.0%\n", + "2025-12-26 21:24:43,681 - INFO - Multiplier: 1.5x\n", + "2025-12-26 21:24:43,681 - INFO - Adjusted Risk: 3.0%\n", + "2025-12-26 21:24:43,681 - INFO - πŸ’° Position Size: 0.01 lots\n", + "2025-12-26 21:24:43,681 - INFO - Risk Amount: $207.42\n", + "2025-12-26 21:24:43,681 - INFO - SL Distance: 67124.59 pips\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "πŸ“Š V1.6 ADAPTIVE COMPLETE Trend-Analyse fΓΌr XAUUSD\n", + "⚑ Adaptive Interval: 5 min | Session: NY\n", + "🎯 Market Regime: RANGING (Strength: 10%)\n", + "🎚️ Adaptive Threshold: 70% (RELAXED)\n", + "\n", + "+------+---------+------------+---------+----------+---------+\n", + "| TF | Trend | Strength | ATR | Slope | Price |\n", + "|------+---------+------------+---------+----------+---------|\n", + "| D1 | uptrend | 769.03 | 71.3863 | 8.23475 | 4525.7 |\n", + "| H4 | uptrend | 592.46 | 28.6199 | 2.54342 | 4525.7 |\n", + "| H1 | uptrend | 662.53 | 16.9131 | 1.6808 | 4525.7 |\n", + "| M30 | uptrend | 303.29 | 12.3449 | 0.561615 | 4525.7 |\n", + "| M15 | uptrend | 242.54 | 9.3263 | 0.339302 | 4525.7 |\n", + "| M5 | uptrend | 183.21 | 4.9722 | 0.136645 | 4525.7 |\n", + "+------+---------+------------+---------+----------+---------+\n", + "\n", + "➑️ Standard-Trend: uptrend (Strength: 698.40)\n", + "➑️ Fast-Trend: uptrend (Required: 2/4)\n", + "➑️ Top-Down-Trend: uptrend\n", + "➑️ Confidence: 100.0% (Threshold: 70%)\n", + "➑️ Risk-Adjusted Strength: 182237.2 (Min: 80)\n", + "➑️ Signal Quality: EXCELLENT\n", + "\n", + "πŸš€ V1.6 Adaptive Complete: Full Features + Adaptive Rhythm\n", + "\n", + "πŸš€ V1.6 ADAPTIVE COMPLETE TRADE EXECUTION\n", + "Direction: LONG\n", + "Price: 4525.70000 | Volume: 0.01\n", + "SL: 4518.98754 | TP: 4542.48115\n", + "Confidence: 100.0% | Quality: EXCELLENT\n", + "Regime: RANGING\n", + "Adaptive Interval: 5 min\n", + "Session: NY\n", + "βœ… Trade erfolgreich! Ticket: 623774922\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:24:44,162 - INFO - πŸ“± Trade logged to DB + Telegram notification sent\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ“Š Positionen: 1\n", + "πŸ“Š Performance logged to trade_performance_v16_XAUUSD_202512.json\n", + "\n", + "βœ… Trade wΓΌrde ausgefΓΌhrt!\n" + ] + } + ], "source": [ "# Test 5: Trade Execution Test (DRY RUN)\n", "print(\"\\nπŸ§ͺ TEST 5: Trade Execution (DRY RUN)\")\n", @@ -2490,27 +3064,113 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 38, "metadata": {}, - "outputs": [], + "outputs": [ + { + "data": { + "text/plain": [ + "[.protected_check)>,\n", + " ,\n", + " )>,\n", + " ,\n", + " ,\n", + " ]" + ] + }, + "execution_count": 38, + "metadata": {}, + "output_type": "execute_result" + } + ], "source": [ "scheduler.get_jobs()" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 39, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "πŸ“Š MULTI-TIMEFRAME REGIME CHECK\n", + "============================================================\n", + " H1: ADX 24.9 (weight 1.0x) πŸ“Š RANGE\n", + " H4: ADX 39.9 (weight 2.0x) βœ… TREND\n", + " D1: ADX 36.6 (weight 3.0x) βœ… TREND\n", + "\n", + " Weighted ADX: 35.7\n", + " Threshold: 25\n", + "\n", + " βœ… ALLOWED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "============================================================\n", + "\n", + "βœ… REGIME CHECK PASSED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "\n", + "πŸ” POSITION CHECK fΓΌr XAUUSD (V1.6 Adaptive Complete)\n", + "πŸ›‘ TRADE BLOCKIERT: 1/1 Positionen aktiv\n", + " BUY @ 4525.89 | πŸ”΄ -0.34\n" + ] + } + ], "source": [ "execute_trade_v2_adaptive(**ADAPTIVE_COMPLETE_CONFIG)" ] }, { "cell_type": "code", - "execution_count": null, + "execution_count": 40, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "======================================================================\n", + "πŸ”§ V1.6 ADAPTIVE COMPLETE - MANAGEMENT CONTROL PANEL\n", + "======================================================================\n", + "\n", + "πŸ“Š MONITORING:\n", + " 1. check_adaptive_bot_status() - Complete Status\n", + " 2. get_position_summary() - Position Overview\n", + " 3. print_status_report() - Adaptive Rhythm Status\n", + " 4. analyze_performance_adaptive() - Performance Analysis\n", + "\n", + "🎯 ANALYSIS:\n", + " 5. extended_top_down_v2_adaptive() - Signal Analysis\n", + " 6. rhythm_manager.calculate_optimal_interval() - Current Interval\n", + "\n", + "πŸ’Ό POSITION MANAGEMENT:\n", + " 7. close_existing_positions(force_close=True) - Close All Positions\n", + "\n", + "πŸš€ TRADING:\n", + " 8. execute_trade_v2_adaptive(**ADAPTIVE_COMPLETE_CONFIG) - Manual Trade\n", + "\n", + "βš™οΈ SCHEDULER CONTROL:\n", + " 9. scheduler.get_jobs() - Show Active Jobs\n", + " 10. scheduler.pause() - Pause Scheduler\n", + " 11. scheduler.resume() - Resume Scheduler\n", + " 12. scheduler.shutdown() - Stop Scheduler\n", + "\n", + "πŸ”§ CONFIGURATION:\n", + " 13. ADAPTIVE_COMPLETE_CONFIG - View Config\n", + " 14. rhythm_manager.atr_thresholds - ATR Settings\n", + "\n", + "πŸ“ QUICK COMMANDS:\n", + " β€’ Status: check_adaptive_bot_status()\n", + " β€’ Close: close_existing_positions(symbol, strategy_name, force_close=True)\n", + " β€’ Stop: scheduler.shutdown()\n", + "======================================================================\n" + ] + } + ], "source": [ "# βœ… KORRIGIERT: Management Control Panel (fehlte in V1.6)\n", "def show_adaptive_management_options():\n", @@ -2560,9 +3220,17 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 41, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ’‘ To close positions manually, uncomment the code above\n" + ] + } + ], "source": [ "# Optional: Close positions manually\n", "# UNCOMMENT to use:\n", @@ -2573,9 +3241,17 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 42, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ’‘ To adjust ATR thresholds, uncomment the code above\n" + ] + } + ], "source": [ "# Optional: ATR-Schwellenwerte anpassen\n", "# UNCOMMENT to use:\n", @@ -2591,9 +3267,26 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 43, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸŽ›οΈ SCHEDULER CONTROL\n", + "\n", + "πŸ’‘ To pause trading:\n", + "scheduler.pause()\n", + "\n", + "πŸ’‘ To resume trading:\n", + "scheduler.resume()\n", + "\n", + "πŸ’‘ To stop completely:\n", + "scheduler.shutdown()\n" + ] + } + ], "source": [ "# Scheduler Control\n", "print(\"πŸŽ›οΈ SCHEDULER CONTROL\")\n", @@ -2618,9 +3311,92 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 44, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "======================================================================\n", + "πŸ“ˆ TRADINGBOT V1.6 ADAPTIVE COMPLETE - SUMMARY\n", + "======================================================================\n", + "\n", + "πŸŽ‰ VERSION: V1.6 ADAPTIVE COMPLETE (CORRECTED & READY!)\n", + "\n", + "βœ… ALLE FEATURES INTEGRIERT:\n", + "\n", + "πŸ›‘οΈ Position Control (aus V1.5):\n", + " β€’ Maximal 1 Trade gleichzeitig\n", + " β€’ check_existing_positions()\n", + " β€’ get_position_summary()\n", + " β€’ close_existing_positions() βœ… KORRIGIERT!\n", + "\n", + "πŸš€ Relaxed Trading Parameters (aus V1.5):\n", + " β€’ 10-20% niedrigere Confidence-Schwellen\n", + " β€’ Disabled Pullback Entry\n", + " β€’ Relaxed Signal-Quality-Filter\n", + " β€’ Niedrigere Min Risk-Adjusted Strength (80)\n", + " β€’ Fixed 2/4 Timeframe Alignment\n", + "\n", + "⚑ Adaptive Rhythm (NEU in V1.6):\n", + " β€’ Adaptive Intervalle: 5/15/30 Minuten\n", + " β€’ VolatilitΓ€ts-basiert (ATR)\n", + " β€’ Session-abhΓ€ngig (Asian/London/NY/Overlap)\n", + " β€’ Intelligente Entscheidungs-Matrix\n", + "\n", + "πŸ“Š Monitoring & Management (aus V1.5, angepasst):\n", + " β€’ Performance Logging\n", + " β€’ Performance Analysis\n", + " β€’ Complete Status Monitoring βœ… KORRIGIERT!\n", + " β€’ Management Control Panel βœ… KORRIGIERT!\n", + "\n", + "πŸ€– Automation:\n", + " β€’ APScheduler Integration\n", + " β€’ Adaptive Trading Checks (jede Minute)\n", + " β€’ Status Reports (alle 30 Min)\n", + "\n", + "πŸ§ͺ Testing Suite (aus V1.5):\n", + " β€’ Position Tests βœ… KORRIGIERT!\n", + " β€’ Signal Analysis Tests βœ… KORRIGIERT!\n", + " β€’ Adaptive Rhythm Tests\n", + " β€’ Complete Status Tests βœ… KORRIGIERT!\n", + "\n", + "βš™οΈ Configuration:\n", + " β€’ ADAPTIVE_COMPLETE_CONFIG βœ… KORRIGIERT!\n", + " β€’ Zentrale Parameter-Verwaltung\n", + "\n", + "🎯 VORTEILE VON V1.6 ADAPTIVE COMPLETE:\n", + " βœ… Maximale Sicherheit (Position Control)\n", + " βœ… Maximale Gelegenheiten (Relaxed Parameters)\n", + " βœ… Maximale Effizienz (Adaptive Rhythm)\n", + " βœ… VollstΓ€ndige Kontrolle (Complete Management)\n", + " βœ… Production-Ready!\n", + "\n", + "πŸ“Š TYPISCHER 24H-ZYKLUS:\n", + " 00:00-08:00 (Asian) β†’ 15-30 min\n", + " 08:00-13:00 (London) β†’ 5-30 min\n", + " 13:00-16:00 (Overlap) β†’ 5-15 min πŸ”₯\n", + " 16:00-21:00 (NY) β†’ 5-30 min\n", + " 21:00-00:00 (After) β†’ 15-30 min\n", + "\n", + "πŸ’‘ HAUPTFUNKTIONEN:\n", + " β€’ Status: check_adaptive_bot_status()\n", + " β€’ Analyze: extended_top_down_v2_adaptive()\n", + " β€’ Trade: execute_trade_v2_adaptive()\n", + " β€’ Manage: show_adaptive_management_options()\n", + "\n", + "πŸ† V1.6 ADAPTIVE COMPLETE - ALLE FUNKTIONEN INTEGRIERT!\n", + " πŸ›‘οΈ Sicherheit + πŸš€ AggressivitΓ€t + ⚑ Intelligenz\n", + " Production-Ready & Fully Tested! βœ…\n", + "\n", + "======================================================================\n", + "🎊 Ready for intelligent, safe, and adaptive trading!\n", + "======================================================================\n" + ] + } + ], "source": [ "print(\"\\n\" + \"=\"*70)\n", "print(\"πŸ“ˆ TRADINGBOT V1.6 ADAPTIVE COMPLETE - SUMMARY\")\n", @@ -2708,9 +3484,26 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 45, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ” Drawdown Protection Debug:\n", + " trading_paused: False\n", + " pause_until: None\n", + " pause_reason: None\n", + "\n", + "βœ… After force clear:\n", + " Can trade: True\n", + " Reason: OK\n", + "\n", + "πŸ“Š Consecutive losses from DB: 0\n" + ] + } + ], "source": [ "# Check Drawdown Protection Status\n", "print(\"πŸ” Drawdown Protection Debug:\")\n", @@ -2743,7 +3536,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 46, "metadata": {}, "outputs": [], "source": [ @@ -2827,9 +3620,21 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 47, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "{'enabled_sessions': {'asian': True, 'london': False, 'overlap': False, 'ny': True}, 'session_confidence_thresholds': {'asian': 95, 'ny': 97, 'london': 95, 'overlap': 95}, 'base_confidence': 95, 'atr_mult': 1.5, 'max_risk_per_trade': 0.02, 'min_atr': 0.0008, 'risk_filter': True, 'use_pullback_entry': False, 'debug': True}\n", + "βœ… asian: Asian allowed: 97.8% WR, $151/trade (EXCELLENT!)\n", + "❌ london: London blocked: 12.5% win-rate, -$10/trade\n", + "❌ overlap: Overlap blocked: 14.3% win-rate, -$7/trade\n", + "βœ… ny: NY allowed: 43.3% WR, $48/trade (needs >=97% conf)\n" + ] + } + ], "source": [ "# PrΓΌfe ob Filter aktiv ist\n", "print(SESSION_WHITELIST_CONFIG)\n", @@ -2845,7 +3650,219 @@ "cell_type": "code", "execution_count": null, "metadata": {}, - "outputs": [], + "outputs": [ + { + "name": "stdout", + "output_type": "stream", + "text": [ + "πŸ“Š ADX auf verschiedenen Timeframes:\n", + "\n", + "M15 : ADX = 12.30 | Preis-Change (10 bars): +0.17%\n", + "H1 : ADX = 24.87 | Preis-Change (10 bars): +0.35%\n", + "H4 : ADX = 39.91 | Preis-Change (10 bars): +0.69%\n", + "D1 : ADX = 36.58 | Preis-Change (10 bars): +5.24%\n", + "\n", + "πŸ’° Aktueller Preis: 4525.68\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:25:00,009 - INFO - Running job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:25:00 CET)\" (scheduled at 2025-12-26 21:25:00+01:00)\n", + "2025-12-26 21:25:00,025 - INFO - \n", + "⏰ 2025-12-26 21:25:00 - ADAPTIVE Check\n", + "2025-12-26 21:25:00,025 - INFO - βœ… Session: NY - NY allowed: 43.3% WR, $48/trade (needs >=97% conf)\n", + "2025-12-26 21:25:00,025 - INFO - πŸ“Š Confidence Threshold: 95%\n", + "2025-12-26 21:25:00,025 - INFO - ⏱️ Intervall: 5 min\n", + "2025-12-26 21:25:00,052 - INFO - Job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:26:00 CET)\" executed successfully\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "πŸ“Š MULTI-TIMEFRAME REGIME CHECK\n", + "============================================================\n", + " H1: ADX 24.9 (weight 1.0x) πŸ“Š RANGE\n", + " H4: ADX 39.9 (weight 2.0x) βœ… TREND\n", + " D1: ADX 36.6 (weight 3.0x) βœ… TREND\n", + "\n", + " Weighted ADX: 35.7\n", + " Threshold: 25\n", + "\n", + " βœ… ALLOWED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "============================================================\n", + "\n", + "βœ… REGIME CHECK PASSED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "\n", + "πŸ” POSITION CHECK fΓΌr XAUUSD (V1.6 Adaptive Complete)\n", + "πŸ›‘ TRADE BLOCKIERT: 1/1 Positionen aktiv\n", + " BUY @ 4525.89 | 🟒 0.19\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:25:42,189 - INFO - Running job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:26:41 CET)\" (scheduled at 2025-12-26 21:25:41.988851+01:00)\n", + "2025-12-26 21:25:42,253 - INFO - βœ… Updated closed position 623560612: manual_close, Profit: -70.90\n", + "2025-12-26 21:25:42,469 - INFO - Running job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:25:41 CET)\" (scheduled at 2025-12-26 21:25:41.990852+01:00)\n", + "2025-12-26 21:25:42,502 - INFO - \n", + "πŸ” Checking 1 position(s) for XAUUSD...\n", + "2025-12-26 21:25:42,504 - INFO - πŸ“Š Partial TP Levels:\n", + "2025-12-26 21:25:42,505 - INFO - Entry: 4525.89000\n", + "2025-12-26 21:25:42,506 - INFO - SL: 4518.99000\n", + "2025-12-26 21:25:42,513 - INFO - Risk: 6.90000\n", + "2025-12-26 21:25:42,516 - INFO - TP1 (1.5R): 4536.24000\n", + "2025-12-26 21:25:42,530 - INFO - TP2 (2.5R): 4543.14000\n", + "2025-12-26 21:25:42,532 - INFO - Job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:26:41 CET)\" executed successfully\n", + "2025-12-26 21:25:43,285 - INFO - Job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:26:41 CET)\" executed successfully\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "⚠️ Telegram send failed: 400\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:26:00,053 - INFO - Running job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:27:00 CET)\" (scheduled at 2025-12-26 21:26:00+01:00)\n", + "2025-12-26 21:26:00,067 - INFO - Job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:27:00 CET)\" executed successfully\n", + "2025-12-26 21:26:41,990 - INFO - Running job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:27:41 CET)\" (scheduled at 2025-12-26 21:26:41.988851+01:00)\n", + "2025-12-26 21:26:41,990 - INFO - Job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:27:41 CET)\" executed successfully\n", + "2025-12-26 21:26:42,475 - INFO - Running job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:27:41 CET)\" (scheduled at 2025-12-26 21:26:41.990852+01:00)\n", + "2025-12-26 21:26:42,475 - INFO - \n", + "πŸ” Checking 1 position(s) for XAUUSD...\n", + "2025-12-26 21:26:42,475 - INFO - πŸ“Š Partial TP Levels:\n", + "2025-12-26 21:26:42,475 - INFO - Entry: 4525.89000\n", + "2025-12-26 21:26:42,475 - INFO - SL: 4518.99000\n", + "2025-12-26 21:26:42,475 - INFO - Risk: 6.90000\n", + "2025-12-26 21:26:42,475 - INFO - TP1 (1.5R): 4536.24000\n", + "2025-12-26 21:26:42,475 - INFO - TP2 (2.5R): 4543.14000\n", + "2025-12-26 21:26:42,484 - INFO - Job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:27:41 CET)\" executed successfully\n", + "2025-12-26 21:27:00,041 - INFO - Running job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:28:00 CET)\" (scheduled at 2025-12-26 21:27:00+01:00)\n", + "2025-12-26 21:27:00,041 - INFO - Job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:28:00 CET)\" executed successfully\n", + "2025-12-26 21:27:41,990 - INFO - Running job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:28:41 CET)\" (scheduled at 2025-12-26 21:27:41.988851+01:00)\n", + "2025-12-26 21:27:41,992 - INFO - Job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:28:41 CET)\" executed successfully\n", + "2025-12-26 21:27:42,181 - INFO - Running job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:28:41 CET)\" (scheduled at 2025-12-26 21:27:41.990852+01:00)\n", + "2025-12-26 21:27:42,181 - INFO - \n", + "πŸ” Checking 1 position(s) for XAUUSD...\n", + "2025-12-26 21:27:42,181 - INFO - πŸ“Š Partial TP Levels:\n", + "2025-12-26 21:27:42,181 - INFO - Entry: 4525.89000\n", + "2025-12-26 21:27:42,181 - INFO - SL: 4518.99000\n", + "2025-12-26 21:27:42,181 - INFO - Risk: 6.90000\n", + "2025-12-26 21:27:42,181 - INFO - TP1 (1.5R): 4536.24000\n", + "2025-12-26 21:27:42,188 - INFO - TP2 (2.5R): 4543.14000\n", + "2025-12-26 21:27:42,188 - INFO - Job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:28:41 CET)\" executed successfully\n", + "2025-12-26 21:28:00,230 - INFO - Running job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:29:00 CET)\" (scheduled at 2025-12-26 21:28:00+01:00)\n", + "2025-12-26 21:28:00,252 - INFO - Job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:29:00 CET)\" executed successfully\n", + "2025-12-26 21:28:42,362 - INFO - Running job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:29:41 CET)\" (scheduled at 2025-12-26 21:28:41.988851+01:00)\n", + "2025-12-26 21:28:42,363 - INFO - Running job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:29:41 CET)\" (scheduled at 2025-12-26 21:28:41.990852+01:00)\n", + "2025-12-26 21:28:42,381 - INFO - \n", + "πŸ” Checking 1 position(s) for XAUUSD...\n", + "2025-12-26 21:28:42,383 - INFO - πŸ“Š Partial TP Levels:\n", + "2025-12-26 21:28:42,384 - INFO - Entry: 4525.89000\n", + "2025-12-26 21:28:42,385 - INFO - SL: 4518.99000\n", + "2025-12-26 21:28:42,386 - INFO - Risk: 6.90000\n", + "2025-12-26 21:28:42,387 - INFO - TP1 (1.5R): 4536.24000\n", + "2025-12-26 21:28:42,389 - INFO - TP2 (2.5R): 4543.14000\n", + "2025-12-26 21:28:42,411 - INFO - Job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:29:41 CET)\" executed successfully\n", + "2025-12-26 21:28:42,370 - INFO - Job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:29:41 CET)\" executed successfully\n", + "2025-12-26 21:29:00,031 - INFO - Running job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:30:00 CET)\" (scheduled at 2025-12-26 21:29:00+01:00)\n", + "2025-12-26 21:29:00,031 - INFO - Job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:30:00 CET)\" executed successfully\n", + "2025-12-26 21:29:42,140 - INFO - Running job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:30:41 CET)\" (scheduled at 2025-12-26 21:29:41.988851+01:00)\n", + "2025-12-26 21:29:42,142 - INFO - Job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:30:41 CET)\" executed successfully\n", + "2025-12-26 21:29:42,143 - INFO - Running job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:30:41 CET)\" (scheduled at 2025-12-26 21:29:41.990852+01:00)\n", + "2025-12-26 21:29:42,144 - INFO - \n", + "πŸ” Checking 1 position(s) for XAUUSD...\n", + "2025-12-26 21:29:42,145 - INFO - πŸ“Š Partial TP Levels:\n", + "2025-12-26 21:29:42,146 - INFO - Entry: 4525.89000\n", + "2025-12-26 21:29:42,149 - INFO - SL: 4518.99000\n", + "2025-12-26 21:29:42,151 - INFO - Risk: 6.90000\n", + "2025-12-26 21:29:42,152 - INFO - TP1 (1.5R): 4536.24000\n", + "2025-12-26 21:29:42,153 - INFO - TP2 (2.5R): 4543.14000\n", + "2025-12-26 21:29:42,189 - INFO - Job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:30:41 CET)\" executed successfully\n", + "2025-12-26 21:30:00,306 - INFO - Running job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:31:00 CET)\" (scheduled at 2025-12-26 21:30:00+01:00)\n", + "2025-12-26 21:30:00,309 - INFO - \n", + "⏰ 2025-12-26 21:30:00 - ADAPTIVE Check\n", + "2025-12-26 21:30:00,309 - INFO - βœ… Session: NY - NY allowed: 43.3% WR, $48/trade (needs >=97% conf)\n", + "2025-12-26 21:30:00,309 - INFO - πŸ“Š Confidence Threshold: 95%\n", + "2025-12-26 21:30:00,309 - INFO - ⏱️ Intervall: 5 min\n", + "2025-12-26 21:30:00,325 - INFO - Job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:31:00 CET)\" executed successfully\n", + "2025-12-26 21:30:00,325 - INFO - Running job \"print_status_report (trigger: cron[minute='0,30'], next run at: 2025-12-26 22:00:00 CET)\" (scheduled at 2025-12-26 21:30:00+01:00)\n", + "2025-12-26 21:30:00,325 - INFO - Job \"print_status_report (trigger: cron[minute='0,30'], next run at: 2025-12-26 22:00:00 CET)\" executed successfully\n" + ] + }, + { + "name": "stdout", + "output_type": "stream", + "text": [ + "\n", + "πŸ“Š MULTI-TIMEFRAME REGIME CHECK\n", + "============================================================\n", + " H1: ADX 24.9 (weight 1.0x) πŸ“Š RANGE\n", + " H4: ADX 39.9 (weight 2.0x) βœ… TREND\n", + " D1: ADX 36.6 (weight 3.0x) βœ… TREND\n", + "\n", + " Weighted ADX: 35.7\n", + " Threshold: 25\n", + "\n", + " βœ… ALLOWED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "============================================================\n", + "\n", + "βœ… REGIME CHECK PASSED: TRENDING\n", + " Reason: D1 stark trending (ADX 36.6 > 30) β†’ Trend dominiert\n", + "\n", + "πŸ” POSITION CHECK fΓΌr XAUUSD (V1.6 Adaptive Complete)\n", + "πŸ›‘ TRADE BLOCKIERT: 1/1 Positionen aktiv\n", + " BUY @ 4525.89 | πŸ”΄ -2.48\n", + "\n", + "╔════════════════════════════════════════════════════════╗\n", + "β•‘ ADAPTIVE RHYTHM STATUS - 21:30:00 UTC β•‘\n", + "╠════════════════════════════════════════════════════════╣\n", + "β•‘ Aktuelles Intervall: 5 Minuten β•‘\n", + "β•‘ Trading Session: NY β•‘\n", + "β•‘ VolatilitΓ€tslevel: HIGH β•‘\n", + "β•‘ ATR (H1): 17.11 β•‘\n", + "╠════════════════════════════════════════════════════════╣\n", + "β•‘ INTERVALL-SCHEMA: β•‘\n", + "β•‘ β€’ Overlap (13-16 UTC): 5-15 Min (aktivste Phase) β•‘\n", + "β•‘ β€’ London/NY: 5-30 Min (volatilitΓ€tsabh.) β•‘\n", + "β•‘ β€’ Asian Session: 15-30 Min (ruhigere Phase) β•‘\n", + "β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•\n", + "\n" + ] + }, + { + "name": "stderr", + "output_type": "stream", + "text": [ + "2025-12-26 21:30:42,020 - INFO - Running job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:31:41 CET)\" (scheduled at 2025-12-26 21:30:41.988851+01:00)\n", + "2025-12-26 21:30:42,022 - INFO - Job \"PositionMonitor.check_open_positions (trigger: interval[0:01:00], next run at: 2025-12-26 21:31:41 CET)\" executed successfully\n", + "2025-12-26 21:30:42,020 - INFO - Running job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:31:41 CET)\" (scheduled at 2025-12-26 21:30:41.990852+01:00)\n", + "2025-12-26 21:30:42,032 - INFO - \n", + "πŸ” Checking 1 position(s) for XAUUSD...\n", + "2025-12-26 21:30:42,034 - INFO - πŸ“Š Partial TP Levels:\n", + "2025-12-26 21:30:42,034 - INFO - Entry: 4525.89000\n", + "2025-12-26 21:30:42,035 - INFO - SL: 4518.99000\n", + "2025-12-26 21:30:42,036 - INFO - Risk: 6.90000\n", + "2025-12-26 21:30:42,037 - INFO - TP1 (1.5R): 4536.24000\n", + "2025-12-26 21:30:42,039 - INFO - TP2 (2.5R): 4543.14000\n", + "2025-12-26 21:30:42,040 - INFO - Job \" (trigger: interval[0:01:00], next run at: 2025-12-26 21:31:41 CET)\" executed successfully\n", + "2025-12-26 21:31:00,107 - INFO - Running job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:31:00 CET)\" (scheduled at 2025-12-26 21:31:00+01:00)\n", + "2025-12-26 21:31:00,107 - INFO - Job \"create_protected_trading_check..protected_check (trigger: cron[minute='*'], next run at: 2025-12-26 21:31:00 CET)\" executed successfully\n" + ] + } + ], "source": [ "# Verschiedene Timeframes checken\n", "print(\"πŸ“Š ADX auf verschiedenen Timeframes:\\n\")\n", @@ -2894,4 +3911,4 @@ }, "nbformat": 4, "nbformat_minor": 4 -} \ No newline at end of file +} diff --git a/debug_telegram_bot.md b/debug_telegram_bot.md new file mode 100644 index 0000000..5480c74 --- /dev/null +++ b/debug_telegram_bot.md @@ -0,0 +1,204 @@ +# πŸ” TELEGRAM BOT DEBUG GUIDE + +**Problem:** Bot antwortet nicht auf `/help` in Telegram + +--- + +## βœ… CHECKS + +### **Check 1: Ist der Bot wirklich gestartet?** + +Im Notebook, in der Cell wo du den Bot gestartet hast, solltest du sehen: + +``` +βœ… Telegram Bot Commander initialized +πŸ“± Bot Token: 7783303065:AAHVVvwW... +πŸ‘€ Chat ID: 8039713369 +βœ… Command handlers registered +πŸš€ Starting Telegram Bot... +βœ… Telegram Bot running in background +``` + +**Siehst du das?** βœ… JA / ❌ NEIN + +--- + +### **Check 2: Richtiger Bot Name?** + +Der Bot heißt: **@Xausd_digger_bot** + +Im Telegram: +1. Suche nach `@Xausd_digger_bot` +2. Γ–ffne den Chat +3. Sende `/help` + +**Hast du den richtigen Bot geΓΆffnet?** βœ… JA / ❌ NEIN + +--- + +### **Check 3: Deine Chat ID** + +Deine konfigurierte Chat ID ist: `8039713369` + +**Check deine eigene Chat ID:** +1. Γ–ffne Telegram +2. Suche nach `@userinfobot` +3. Sende `/start` +4. Du bekommst deine User ID + +**Ist es `8039713369`?** βœ… JA / ❌ NEIN + +Wenn NEIN, dann **antwortet der Bot dir nicht**, weil er nur auf Chat ID `8039713369` reagiert! + +--- + +### **Check 4: Bot lΓ€uft wirklich im Background?** + +Im Notebook, fΓΌhre aus: + +```python +# Check ob bot_thread lΓ€uft +print(f"Bot Thread alive: {bot_thread.is_alive()}") +print(f"Bot Controller exists: {bot_controller is not None}") +``` + +**Output sollte sein:** +``` +Bot Thread alive: True +Bot Controller exists: True +``` + +**Ist das so?** βœ… JA / ❌ NEIN + +--- + +### **Check 5: Telegram API erreichbar?** + +Test ob Telegram grundsΓ€tzlich funktioniert: + +```python +import requests + +bot_token = "7783303065:AAHVVvwWGqmhJ2BVq8LqkLRSsicKy1CUsD8" + +# Test API +response = requests.get(f"https://api.telegram.org/bot{bot_token}/getMe") +print(response.json()) + +# Test send message +test_msg = requests.post( + f"https://api.telegram.org/bot{bot_token}/sendMessage", + json={'chat_id': '8039713369', 'text': 'πŸ§ͺ Direct API Test'} +) +print(test_msg.json()) +``` + +**Bekommst du eine Test-Message in Telegram?** βœ… JA / ❌ NEIN + +--- + +## πŸ”§ LΓ–SUNGEN + +### **LΓΆsung 1: Chat ID falsch** + +Wenn deine Chat ID NICHT `8039713369` ist: + +1. Γ–ffne `telegram_config.json` +2. Γ„ndere `"chat_id": "8039713369"` zu deiner echten Chat ID +3. Bot neu starten + +--- + +### **LΓΆsung 2: Bot lΓ€uft nicht** + +Wenn `bot_thread.is_alive()` = False: + +**Neu starten:** +1. Gehe zu der Cell wo du den Bot gestartet hast +2. FΓΌhre sie erneut aus +3. Du solltest sehen: `βœ… Telegram Bot running in background` + +--- + +### **LΓΆsung 3: Falscher Bot** + +Stelle sicher dass du wirklich mit `@Xausd_digger_bot` chattest! + +Im Telegram: +- Tippe `@Xausd_digger_bot` in die Suche +- Γ–ffne den Bot +- Sende `/start` + +Wenn der Bot **nicht antwortet**, dann lΓ€uft er nicht richtig. + +--- + +### **LΓΆsung 4: Error im Bot** + +Checke ob Errors im Notebook stehen: + +Scroll zu der Cell wo du den Bot gestartet hast - siehst du Fehler oder Exceptions? + +Wenn JA: Kopiere den Fehler und wir fixen ihn. + +--- + +## πŸ§ͺ QUICK TEST + +**FΓΌhre das im Notebook aus:** + +```python +# Quick Bot Test +import requests + +bot_token = "7783303065:AAHVVvwWGqmhJ2BVq8LqkLRSsicKy1CUsD8" +chat_id = "8039713369" + +# Sende Test-Message direkt via API +response = requests.post( + f"https://api.telegram.org/bot{bot_token}/sendMessage", + json={ + 'chat_id': chat_id, + 'text': 'πŸ§ͺ **QUICK TEST**\n\nWenn du das siehst, funktioniert die API!\n\nJetzt teste `/help`', + 'parse_mode': 'Markdown' + } +) + +if response.status_code == 200: + print("βœ… Test-Message sent successfully!") + print("πŸ“± Check your Telegram - you should see the message") +else: + print(f"❌ Failed: {response.status_code}") + print(response.json()) +``` + +**Bekommst du die Message?** + +- βœ… **JA** β†’ API funktioniert, aber Bot Commands nicht β†’ Bot lΓ€uft vermutlich nicht richtig +- ❌ **NEIN** β†’ API Problem oder falsche Chat ID + +--- + +## πŸ“‹ NEXT STEPS + +**Wenn Test-Message FUNKTIONIERT aber `/help` NICHT:** + +β†’ Der Bot lΓ€uft nicht richtig im Background + +**Fix:** +1. Suche die Cell wo du `bot_commander.start_background()` ausgefΓΌhrt hast +2. FΓΌhre sie erneut aus +3. Checke ob Output zeigt: `βœ… Bot is running` + +**Wenn Test-Message NICHT FUNKTIONIERT:** + +β†’ Chat ID oder Bot Token falsch + +**Fix:** +1. Check deine Chat ID mit `@userinfobot` +2. Update `telegram_config.json` mit richtiger Chat ID +3. Bot neu starten + +--- + +**Mach den Quick Test und sag mir was passiert!** πŸ” diff --git a/test_telegram_bot.py b/test_telegram_bot.py new file mode 100644 index 0000000..f46a6b4 --- /dev/null +++ b/test_telegram_bot.py @@ -0,0 +1,112 @@ +#!/usr/bin/env python3 +""" +πŸ§ͺ TEST TELEGRAM BOT - Without MT5 dependency +Testet ob Telegram Bot grundsΓ€tzlich funktioniert +""" + +import asyncio +from datetime import datetime +from telegram import Update +from telegram.ext import Application, CommandHandler, ContextTypes +import json + +# Load config +with open('telegram_config.json', 'r') as f: + config = json.load(f) + +bot_token = config['bot_token'] +chat_id = config['chat_id'] + +print("="*70) +print("πŸ§ͺ TELEGRAM BOT TEST") +print("="*70) +print(f"Bot Token: {bot_token[:20]}...") +print(f"Chat ID: {chat_id}") +print() + +# Simple command handlers (no MT5 required) +async def cmd_start(update: Update, context: ContextTypes.DEFAULT_TYPE): + """Handle /start""" + message = ( + "πŸ€– *Telegram Bot Test*\n\n" + "βœ… Bot is running!\n\n" + "Send /help to see commands" + ) + await update.message.reply_text(message, parse_mode='Markdown') + + +async def cmd_help(update: Update, context: ContextTypes.DEFAULT_TYPE): + """Handle /help""" + message = """ +πŸ“š *Test Commands* + +/start - Test bot connection +/help - Show this help +/ping - Test response +/time - Show current time + +βœ… If you see this, the bot is working! +""" + await update.message.reply_text(message, parse_mode='Markdown') + + +async def cmd_ping(update: Update, context: ContextTypes.DEFAULT_TYPE): + """Handle /ping""" + await update.message.reply_text("πŸ“ Pong! Bot is alive! βœ…") + + +async def cmd_time(update: Update, context: ContextTypes.DEFAULT_TYPE): + """Handle /time""" + now = datetime.now().strftime('%Y-%m-%d %H:%M:%S') + await update.message.reply_text(f"πŸ• Current time: {now}") + + +async def main(): + """Main function""" + print("πŸš€ Creating bot application...") + + # Create application + application = Application.builder().token(bot_token).build() + + # Add handlers + application.add_handler(CommandHandler("start", cmd_start)) + application.add_handler(CommandHandler("help", cmd_help)) + application.add_handler(CommandHandler("ping", cmd_ping)) + application.add_handler(CommandHandler("time", cmd_time)) + + print("βœ… Handlers registered") + print("πŸš€ Starting bot...") + print("πŸ“± Go to Telegram and send /help to test") + print() + + # Send startup message + await application.bot.send_message( + chat_id=chat_id, + text="πŸ§ͺ *Test Bot Started*\n\nSend /help to test commands", + parse_mode='Markdown' + ) + + # Start polling + await application.initialize() + await application.start() + await application.updater.start_polling() + + print("βœ… Bot is running!") + print("Press Ctrl+C to stop") + print() + + # Keep running + try: + while True: + await asyncio.sleep(1) + except KeyboardInterrupt: + print("\n⏸️ Stopping bot...") + await application.stop() + await application.shutdown() + + +if __name__ == "__main__": + try: + asyncio.run(main()) + except KeyboardInterrupt: + print("\nβœ… Bot stopped") diff --git a/trade_performance_v16_XAUUSD_202512.json b/trade_performance_v16_XAUUSD_202512.json index 1cbb898..4b362bd 100644 --- a/trade_performance_v16_XAUUSD_202512.json +++ b/trade_performance_v16_XAUUSD_202512.json @@ -619,5 +619,1841 @@ }, "position_control_active": true, "order_result": "OrderSendResult(retcode=10009, deal=515122043, order=567873192, volume=0.1, price=4205.16, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087528, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.1, price=4205.2, stoplimit=0.0, sl=4200.731469788589, tp=4215.706325528528, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T02:30:03.850470", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 47.10018096819763, + "risk_adjusted_strength": 123533.85983444363, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=553842293, order=610367478, volume=0.01, price=4368.16, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087534, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4368.13, stoplimit=0.0, sl=4362.350921453479, tp=4381.877696366304, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T03:00:02.988550", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 43.55261584508541, + "risk_adjusted_strength": 128642.52023752597, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=553927205, order=610458694, volume=0.01, price=4382.95, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087537, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4383.13, stoplimit=0.0, sl=4377.473363411772, tp=4396.606591470568, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T04:30:16.148838", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 43.197225650279826, + "risk_adjusted_strength": 135919.12563195956, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=554112280, order=610658607, volume=0.01, price=4389.36, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087540, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4389.25, stoplimit=0.0, sl=4383.90396508894, tp=4401.950087277652, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T05:30:01.106784", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 42.855969856722204, + "risk_adjusted_strength": 150090.66608300013, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=554214171, order=610768487, volume=0.01, price=4394.9, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087543, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4394.87, stoplimit=0.0, sl=4390.537227195197, tp=4405.001932012007, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T06:30:03.653908", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 42.47687603485433, + "risk_adjusted_strength": 171237.74857783288, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=554325410, order=610883012, volume=0.01, price=4405.09, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087546, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4405.12, stoplimit=0.0, sl=4401.243304964205, tp=4414.111737589487, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T07:00:07.636758", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 38.14171838233359, + "risk_adjusted_strength": 165587.40539027512, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=554425514, order=610986522, volume=0.01, price=4400.37, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087547, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4400.39, stoplimit=0.0, sl=4395.221552676109, tp=4412.6111183097255, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T08:00:23.906942", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 37.6945386783958, + "risk_adjusted_strength": 159125.64373713522, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=554581491, order=611146476, volume=0.01, price=4419.23, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087550, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4419.38, stoplimit=0.0, sl=4413.557998955479, tp=4433.2350026113045, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T08:30:10.774310", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 37.68052137561369, + "risk_adjusted_strength": 167340.8689262859, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=554642334, order=611209868, volume=0.01, price=4416.05, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087551, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4416.06, stoplimit=0.0, sl=4410.536716559059, tp=4429.203208602353, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T17:00:04.519714", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 27.379560738733275, + "risk_adjusted_strength": 188395.38399380248, + "adaptive_interval": 15, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=555938748, order=612556180, volume=0.01, price=4432.11, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087552, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4432.08, stoplimit=0.0, sl=4425.399718289582, tp=4447.940704276045, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T17:30:03.870965", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 27.204305302291132, + "risk_adjusted_strength": 187910.42739258334, + "adaptive_interval": 15, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556038007, order=612658324, volume=0.01, price=4437.99, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087555, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4437.99, stoplimit=0.0, sl=4431.448708738945, tp=4453.643228152638, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T20:00:11.859913", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 22.75183886830743, + "risk_adjusted_strength": 204575.0416568127, + "adaptive_interval": 15, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556356835, order=612996708, volume=0.01, price=4435.43, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087556, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4435.44, stoplimit=0.0, sl=4430.644317286203, tp=4446.729206784493, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T20:15:05.394292", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 22.75183886830743, + "risk_adjusted_strength": 213931.57006224187, + "adaptive_interval": 15, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556384338, order=613025316, volume=0.01, price=4430.31, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087557, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4430.31, stoplimit=0.0, sl=4425.817165872939, tp=4440.702085317651, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T21:15:06.209229", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 22.75183886830743, + "risk_adjusted_strength": 238742.27842423014, + "adaptive_interval": 15, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556462924, order=613107230, volume=0.01, price=4438.74, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087560, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4438.87, stoplimit=0.0, sl=4435.5820262286325, tp=4446.389934428418, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T21:30:07.858115", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 22.75183886830743, + "risk_adjusted_strength": 229153.76783380608, + "adaptive_interval": 15, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556483796, order=613128877, volume=0.01, price=4432.69, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087561, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4432.58, stoplimit=0.0, sl=4428.925645538562, tp=4441.050886153595, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T22:00:24.735151", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 22.75183886830743, + "risk_adjusted_strength": 236050.88577845445, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556516274, order=613163130, volume=0.01, price=4438.75, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087564, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4438.86, stoplimit=0.0, sl=4435.510219808717, tp=4446.534450478207, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-22T22:30:04.049361", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 22.506266505727154, + "risk_adjusted_strength": 247859.38200579266, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556556139, order=613206654, volume=0.01, price=4448.15, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087567, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4448.15, stoplimit=0.0, sl=4444.774794963167, tp=4455.958012592085, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T00:30:01.969416", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 19.649811314546625, + "risk_adjusted_strength": 253629.2685831387, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556652710, order=613312892, volume=0.01, price=4459.28, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087571, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4459.28, stoplimit=0.0, sl=4455.517626627294, tp=4468.020933431766, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T01:00:02.507255", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 19.58817612072731, + "risk_adjusted_strength": 257505.53657354927, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556708269, order=613374135, volume=0.01, price=4460.26, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087572, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4460.2, stoplimit=0.0, sl=4455.98517760127, tp=4470.037055996825, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T01:30:02.040750", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 19.38372410628355, + "risk_adjusted_strength": 255304.76358368743, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556770815, order=613442203, volume=0.01, price=4468.4, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087575, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4468.4, stoplimit=0.0, sl=4463.870064917867, tp=4479.02483770533, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T02:30:01.971860", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.92216555514038, + "risk_adjusted_strength": 230673.4565616206, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556930518, order=613617633, volume=0.01, price=4477.51, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087578, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4477.4, stoplimit=0.0, sl=4470.931056301167, tp=4492.907359247082, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T03:00:01.537209", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.831527122733718, + "risk_adjusted_strength": 246027.11748378386, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=556996684, order=613693299, volume=0.01, price=4486.91, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087581, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4486.94, stoplimit=0.0, sl=4480.687964036553, tp=4501.905089908617, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T04:00:03.013919", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 14.015456303158757, + "risk_adjusted_strength": 256834.79979040293, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=557133053, order=613844144, volume=0.01, price=4493.74, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087584, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4493.7, stoplimit=0.0, sl=4487.522698062672, tp=4508.02325484332, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T04:30:02.285312", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 14.015456303158757, + "risk_adjusted_strength": 244180.17923944796, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=557201910, order=613919235, volume=0.01, price=4487.11, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087585, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4487.11, stoplimit=0.0, sl=4481.116271227846, tp=4501.394321930386, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T06:00:02.233710", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 14.015456303158757, + "risk_adjusted_strength": 298256.00540132925, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=557323408, order=614055323, volume=0.01, price=4482.67, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087586, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4482.53, stoplimit=0.0, sl=4478.553002067696, tp=4492.332494830758, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T06:30:07.900440", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 14.015456303158757, + "risk_adjusted_strength": 299850.0638933619, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=557384564, order=614119364, volume=0.01, price=4480.48, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087587, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4480.49, stoplimit=0.0, sl=4476.438571963359, tp=4489.918570091601, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T07:00:03.957577", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 6.899673489363451, + "risk_adjusted_strength": 295824.57323177526, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=557457630, order=614197357, volume=0.01, price=4475.15, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087588, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4475.1, stoplimit=0.0, sl=4470.824001169608, tp=4486.27999707598, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T07:30:02.089350", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 7.777244780599304, + "risk_adjusted_strength": 273212.0495663454, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=557534078, order=614278543, volume=0.01, price=4476.3, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087589, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4476.31, stoplimit=0.0, sl=4470.672612044033, tp=4489.738469889919, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T08:30:04.075406", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 7.777244780599304, + "risk_adjusted_strength": 303895.6658173896, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=557639985, order=614393104, volume=0.01, price=4484.1, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087592, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4484.18, stoplimit=0.0, sl=4480.119801256929, tp=4493.770496857678, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T09:37:43.057267", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 7.777244780599304, + "risk_adjusted_strength": 305791.6282324878, + "adaptive_interval": 15, + "session": "london", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=557766751, order=614533557, volume=0.01, price=4489.54, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087595, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4489.57, stoplimit=0.0, sl=4485.445873525435, tp=4498.935316186414, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T17:00:02.688990", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 98.47, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 5.943653956678432, + "risk_adjusted_strength": 205309.60544498116, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559066142, order=615942600, volume=0.01, price=4458.35, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087596, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4458.38, stoplimit=0.0, sl=4448.651055315425, tp=4482.807361711438, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T17:55:01.392080", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 97.77, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 5.943653956678432, + "risk_adjusted_strength": 191838.301254246, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559235770, order=616117446, volume=0.01, price=4475.38, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087599, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4475.36, stoplimit=0.0, sl=4467.212734891667, tp=4495.063162770833, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T20:15:01.456165", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 97.52, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.784039118048028, + "risk_adjusted_strength": 203263.93946157472, + "adaptive_interval": 15, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559559880, order=616460298, volume=0.01, price=4493.96, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087602, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4493.96, stoplimit=0.0, sl=4488.003913879849, tp=4508.185215300379, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T20:30:01.497235", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 97.64, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.784039118048028, + "risk_adjusted_strength": 208752.43416421846, + "adaptive_interval": 15, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559588139, order=616489915, volume=0.01, price=4490.25, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087603, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4490.24, stoplimit=0.0, sl=4484.553838767755, tp=4503.790403080612, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T22:00:02.112021", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 99.4, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.615581387303607, + "risk_adjusted_strength": 218519.9874620517, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559719068, order=616628327, volume=0.01, price=4497.9, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087606, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4497.76, stoplimit=0.0, sl=4493.085625594978, tp=4508.955936012553, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-23T22:30:01.739704", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.615581387303607, + "risk_adjusted_strength": 229257.6025434697, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559753877, order=616666291, volume=0.01, price=4490.21, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087607, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4490.28, stoplimit=0.0, sl=4486.363060692728, tp=4499.40734826818, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T00:30:02.220990", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 10.384767975469856, + "risk_adjusted_strength": 233974.26651656587, + "adaptive_interval": 30, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559841571, order=616760249, volume=0.01, price=4492.27, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087611, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4492.31, stoplimit=0.0, sl=4487.77216955741, tp=4502.9895761064745, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T00:45:01.383904", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.948607768219432, + "risk_adjusted_strength": 226119.5069439585, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559883004, order=616802827, volume=0.01, price=4505.73, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087614, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4505.73, stoplimit=0.0, sl=4500.158604215851, tp=4518.958489460373, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T01:00:01.208155", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.869140573970824, + "risk_adjusted_strength": 228010.70973951524, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559917773, order=616839869, volume=0.01, price=4503.51, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087615, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4503.59, stoplimit=0.0, sl=4497.8979908823185, tp=4517.155022794203, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T01:15:01.953526", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.765803031004026, + "risk_adjusted_strength": 230281.77712039795, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=559950705, order=616874610, volume=0.01, price=4507.99, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087618, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4507.99, stoplimit=0.0, sl=4501.798688780851, tp=4522.768278047872, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T01:45:02.231720", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.538345754991767, + "risk_adjusted_strength": 233774.3203210343, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=560010605, order=616937218, volume=0.01, price=4517.86, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087621, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4517.86, stoplimit=0.0, sl=4511.774404755937, tp=4532.373988110157, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T02:00:01.210528", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.522579827140603, + "risk_adjusted_strength": 231729.96156945275, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=560043039, order=616971970, volume=0.01, price=4511.88, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087622, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4512.01, stoplimit=0.0, sl=4505.675819042857, tp=4527.4254523928585, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T02:30:01.967632", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.21311765744393, + "risk_adjusted_strength": 227617.78860136968, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=560141492, order=617077013, volume=0.01, price=4521.51, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087625, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4521.75, stoplimit=0.0, sl=4513.7435390052815, tp=4540.996152486796, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T03:15:07.420031", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 8.818957766875442, + "risk_adjusted_strength": 240922.58352579194, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=560238991, order=617181528, volume=0.01, price=4511.75, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087626, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4511.84, stoplimit=0.0, sl=4504.740362648399, tp=4528.9240933790015, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T04:00:14.968363", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.746335361968107, + "risk_adjusted_strength": 224016.49801137255, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=560343797, order=617291943, volume=0.01, price=4485.29, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087627, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4477.82, stoplimit=0.0, sl=4469.0711047373825, tp=4499.027238156545, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T04:30:02.094437", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 10.175238175620407, + "risk_adjusted_strength": 212671.2697202473, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=560436894, order=617390591, volume=0.01, price=4491.58, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087630, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4491.55, stoplimit=0.0, sl=4482.52835094248, tp=4513.439122643798, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T16:46:43.391287", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 98.56, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 19.997304379666375, + "risk_adjusted_strength": 175513.80668533334, + "adaptive_interval": 5, + "session": "overlap", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=562353542, order=619401517, volume=0.01, price=4452.83, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087631, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4454.1, stoplimit=0.0, sl=4443.397353096984, tp=4480.19161725754, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T17:05:02.308045", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 98.2, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 20.11459092799535, + "risk_adjusted_strength": 174286.45696997832, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=562447755, order=619500161, volume=0.01, price=4468.19, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087634, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4468.18, stoplimit=0.0, sl=4458.1838229712375, tp=4492.540442571906, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T18:10:00.801306", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 97.4, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 20.11459092799535, + "risk_adjusted_strength": 170667.02175993889, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=562651290, order=619712784, volume=0.01, price=4486.06, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087637, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4486.17, stoplimit=0.0, sl=4478.804148167781, tp=4503.884629580548, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-24T18:25:02.598910", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 97.45, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 20.11459092799535, + "risk_adjusted_strength": 170158.95160000815, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=562701538, order=619765017, volume=0.01, price=4479.0, bid=0.0, ask=0.0, comment='Request executed', request_id=2553087638, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4478.87, stoplimit=0.0, sl=4471.638515052105, tp=4496.28371236974, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T00:30:13.854521", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 98.4, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 17.3101383980879, + "risk_adjusted_strength": 176010.58632813254, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=563413830, order=620503844, volume=0.01, price=4497.73, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946095, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4497.74, stoplimit=0.0, sl=4489.735495254396, tp=4516.806261864011, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T00:45:03.234431", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 98.65, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 17.3101383980879, + "risk_adjusted_strength": 176536.2527216586, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=563445247, order=620536309, volume=0.01, price=4496.27, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946096, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4496.23, stoplimit=0.0, sl=4488.717890079138, tp=4514.345274802156, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T01:30:01.634894", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 99.53, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 17.170305317377142, + "risk_adjusted_strength": 180077.76208699716, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=563523582, order=620617065, volume=0.01, price=4507.27, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946099, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4507.37, stoplimit=0.0, sl=4500.895002758325, tp=4522.857493104187, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T02:15:01.683398", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 15.917051335987267, + "risk_adjusted_strength": 170545.55348113115, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=563643435, order=620741152, volume=0.01, price=4510.46, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946105, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4510.33, stoplimit=0.0, sl=4502.283200141599, tp=4529.746999646003, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T02:45:01.414129", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 15.917051335987267, + "risk_adjusted_strength": 167750.22793043268, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=563722988, order=620823652, volume=0.01, price=4507.37, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946106, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4507.24, stoplimit=0.0, sl=4498.287259124348, tp=4528.92185218913, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T03:45:00.898870", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.248836449812146, + "risk_adjusted_strength": 172588.06329751594, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=563862771, order=620968182, volume=0.01, price=4499.17, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946107, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4499.45, stoplimit=0.0, sl=4491.579818034989, tp=4518.145454912526, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T04:15:02.443128", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.248836449812146, + "risk_adjusted_strength": 176815.00918601966, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=563924133, order=621031751, volume=0.01, price=4512.13, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946110, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4512.13, stoplimit=0.0, sl=4505.0007797494245, tp=4529.288050626436, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T04:30:01.546628", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.248836449812146, + "risk_adjusted_strength": 178988.17286311797, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=563962213, order=621069761, volume=0.01, price=4503.36, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946111, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4503.31, stoplimit=0.0, sl=4496.367772050502, tp=4520.000569873745, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T06:45:00.989092", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.248836449812146, + "risk_adjusted_strength": 199461.96583140496, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=564174692, order=621289285, volume=0.01, price=4512.26, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946114, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4512.34, stoplimit=0.0, sl=4507.435100683691, tp=4523.937248290769, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T07:45:00.840963", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 19.92707455669303, + "risk_adjusted_strength": 210935.97991584038, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=564296707, order=621415335, volume=0.01, price=4518.81, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946117, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4518.78, stoplimit=0.0, sl=4514.2562775561255, tp=4529.389306109687, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T08:00:02.599544", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 19.92707455669303, + "risk_adjusted_strength": 214046.49584461167, + "adaptive_interval": 15, + "session": "asian", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=564339744, order=621460292, volume=0.01, price=4511.77, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946118, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4511.78, stoplimit=0.0, sl=4506.918612640137, tp=4523.268468399658, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T17:00:01.881904", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.500824382596022, + "risk_adjusted_strength": 190205.95715909277, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=565808738, order=622978313, volume=0.01, price=4547.18, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946121, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4547.23, stoplimit=0.0, sl=4539.516402442406, tp=4565.8489938939865, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T17:15:01.080087", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.393446101235355, + "risk_adjusted_strength": 180715.2476036179, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=565865476, order=623036395, volume=0.01, price=4539.16, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946122, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4539.22, stoplimit=0.0, sl=4530.637473646734, tp=4559.976315883166, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T18:15:01.041577", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.393446101235355, + "risk_adjusted_strength": 184192.09259766462, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=566071619, order=623250268, volume=0.01, price=4526.5, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946123, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4526.43, stoplimit=0.0, sl=4518.454770391269, tp=4545.773074021826, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T18:30:01.037760", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.393446101235355, + "risk_adjusted_strength": 181018.44199744472, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=566134376, order=623315490, volume=0.01, price=4518.47, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946124, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4518.47, stoplimit=0.0, sl=4510.1695907091225, tp=4538.521023227195, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T18:35:01.528530", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.393446101235355, + "risk_adjusted_strength": 175724.684130681, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=566161929, order=623344430, volume=0.01, price=4512.99, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946125, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4512.59, stoplimit=0.0, sl=4503.944759906462, tp=4533.538100233844, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T18:55:01.637018", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 18.393446101235355, + "risk_adjusted_strength": 174207.438099708, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=566237735, order=623421721, volume=0.01, price=4514.32, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946128, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4514.54, stoplimit=0.0, sl=4505.333737099959, tp=4536.890657250104, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T19:45:01.064364", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.985792685317662, + "risk_adjusted_strength": 178315.77325900304, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=566357981, order=623560612, volume=0.01, price=4529.92, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946131, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4529.97, stoplimit=0.0, sl=4522.0753894375575, tp=4549.006526406109, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" + }, + { + "timestamp": "2025-12-26T21:24:44.164686", + "version": "V1.6_Adaptive_Complete", + "symbol": "XAUUSD", + "entry_signal": 1, + "confidence": 100.0, + "adaptive_threshold": 70, + "signal_quality": "excellent", + "market_regime": "ranging", + "regime_strength": 9.985792685317662, + "risk_adjusted_strength": 182237.19965198802, + "adaptive_interval": 5, + "session": "ny", + "relaxed_features": { + "pullback_entry_disabled": true, + "lower_confidence_threshold": true, + "lower_min_strength": true, + "fixed_tf_alignment": true + }, + "adaptive_features": { + "adaptive_rhythm": true, + "session_aware": true, + "volatility_based": true + }, + "position_control_active": true, + "order_result": "OrderSendResult(retcode=10009, deal=566557232, order=623774922, volume=0.01, price=4525.89, bid=0.0, ask=0.0, comment='Request executed', request_id=1587946132, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.01, price=4525.89, stoplimit=0.0, sl=4518.987540738347, tp=4542.481148154132, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))" } ] \ No newline at end of file