feat: 题材涨幅前20存历史(原前10)

- daily_collector TOP_THEME_LIMIT 10 → 20
- 同步 routes/collector 注释与 spec/plan 文档
- 实测 2026-08-10 题材前20入库 20 条,themes/history 返回 20 条

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Sakurasan
2026-08-10 21:27:54 +08:00
co-authored by Claude
parent 1c434a208a
commit 23644a9c77
5 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
"""核心股历史接口:活跃核心股 + 指定日核心股/题材前10"""
"""核心股历史接口:活跃核心股 + 指定日核心股/题材前20"""
from datetime import date as date_cls
+1 -1
View File
@@ -39,7 +39,7 @@ async def theme_graph(
return JSONResponse(result, headers=_NO_CACHE_HEADERS)
@router.get("/history", summary="指定交易日题材涨幅前10")
@router.get("/history", summary="指定交易日题材涨幅前20")
async def theme_history(date: str = Query(..., description="交易日 YYYY-MM-DD")):
conn = get_connection()
try: