{
  "generated_at": "2026-07-22T12:13:23.115728+00:00",
  "archive_id": "QE-LEG-20260722",
  "live_dir": "/home/claude/quantevo_v2/data/evolution/dual_track_live",
  "diagnosis": {
    "codes": [
      "LIVE_OK",
      "FLAT",
      "FUNDS_NO_SIGNAL"
    ],
    "primary": "有资金，但本轮无合格信号",
    "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）",
    "health": "green",
    "age_sec": 294,
    "dd_pct": 0.0,
    "equity": 15.7983,
    "peak": 15.7983,
    "n_pos": 0,
    "regime_score": 0,
    "regime_trigger": false,
    "positions": {},
    "module_pnl": {},
    "last_run_at": "2026-07-22T12:08:28.824409+00:00",
    "fingerprint": "Ensemble-v1-Fib55+Grid45+Fund10+Chain7-P3",
    "log_snippets": [
      "2026-07-22 13:38:01,519 [INFO] mode=exits-only eq=15.7983 avail=15.7983 open=0 dd=0.0% G=True F=True C=True trial=True",
      "2026-07-22 13:38:02,271 [INFO] REGIME score=0/4 trigger=False adx=31.516",
      "2026-07-22 13:45:08,502 [INFO] mode=full eq=15.7983 avail=15.7983 open=0 dd=0.0% G=True F=True C=True trial=True",
      "2026-07-22 13:45:09,049 [INFO] REGIME score=0/4 trigger=False adx=31.516",
      "2026-07-22 13:48:18,433 [INFO] mode=exits-only eq=15.7983 avail=15.7983 open=0 dd=0.0% G=True F=True C=True trial=True",
      "2026-07-22 13:48:18,765 [INFO] REGIME score=0/4 trigger=False adx=31.516",
      "2026-07-22 13:58:22,810 [INFO] mode=exits-only eq=15.7983 avail=15.7983 open=0 dd=0.0% G=True F=True C=True trial=True",
      "2026-07-22 13:58:23,357 [INFO] REGIME score=0/4 trigger=False adx=31.516",
      "2026-07-22 14:00:18,531 [INFO] mode=full eq=15.7983 avail=15.7983 open=0 dd=0.0% G=True F=True C=True trial=True",
      "2026-07-22 14:00:18,894 [INFO] REGIME score=0/4 trigger=False adx=31.174",
      "2026-07-22 14:08:29,144 [INFO] mode=exits-only eq=15.7983 avail=15.7983 open=0 dd=0.0% G=True F=True C=True trial=True",
      "2026-07-22 14:08:29,453 [INFO] REGIME score=0/4 trigger=False adx=31.174"
    ],
    "errors": [],
    "session": {
      "deploy_at": "2026-07-22 03:14:07",
      "uptime_sec": 39556,
      "uptime_human": "10小时59分",
      "regime_scans": 110,
      "regime_trigger_true": 0,
      "regime_score_hist": {
        "0": 110
      },
      "opens": 0,
      "closes": 0,
      "rejects": 0,
      "trade_events": {},
      "block_reasons": {
        "资金/名义不足": 4
      },
      "summary_zh": "部署约 10小时59分 · 扫描 110 次 · Grid触发 0 次 · 开仓 0 · 平仓 0 · 主阻挡: 资金/名义不足×4",
      "why_no_trade_zh": "至今 0 笔开仓。主因：Grid 四层过滤持续 0/4（市场非高置信震荡）；Fib 本窗口无 0.618 合格入场；Funding/Chain 无满足条件或早先名义门槛 skip。"
    }
  },
  "regime": {
    "layer1_adx": false,
    "layer2_bb": false,
    "layer3_atr": false,
    "layer4_ma": false,
    "score": 0,
    "trigger": false,
    "adx": 31.174,
    "bb_width": 0.0236,
    "bb_p22": 0.016125,
    "atr": 729.321429,
    "atr_mean30": 605.705952,
    "ma_dist_pct": 1.5338
  },
  "flow": [
    {
      "id": 1,
      "name": "Timer 触发",
      "desc": "systemd dual_track_live.timer 每 15 分钟 full 扫描；exits timer ~10 分钟只平仓",
      "status": "ok",
      "why": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "id": 2,
      "name": "读账户权益 / Peak / DD",
      "desc": "equity=15.7983 peak=15.7983 DD=0.0%",
      "status": "ok",
      "why": "DD>32% → 禁止新开，只管理已有仓"
    },
    {
      "id": 3,
      "name": "权限门",
      "desc": "permissions.json / 环境开关",
      "status": "ok",
      "why": "人工 pause 时跳过所有新开仓"
    },
    {
      "id": 4,
      "name": "4 层震荡过滤 (Grid)",
      "desc": "score=0/4 trigger=False",
      "status": "idle",
      "why": "ADX<21 · BB 低分位 · ATR 低 · MA 纠缠；≥3 层才开 Grid",
      "layers": {
        "L1_ADX": false,
        "L2_BB": false,
        "L3_ATR": false,
        "L4_MA": false,
        "adx": 31.174,
        "ma_dist_pct": 1.5338
      }
    },
    {
      "id": 5,
      "name": "模块① Fib A+B（55%·20×）",
      "desc": "始终评估 1h 紧 Fib + 4h 三层；同币一仓·总≤3",
      "status": "active",
      "why": "主策略永不因 Grid 关闭；有信号且名义够则开"
    },
    {
      "id": 6,
      "name": "模块② Grid（45%·20× 试盘）",
      "desc": "仅 trigger 时 BTC 15m 网格 + 区间下-3% 止损",
      "status": "idle",
      "why": "过滤不过 → 强制不开，保护趋势期"
    },
    {
      "id": 7,
      "name": "模块③ Funding（10%·20×）",
      "desc": "|费率|>0.04% 小对冲；优先 ETH",
      "status": "idle",
      "why": "无极端费率则空过；保证金不够则 skip 并记入日志"
    },
    {
      "id": 8,
      "name": "模块④ Chain/RSI（7%·20×）",
      "desc": "RSI 极值 + 多空比双重确认；优先 SOL/ETH",
      "status": "idle",
      "why": "单条件不满足绝不单开"
    },
    {
      "id": 9,
      "name": "交易所门槛",
      "desc": "实时 MIN_NOTIONAL / minQty×价（BTC≈66U 名义）",
      "status": "ok",
      "why": "试盘 20× 降低保证金；仍不够则明确 skip"
    },
    {
      "id": 10,
      "name": "结果汇总 → 网站",
      "desc": "有资金，但本轮无合格信号",
      "status": "green",
      "why": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    }
  ],
  "session": {
    "deploy_at": "2026-07-22 03:14:07",
    "uptime_sec": 39556,
    "uptime_human": "10小时59分",
    "regime_scans": 110,
    "regime_trigger_true": 0,
    "regime_score_hist": {
      "0": 110
    },
    "opens": 0,
    "closes": 0,
    "rejects": 0,
    "trade_events": {},
    "block_reasons": {
      "资金/名义不足": 4
    },
    "summary_zh": "部署约 10小时59分 · 扫描 110 次 · Grid触发 0 次 · 开仓 0 · 平仓 0 · 主阻挡: 资金/名义不足×4",
    "why_no_trade_zh": "至今 0 笔开仓。主因：Grid 四层过滤持续 0/4（市场非高置信震荡）；Fib 本窗口无 0.618 合格入场；Funding/Chain 无满足条件或早先名义门槛 skip。"
  },
  "status_md_exists": true,
  "hourly": [
    {
      "hour": "2026-07-22T01",
      "ts": "2026-07-22T01:40:37.852090+00:00",
      "primary": "有模块想动但资金/名义不够",
      "health": "amber",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "SIGNAL_OR_MODULE_BLOCKED_BY_FUNDS",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "日志出现 min_margin / min notional / budget skip（已 20× 仍可能不够 BTC）"
    },
    {
      "hour": "2026-07-22T02",
      "ts": "2026-07-22T02:10:56.215070+00:00",
      "primary": "有模块想动但资金/名义不够",
      "health": "amber",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "SIGNAL_OR_MODULE_BLOCKED_BY_FUNDS"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "近 30 分钟日志出现 min_margin / min notional / budget skip"
    },
    {
      "hour": "2026-07-22T03",
      "ts": "2026-07-22T03:11:27.567672+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T04",
      "ts": "2026-07-22T04:11:36.993492+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T05",
      "ts": "2026-07-22T05:11:47.396321+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T06",
      "ts": "2026-07-22T06:11:57.208327+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T07",
      "ts": "2026-07-22T07:11:57.384767+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T08",
      "ts": "2026-07-22T08:01:31.162897+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T09",
      "ts": "2026-07-22T09:11:57.732593+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T10",
      "ts": "2026-07-22T10:12:46.376090+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T11",
      "ts": "2026-07-22T11:12:58.134966+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    },
    {
      "hour": "2026-07-22T12",
      "ts": "2026-07-22T12:13:23.115728+00:00",
      "primary": "有资金，但本轮无合格信号",
      "health": "green",
      "codes": [
        "LIVE_OK",
        "FLAT",
        "FUNDS_NO_SIGNAL"
      ],
      "equity": 15.7983,
      "dd_pct": 0.0,
      "n_pos": 0,
      "regime_score": 0,
      "detail": "权益 15.80U · Grid 过滤 0/4 · 空仓等待（正常）"
    }
  ]
}