17 lines
493 B
Python
17 lines
493 B
Python
"""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 = ""
|
|
signal_strength_threshold: float = 0.15
|
|
watchlist: list[str] = []
|
|
alpha_vantage_api_key: str = ""
|
|
fmp_api_key: str = ""
|
|
fundamentals_cache_ttl_hours: int = 24
|
|
|
|
model_config = {"env_prefix": "TRADING_"}
|