mindesbunister
90e403e302
fix: Smart Validation Queue respects symbol enabled status (Bug #79)
CRITICAL FIX - Stops Telegram notification spam for disabled symbols
Problem:
- User receiving unwanted notifications for FARTCOIN (enabled=false)
- Three notification types: QUEUED, VALIDATED, ENTERING NOW
- Smart Validation Queue queued quality 50-89 signals WITHOUT checking enabled
- Data collection working correctly, but validation queue also triggered
Root Cause:
- check-risk/route.ts lines 442-455 added signals to queue without enabled check
- Validation queue sends Telegram at multiple stages (queued, validated, entering)
- Execute endpoint checks enabled (line 290) but TOO LATE (after notifications)
The Fix:
- Added enabled status check BEFORE queueing signals
- Check: getActualPositionSizeForSymbol(symbol, config).enabled
- If disabled: Skip queue, save to database silently (data collection only)
- If enabled: Queue normally with notifications (SOL/BTC/ETH production trading)
Files Changed:
- app/api/trading/check-risk/route.ts: Lines 442-470 (added enabled check)
- .github/copilot-instructions.md: Bug #79 documented in Common Pitfalls
Expected Result:
- No more FARTCOIN Telegram notifications
- 1-minute data collection continues silently
- Only enabled symbols (SOL/BTC/ETH) send validation notifications
Severity: 6/10 (annoying but not financially harmful)
Status: Code fixed, awaiting deployment verification
2025-12-15 10:34:18 +01:00
..
2025-11-09 17:59:50 +01:00
2025-12-15 10:34:18 +01:00
2025-11-01 02:41:26 +01:00
2025-11-01 17:00:37 +01:00
2025-12-14 12:51:46 +01:00
2025-12-12 15:54:03 +01:00
2025-12-09 20:53:32 +01:00
2025-12-13 22:47:59 +01:00
2025-10-27 23:38:24 +01:00
2025-12-12 15:54:03 +01:00
2025-10-27 19:58:57 +01:00
2025-12-12 15:54:03 +01:00
2025-12-12 15:54:03 +01:00
2025-12-12 15:54:03 +01:00
2025-12-12 15:54:03 +01:00
2025-10-27 19:20:36 +01:00