diff --git a/telegram_bot.py b/telegram_bot.py index 4673a8c..638c218 100644 --- a/telegram_bot.py +++ b/telegram_bot.py @@ -55,7 +55,6 @@ _TF_CONFIRMATIONS = { "D1": [Timeframe.H4, Timeframe.W1], } -_SUPPORTED_PAIRS = set(MAJOR_PAIRS + CROSS_PAIRS) _GRADE_RANK = {"A+": 0, "A": 1, "B": 2, "C": 3, "D": 4, "F": 5} _EST = ZoneInfo("America/New_York") @@ -115,7 +114,6 @@ def _build_combined_signal( results_by_tf: Dict[str, List[SignalReport]], display: str, now_str: str, - synthetic: bool = False, ) -> str: """ Single message showing all timeframes stacked. @@ -126,12 +124,6 @@ def _build_combined_signal( lines.append(f"๐ŸŒ {_h(display)} โ€” Signal Analysis") lines.append(f"๐Ÿ• {now_str}") - if synthetic: - lines.append( - "โš ๏ธ Note: Not on Twelve Data free tier โ€” " - "prices are simulated data." - ) - for tf in SCAN_TIMEFRAMES: reports = results_by_tf.get(tf, []) if not reports: @@ -372,7 +364,6 @@ class ForexTelegramBot: raw += "=X" display = SYMBOL_DISPLAY.get(raw, raw.replace("=X", "")) tfs_str = " ยท ".join(SCAN_TIMEFRAMES) - synthetic = raw not in _SUPPORTED_PAIRS msg = await update.message.reply_text( f"๐Ÿ”„ Analyzing {_h(display)} across {_h(tfs_str)}โ€ฆ" @@ -386,7 +377,7 @@ class ForexTelegramBot: await msg.edit_text(f"โŒ No data returned for {_h(display)}") return - text = _build_combined_signal(results_by_tf, display, now_str, synthetic) + text = _build_combined_signal(results_by_tf, display, now_str) await msg.delete() await self._send_html(update, text)