看股功能更新

This commit is contained in:
2026-08-16 00:47:13 +08:00
parent fc86fe0674
commit 7c794cb342
7 changed files with 90 additions and 1 deletions

View File

@@ -30,6 +30,7 @@ class Settings(BaseSettings):
redis_url: str = ""
stocks_cache_ttl: int = 300 # 股票列表缓存秒数(行情列允许最多滞后这么多秒)
facets_cache_ttl: int = 3600 # 行业/地域筛选项缓存秒数stock_basic 很少变)
market_overview_ttl: int = 300 # 主页大盘总览缓存秒数(收盘口径数据,无需更勤)
# ---- LLM智能选股的自然语言解析DeepSeekOpenAI 兼容协议,可换任意兼容网关)----
llm_base_url: str = "https://api.deepseek.com"