17 lines
467 B
Python
17 lines
467 B
Python
|
|
"""Configuration for the market data service."""
|
||
|
|
|
||
|
|
from shared.config import BaseConfig
|
||
|
|
|
||
|
|
|
||
|
|
class MarketDataConfig(BaseConfig):
|
||
|
|
"""Extends BaseConfig with market-data-specific settings."""
|
||
|
|
|
||
|
|
watchlist: list[str] = ["AAPL", "TSLA", "NVDA", "MSFT", "GOOGL"]
|
||
|
|
bar_timeframe: str = "5Min"
|
||
|
|
poll_interval_seconds: int = 60
|
||
|
|
historical_bars: int = 100
|
||
|
|
alpaca_api_key: str = ""
|
||
|
|
alpaca_secret_key: str = ""
|
||
|
|
|
||
|
|
model_config = {"env_prefix": "TRADING_"}
|