feat: collapse fund overview help and bind start day to env

Fold the stats description by default and render history_start_day and keep_days from the API so HUB_FUND_HISTORY_START_DAY in .env drives the UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-10 17:23:54 +08:00
parent 4f5a982b63
commit 5faedfbfb7
4 changed files with 63 additions and 8 deletions
+3 -2
View File
@@ -99,5 +99,6 @@ 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
# 资金概况:曲线与回撤统计起始交易日(页面说明与曲线均读取此项;该日之前不记、不展示)
# 修改后须重启 manual-trading-hubpm2 restart manual-trading-hub
HUB_FUND_HISTORY_START_DAY=2026-06-09