Add web dashboard (Redis + FastAPI + WebSocket), scope XAU penalties

Signal daemon (signal_web.py): candle-boundary scanner mirroring
telegram_bot.py, publishes serialized SignalReport JSON to Redis.
Web API (web/app.py): thin FastAPI reader behind Apache, serves
/api/signals REST + /ws WebSocket from Redis pub/sub.
Frontend (web/static/index.html): 3-pair grid, color-coded signals,
indicator breakdown per timeframe, trade setup display.

Also: XAU-specific penalty scoping in signal_aggregator (softer
confidence penalties for gold, original strict values for forex),
pair-aware session filter routing XAU to its own blocked hours.
This commit is contained in:
harwinder
2026-05-14 23:15:37 -04:00
parent 31ecdf4292
commit bb3c475f22
10 changed files with 1401 additions and 883 deletions
+3
View File
@@ -4,3 +4,6 @@ requests>=2.28
twelvedata>=1.2.0
python-telegram-bot>=20.0
websockets>=12.0
fastapi>=0.100
uvicorn>=0.20
redis>=5.0