diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 13:56:10 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-04-02 13:56:10 +0900 |
| commit | 78177596179aeeeb7544509fcc31b2b4c86d7f98 (patch) | |
| tree | 46025436c587ddd0af5a3f3d70279c65a5a13b5d /shared/src | |
| parent | ff5a74810ef5f8748b2b30e543968dd9e48512f0 (diff) | |
feat: add news collector and stock selector config settings
Diffstat (limited to 'shared/src')
| -rw-r--r-- | shared/src/shared/config.py | 12 |
1 files changed, 12 insertions, 0 deletions
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"} |
