Fix trade setup generation, M5 data-only mode, WS symbol limits, command menu

- Trade setup TP now scales to SL distance ensuring min RR is met when
  no viable swing target exists; skip swing targets with poor RR
- Add float tolerance to RR gate to prevent edge-case rejection
- M5 auto-scan runs for level cache only, no Telegram broadcast
- WebSocket limited to EUR/USD + XAU/USD (Grow plan constraint)
- Register bot command menu via set_my_commands on startup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
harwinder
2026-05-11 18:58:40 -04:00
parent 5e12307b1f
commit 4db6121ca7
3 changed files with 35 additions and 22 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ from datetime import datetime, timezone
API_KEY = "f563b22ffdfd4924955decbe1a8c8701"
WS_URL = f"wss://ws.twelvedata.com/v1/quotes/price?apikey={API_KEY}"
SYMBOLS = ["EUR/USD", "GBP/USD", "USD/JPY", "XAU/USD"]
SYMBOLS = ["EUR/USD", "XAU/USD"]
async def stream_ticks():