跳转至

2026-03-21 日志

执行引擎重构

  • 新增 src/order_schema.py: normalize_order() 统一字段协议
  • Gate 改为 per-symbol 独立决策 (ready/degraded/blocked)
  • 分批追目标循环 (filled_tracker 累积到 target_qty)
  • 报告增强: target_qty/filled_qty/fill_ratio
  • 66 个单测全通过

投委会增强

  • committee_prompt 注入具体订单明细(股数×价格=金额)
  • 新增 quality_boosts / weight_overrides / added_symbols(委员可加仓/指定权重/推荐新标的)
  • override 记录系统: 每次调整记录 original→final+reason, 追加到 committee_override_history.jsonl
  • 设计原则: 委员覆盖可回测, 有边界(boost±30%, max_w=8%), 规律编码回模型

基础设施

  • memory-lancedb-pro 安装, 166 条历史记忆导入
  • noise filter 更新过滤系统消息
  • Claude Code 安装配置
  • clawtrading-rebalance 插件禁用

架构方向(v2.0)

  • 投委会长期演进: 判断力→编码为规则, 信息输入→事件响应agent
  • 最终形态: 无事件→自动执行, 有事件→event agent调整plan
  • 参考: Bridgewater "好的判断应该变成规则"

IC 优化实验

  • 基线: percentile rank + 21d → IC=0.0017
  • excess_return + 5d: IC=0.0023 (+35%)
    • raw fundamentals: IC=0.0012 (过拟合)
  • + ranked fundamentals: IC=0.0032 (+88%) ← 最优
    • ranked analyst (snapshot): IC=-0.0025 (lookahead bias)
    • ranked earnings TS: IC=0.0004 (过拟合)
  • 结论: 基本面用截面rank; analyst/earnings需要历史时序才可用
  • FMP earnings 586只已缓存到 data_cache/fmp_earnings/