2026-02-22 15:36:04 +00:00
|
|
|
"""Configuration for the signal generator service."""
|
|
|
|
|
|
|
|
|
|
from shared.config import BaseConfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class SignalGeneratorConfig(BaseConfig):
|
|
|
|
|
"""Extends BaseConfig with signal-generator-specific settings."""
|
|
|
|
|
|
|
|
|
|
alpaca_api_key: str = ""
|
|
|
|
|
alpaca_secret_key: str = ""
|
2026-02-22 22:17:26 +00:00
|
|
|
signal_strength_threshold: float = 0.15
|
2026-02-22 15:36:04 +00:00
|
|
|
watchlist: list[str] = []
|
2026-02-23 21:55:59 +00:00
|
|
|
alpha_vantage_api_key: str = ""
|
|
|
|
|
fmp_api_key: str = ""
|
|
|
|
|
fundamentals_cache_ttl_hours: int = 24
|
2026-02-22 15:36:04 +00:00
|
|
|
|
|
|
|
|
model_config = {"env_prefix": "TRADING_"}
|