Files
MoFin/data/prompts/versions/strategy-generation-v2.3.md
T
zhiwei 9b9c37002a Initial: MoFin 持仓分析与策略管理系统
核心模块:
- 策略生命周期管理 (strategy_lifecycle.py)
- 技术分析引擎 (technical_analysis.py)
- 双维度策略评估 (strategy_evaluator.py)
- 实时行情获取 (get_realtime_prices.py)
- Web Dashboard (server.py, :8899)

提示词版本管理:
- prompt_manager 模块 — 统一管理所有知微提示词
- 8个提示词共24个版本已录入
- 策略→提示词版本关联追踪
- Dashboard「提示词」Tab

数据源增强:
- 服务端 POST /api/update/realtime 端点已就绪
- clients/tdx-relay/ — 小小莫在Windows上开发的通达信中继
- 解决港股15分钟延迟问题
2026-06-12 22:54:51 +08:00

17 lines
556 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
策略生成规则 v2.3
买入区 R/R 约束:
- entry_high ≤ (target + min_rr × stop) / (1 + min_rr)
- 新买入 min_rr=1.5,已持仓 min_rr=1.0
- 坍缩保护:R/R约束导致买入区消失时标记"不建议"
买入时机四象限:
| 场景 | 操作 |
|------|------|
| ①放量跌入买入区 | ❌ 不买 |
| ②缩量回踩弱支撑+放量反弹 | ✅ 买入 |
| ③放量突破压力位 | ✅ 追买 |
| ④缩量反弹到压力位 | ❌ 警惕 |
趋势位置检测:股价>80%分位或<20%分位时自动扩展有效区间到价×8%