hmo
f35144f3f1
feat(盯盘): 推荐区全展示+可执行/排队徽章(预算内标可执行,不再降级隐藏)
2026-07-22 10:53:32 +08:00
hmo
a42e3a16e5
feat(盯盘): 筛选/排序控制条——信号多选chips+排序下拉(RR升降/涨跌升降)+RR下限过滤+重置
2026-07-22 09:31:19 +08:00
hmo
c1b38d3d7b
feat(盯盘): 推荐操作精选层——72h新鲜度+RR降序+现金预算贪心装入(上限5只)
...
老爸: 太多推荐=没有推荐。机制:
- 候选: tag非空 且 reassessed_at 72h内(陈旧信号不算推荐)
- 排序: rr_ratio 降序
- 预算: 从 portfolio_summary 读现金/总资产, 每只建议仓位
(position_advice解析%或默认8%) 贪心累加, 耗尽即止, 最多5只
- 落选者降回持仓/自选自然组
- /api/watch 返回 cash/budget_pct/rec_used_pct, 前端显示预算条
- 推荐行仓位列显示'建议X%'
2026-07-22 00:16:35 +08:00
hmo
9914ff9457
feat(盯盘): 推荐操作区域置顶独立 + tag与XMPP动作级信号自动同步
...
- mofin_db: write_holding_strategy 内置tag同步语义——动作级信号
(买入/可买入/可加仓/卖出/止盈)→current_recommend; 信号降级→
清除current_recommend; active_manual人工标记永不被自动流覆盖/清除
- 新增 sync_recommend_tag() 供裸SQL调用方
- batch_reassess.save_result / per_stock stage-2 调用同步
- 盯盘Tab: '重点推荐'更名'推荐操作', 区域独立琥珀色视觉, 置顶
同步语义: XMPP买入信号(ACTION级告警)的个股=推荐操作区域个股,
信号消失(重评降级)时区域同步消失
2026-07-21 23:31:57 +08:00
hmo
de9927a627
重评核心重构:ds-v4-pro + 原策略全文 + strategy_history + 前端三改造
...
后端(重评管线):
- 新增 llm_client.py 共享客户端: REASSESS_MODEL=deepseek-v4-pro 单点,
gateway预检(fail-fast), 150s超时+1次重试, 永不抛异常
- batch_reassess/per_stock_reassess: curl/urllib -> call_llm,
prompt传入原策略全文+当前参数+最近3条变更, 输出 维持/修改判断+
修改点理由+最终新策略, max_tokens 4096
- mofin_db: 新增 strategy_history 表 + snapshot_strategy_history(),
write_holding_strategy 覆写前自动快照(保留20条/code)
- mofin_db: holding_strategies 补 tag 列迁移 + 写入保留
(tag缺席=保留旧值, 显式传''=允许清除), 修复推荐标签被静默丢弃
- mo_data.read_decisions: SELECT 补 tag
- stale_detector/promote_candidates: 子进程超时 240/60 -> 480s
前端:
- 移除 报告Tab -> mofin_health 全部流程/Cron 表加 最后十次 列
(modal列表->详情), /api/reports 支持 cron+script 多路匹配
(jobs.json name->id 解析 + 文件名/标题子串兜底)
- 移除 决策库Tab
- 盯盘Tab 重构: 全部持仓+自选, sort_group 分组(推荐/持仓/自选),
推荐行琥珀高亮+🔥 badge+行内策略, 新增 操作策略 列查看
最近3次完整策略(/api/strategy_history/<code>, 表缺失时降级当前行)
- 提示词Tab: registry.py 数据路径改回 /home/hmo/MoFin/data/prompts
(红线: 数据只在规范数据根), 空态提示初始化命令
2026-07-20 23:51:24 +08:00
hmo
a05c118cbc
feat(dashboard): restore lost monitoring + add 开发原则 tab (AgentsMeeting parity)
...
Two regressions fixed:
1. RESTORED: original health monitoring (功能树/全部Cron/数据实体/数据流)
was an iframe to /mofin_health.html — refactor replaced it with a
minimal services-only panel and lost all of it. mofin_health.json
(86KB, fresh) was still being generated the whole time.
- 健康 tab: XMPP panel (native) + restored iframe below
2. ADDED: 开发原则 parent tab replicating AgentsMeeting structure:
- G 规范: /api/spec renders docs/dev-spec.md + git history
- K 测试: /api/tests renders agents_health_check report as pass/fail
- F 健康: iframe to /mofin_health.html + link to 健康 tab
- H 需求: /api/prd (placeholder — prd.md not yet created)
- mdRender() ported from AgentsMeeting dashboard
2026-07-20 00:40:32 +08:00
hmo
058c42ce27
feat(health): recent XMPP conversation log panel + stale error fix
...
User requirement: health tab should show recent XMPP conversations.
- bot hooks log_xmpp on inbound (on_msg) and outbound (_deliver_loop)
so real chats land in xmpp_messages.jsonl (was: only cron/scanner)
- index.html health tab: new '最近对话' panel (last 10 msgs, dir arrow,
preview, status, time); refreshHealth updates it incrementally
- last_error now shows age and resolved state: once a successful
outbound happens after an error, it's shown gray as '已恢复'
instead of alarming red forever; unresolved errors still red
- health() status no longer degraded by errors that were later
resolved by successful outbound
2026-07-20 00:07:28 +08:00
hmo
0802046d5c
feat: Hermes Gateway + LLM provider monitoring, root cause visible in health tab
2026-07-19 13:25:37 +08:00
hmo
50ae4e1cc9
feat: XMPP bot journal monitoring — detect inbound/outbound/errors, smooth health refresh
2026-07-19 13:15:37 +08:00
hmo
9f3d1d8106
refactor: remove redundant dashboard tab, health tab now unified
2026-07-19 12:57:08 +08:00
hmo
b41bed7959
feat: XMPP observability — logger, monitor endpoints, clean dead xiaoguo refs
2026-07-19 12:47:15 +08:00
hmo
fec2bc9106
refactor: integrate spec system into all 9 tabs — ?§ buttons, native health monitoring
2026-07-19 11:22:56 +08:00
hmo
8356946de3
refactor: health tab now uses new dashboard, added dashboard tab
2026-07-19 11:11:59 +08:00
hmo
e45c3bb01f
feat: integrate dashboard tab into main index.html navbar
2026-07-19 11:11:18 +08:00
知微
9239ab40c0
docs: 更新CHANGELOG + 开发日志记录07/13全部变更
...
- XMPP Bot非阻塞/本地XMPP/MUC修复
- price_monitor推送冷却持久化
- 深套股规则重构+换股规划swap-plan
- 周月线技术分析增强
- 健康Tab写无读清零
- stale_push_wlin/per_stock_reassess/promote_candidates更新
- static/index.html + mofin_health.json + server.py同步
2026-07-13 12:09:25 +08:00
知微
016258bc09
feat: 批量LLM九维分析+仓位建议列+Dashboard显示
2026-07-09 23:16:47 +08:00
知微
93dd2f8732
fix: 完整九维分析显示链接
2026-07-09 20:55:27 +08:00
知微
14690a64e5
fix: 自选按信号优先级排序+策略显示tech_snapshot/sector_context
2026-07-09 20:24:43 +08:00
知微
cc9e9e066e
fix: 自选Tab两行布局(策略全显)+新增RR列
2026-07-09 19:52:29 +08:00
知微
ffef8cdd29
fix: 自选Tab显示策略数据(买入区间/信号/策略)+live_prices涨跌
2026-07-09 19:49:07 +08:00
知微
a83c0ea11e
fix: watchlist API改用holding_strategies+市场Tabtrend变量
2026-07-09 19:24:45 +08:00
知微
223c708507
fix: 市场Tab候选管道JS语法错误
2026-07-09 19:21:07 +08:00
知微
b23e7736ee
feat: 首页加 🏥 健康tab, 内嵌iframe加载三Tab监控
2026-07-08 12:10:54 +08:00
知微
9d85601904
fix: 评估页字段名错误(evaluations→advice_evaluation)
2026-06-21 02:55:12 +08:00
知微
4eb409b51a
市场页改版:三栏展示(行业+趋势信号+小果扫描),取代旧洞察/潜力股
2026-06-21 02:47:04 +08:00
知微
70514bf542
Dashboard: 信号tab + API(signals + xiaoguo-scan),前端展示
2026-06-21 02:44:05 +08:00
知微
66a8f24e17
加回 .gitignore
2026-06-20 12:43:24 +08:00
知微 (MoFin)
33df400c01
目录重组:web/ scripts/ config/ tests/ 标准化
2026-06-20 12:11:33 +08:00
知微 (MoFin)
aa0f740381
MoFin 初始提交
...
完整数据采集+分析管道:
- market_watch.py:90行业板块采集(同花顺/东方财富)
- 市场精选推荐 cron:全市场分析+候选池+星级推荐
- price_monitor.py:持仓/自选高频价格监控
- refresh_mtf_cache.py:多周期K线缓存
- 策略评估/知识萃取管道
文档:docs/ 含完整需求+架构设计
注意:尚未配置 git remote,笑笑接手后自行配置
2026-06-20 12:04:21 +08:00