From 78177596179aeeeb7544509fcc31b2b4c86d7f98 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 2 Apr 2026 13:56:10 +0900 Subject: feat: add news collector and stock selector config settings --- shared/src/shared/config.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'shared/src') diff --git a/shared/src/shared/config.py b/shared/src/shared/config.py index 4e8e7f1..7a947b3 100644 --- a/shared/src/shared/config.py +++ b/shared/src/shared/config.py @@ -35,4 +35,16 @@ class Settings(BaseSettings): circuit_breaker_threshold: int = 5 circuit_breaker_timeout: int = 60 metrics_auth_token: str = "" # If set, /health and /metrics require Bearer token + # News collector + finnhub_api_key: str = "" + news_poll_interval: int = 300 + sentiment_aggregate_interval: int = 900 + # Stock selector + selector_candidates_time: str = "15:00" + selector_filter_time: str = "15:15" + selector_final_time: str = "15:30" + selector_max_picks: int = 3 + # LLM + anthropic_api_key: str = "" + anthropic_model: str = "claude-sonnet-4-20250514" model_config = {"env_file": ".env", "env_file_encoding": "utf-8", "extra": "ignore"} -- cgit v1.2.3