"""Configuration loaded from environment variables.""" from __future__ import annotations import os from dotenv import load_dotenv load_dotenv() TELEGRAM_TOKEN: str = os.getenv("TELEGRAM_TOKEN", "") TWELVE_DATA_API_KEY: str = os.getenv("TWELVE_DATA_API_KEY", "") SUPPORTED_PAIRS: list[str] = ["EURUSD", "GBPUSD", "USDJPY", "AUDUSD", "USDCAD", "XAUUSD"] SUPPORTED_TIMEFRAMES: list[str] = ["15min", "1h", "4h", "1day"] if not TELEGRAM_TOKEN or not TWELVE_DATA_API_KEY: raise RuntimeError( "Missing TELEGRAM_TOKEN or TWELVE_DATA_API_KEY. " "Copy .env.example to .env and fill in values." )