diff --git a/app/web/static/index.html b/app/web/static/index.html index ef2e994..db4dbe8 100644 --- a/app/web/static/index.html +++ b/app/web/static/index.html @@ -404,6 +404,96 @@ + + + + + + 进程 {{ wsc.process_alive ? '在线':'不在线' }} + + {{ wsc.conn_state || '-' }} + 心跳 {{ wsc.heartbeat_age_sec==null ? '从未' : wsc.heartbeat_age_sec+'s 前' }} + + 每 3 秒自动刷新 + 刷新 + + + + + + + seq 已落库{{ wsc.last_seq }} + seq 已确认{{ wsc.acked_seq }} + 待入账上行{{ wsc.inbox_pending }} + 收 / 发 + {{ wst.rx||0 }} / {{ wst.tx||0 }} + 成交 / 拒绝 + {{ wst.trades||0 }} / {{ wst.rejects||0 }} + 重连{{ wst.reconnects||0 }} + 对端时钟偏差 + + {{ wst.peer_skew_ms==null ? '—' : (wst.peer_skew_ms>0?'+':'') + wst.peer_skew_ms + 'ms' }} + + + + 通道明细 + + 下发模式 {{ wsMode || '-' }} + 上次连上 {{ wsc.connected_at || '—' }} + 出口队列 {{ JSON.stringify(wsc.queue||{}) }} + + + 最后错误: {{ wsc.last_error }} + + 最后一条拒绝: {{ wst.last_reject }} + + 最后断开原因: {{ wst.last_close }} + + + + 出口委托 (pms_qmt_order) + + + + + + + + + + + + + + + 上行消息 (pms_qmt_inbox) + · 新→旧 + + 隐藏 pong + pong 每 5 秒一条且按协议 §5 带 seq, 不隐藏会把成交冲没 + + + + + + + {{ ({0:'待入账',1:'已入账',2:'已消化'})[s.row.processed] || '?' }} + + + + + {{ JSON.stringify(s.row.payload || {}) }} + + + + + @@ -455,7 +545,7 @@