feat: Extend smart validation timeout from 10 to 30 minutes

- Problem: Quality 70 signal with strong ADX 29.7 hit TP1 after 30+ minutes
- Analysis: 3/10 blocked signals hit TP1, most moves develop after 15-30 min
- Solution: Extended entryWindowMinutes from 10 → 30 minutes
- Expected impact: Catch more profitable moves like today's signal
- Missed opportunity: $22.10 profit at 10x leverage (0.41% move)

Files changed:
- lib/trading/smart-validation-queue.ts: Line 105 (10 → 30 min)
- lib/notifications/telegram.ts: Updated expiry message

Trade-off: May hold losing signals slightly longer, but -0.4% drawdown
limit provides protection. Data shows most TP1 hits occur after 15-30min.

Status:  DEPLOYED Dec 7, 2025 10:30 CET
Container restarted and verified operational.
This commit is contained in:
mindesbunister
2025-12-07 13:01:20 +01:00
parent b85bf86c0b
commit c9c987ab5d
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ ${directionEmoji} ${options.symbol} ${options.direction.toUpperCase()}
📊 Quality: ${options.qualityScore}/100
📍 Original Price: $${options.originalPrice.toFixed(2)}
⏰ No confirmation after 10 minutes
⏰ No confirmation after 30 minutes
🔄 Move wasn't strong enough`
break

View File

@@ -102,7 +102,7 @@ class SmartValidationQueue {
},
qualityScore: params.qualityScore,
blockedAt: Date.now(),
entryWindowMinutes: 10, // Watch for 10 minutes
entryWindowMinutes: 30, // Watch for 30 minutes (extended from 10 - Dec 7, 2025)
confirmationThreshold: 0.3, // Need +0.3% move to confirm
maxDrawdown: -0.4, // Abandon if -0.4% against direction
highestPrice: params.originalPrice,