 SakurasanandClaude
|
eb66ab02d0
|
feat: 交易日9:31清空全部缓存,保证开盘后数据全新
- services/cache.py 新增 clear_all() 清空整个 cache 表
- daily_collector.py 新增 cache_cleanup_loop() 后台循环:精确 sleep 到最近一个
工作日 9:31 清空缓存,跳过周末,出错1分钟重试
- main.py lifespan 启动清理任务,与采集任务一同优雅退出
与既有"非交易时段 TTL 截止到下次开盘前"的惰性过期形成双保险
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-11 16:56:56 +08:00 |
|
 SakurasanandClaude
|
c58bd990fd
|
fix: lifespan 关闭时 await 取消的采集任务,避免 pending 警告
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-10 20:23:17 +08:00 |
|
 SakurasanandClaude
|
6b12b04cab
|
feat: 挂载核心股路由并启动每日采集任务
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-10 20:20:55 +08:00 |
|
 SakurasanandClaude
|
45836f4a30
|
feat: 新增题材页面(列表 + 详情)
- 主页增加「题材热点」入口,跳转题材列表页
- 题材列表页:展示全部题材,支持按涨幅/强度/热度/成交额排序
- 题材详情页:简介、热点事件、相关新闻、板块涨跌统计、全部相关股票(含入选理由默认展开)
- 后端逆向封装东方财富题材接口 getThemeList/getDetail/getStockList,含交易时段感知缓存
Co-Authored-By: Claude <noreply@anthropic.com>
|
2026-08-06 17:22:04 +08:00 |
|
Sakurasan
|
62961017ea
|
优化静态路由
|
2026-07-07 16:07:10 +08:00 |
|
Sakurasan
|
0719c63ef1
|
up
|
2026-07-06 01:01:38 +08:00 |
|
Sakurasan
|
013ebdaffe
|
up
|
2026-07-05 21:29:17 +08:00 |
|