fix: fund overview history starts from 2026-06-09

Add HUB_FUND_HISTORY_START_DAY so curves and drawdown exclude snapshots before the baseline trading day.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-10 16:58:57 +08:00
parent 77c7bbbb13
commit ba629ea0ee
7 changed files with 71 additions and 9 deletions
+2
View File
@@ -99,3 +99,5 @@ AI_MODEL=huihui_ai/deepseek-r1-abliterated:latest
TRADING_DAY_RESET_HOUR=8
# 资金概况 / AI 上下文:分户资金快照保留交易日数(默认 180)
# HUB_FUND_HISTORY_DAYS=180
# 资金曲线与回撤统计起始交易日(默认 2026-06-09,该日之前不记、不展示)
# HUB_FUND_HISTORY_START_DAY=2026-06-09