{{ pageTitle }}
超管 未配置 OKX 密钥 {{ userInfo?.username || '管理员' }}
{{ status.running_strategies_count || 0 }}
运行中策略
{{ status.strategies_total || 0 }}
总策略数
{{ netProfit.toFixed(2) }} ⚙
净利润 (USDT)
{{ status.total_trades || 0 }}
总交易次数
{{ status.balance.total_eq }}
账户净值 (USDT)
{{ status.balance.avail_bal }}
可用余额 (USDT)
{{ status.balance.upl >= 0 ? '+' : '' }}{{ status.balance.upl }}
未实现盈亏 (USDT)
运行中 v1 {{ status.engine_status }} {{ proxyStatus.api_status || '检查中' }} {{ proxyStatus.latency_ms }}ms 重启代理 检查
{{ wsStatus.connected ? '✅' : '❌' }}
连接状态
{{ wsStatus.message_count ? wsStatus.message_count.toLocaleString() : 0 }}
消息总数
{{ wsStatus.fill_count || 0 }}
成交推送
{{ formatWSDuration(wsStatus.connected_seconds) }}
连接时长
WebSocket 正常运行 | 已订阅: {{ wsStatus.subscribed?.join(', ') || '-' }} | 策略数: {{ wsStatus.strategy_count || 0 }} | 重连次数: {{ wsStatus.reconnect_count || 0 }}
新建策略 推荐策略
挂单数量:买单 {{ pendingBuys.length }} | 卖单 {{ pendingSells.length }} | 合计 {{ totalPending }}

买单 ({{ pendingBuys.length }})

卖单 ({{ pendingSells.length }})

交易记录({{ trades.length }} 条) 累计毛利: {{ trades.reduce((s,t) => s + (t.profit || 0), 0).toFixed(4) }} / 手续费: {{ trades.reduce((s,t) => s + (t.fee || 0), 0).toFixed(4) }} / 净利: {{ trades.reduce((s,t) => s + (t.profit || 0) - (t.fee || 0), 0).toFixed(4) }} USDT
暂无日志
{{ f.name }}
{{ f.size_display }} · {{ f.updated_at }}
{{ logContent }}
点击左侧文件查看日志
USDT USDT 单 档 USDT USDT USDT 单 档 USDT 高级选项 只做多 只做空 双向网格 USDT USDT 张 风控 USDT 0=不设止损
正在加载推荐策略...
基于波动率、交易量、网格适应性自动评分,每小时更新一次
{{ analysisData.direction_suggestion.reason }}
{{ analysisData.price ? analysisData.price.toFixed(2) : '-' }}
当前价 (USDT)
{{ analysisData.change24h >= 0 ? '+' : '' }}{{ (analysisData.change24h * 100).toFixed(2) }}%
24h 涨跌
{{ (analysisData.volatility_24h * 100).toFixed(2) }}%
24h 振幅
{{ analysisData.rsi ? analysisData.rsi.toFixed(1) : '-' }}
RSI(14) · {{ analysisData.rsi_label }}
{{ (analysisData.funding_rate * 100).toFixed(4) }}%
{{ analysisData.funding_rate_desc }}
{{ analysisData.ma7?.toFixed(2) }} / {{ analysisData.ma25?.toFixed(2) }} / {{ analysisData.ma99?.toFixed(2) }}
当前策略 24h 表现
📈 买入 {{ analysisData.strategy["24h_buys"] }} 笔
📉 卖出 {{ analysisData.strategy["24h_sells"] }} 笔
净利 {{ analysisData.strategy["24h_profit"].toFixed(4) }}
网格位置 {{ analysisData.strategy.grid_position_pct.toFixed(0) }}%
正在加载行情...
{{ performanceData.win_rate }}%
胜率
{{ performanceData.profit_loss_ratio }}
盈亏比
-{{ performanceData.max_drawdown_pct }}%
最大回撤
{{ performanceData.sharpe_ratio }}
夏普比率
详细统计 {{ performanceData.total_trades }} {{ performanceData.total_buys }} {{ performanceData.total_sells }} {{ performanceData.win_count }} {{ performanceData.loss_count }} +{{ performanceData.avg_win }} USDT {{ performanceData.avg_loss }} USDT -{{ performanceData.max_drawdown }} USDT 累计收益 {{ performanceData.total_gross_profit.toFixed(4) }} USDT -{{ performanceData.total_fees.toFixed(4) }} USDT {{ performanceData.total_net_profit >= 0 ? '+' : '' }}{{ performanceData.total_net_profit.toFixed(4) }} USDT
加载中...
确认修改 请填写你的 OKX API 密钥。密钥将被加密存储,前端永不返回明文。 密钥已配置。如需更换,重新填写并提交即可。API Key 尾号:{{ okxStatus.api_key_tail }} 合约模式 + 双向持仓(网格策略所需) {{ okxStatus.configured ? '更新密钥' : '保存密钥' }} 解绑
💰 初始本金:{{ (status?.initial_capital ?? 0).toFixed(2) }} USDT
从 OKX 账单同步 手动设置
净利润 = 当前账户净值 - 初始本金。 "从账单同步" 按"从主账号转入 - 转出到主账号" 算交易账户净投入。 OKX 只给最近 100 条账单,老账户结果可能偏小,请用"手动设置"覆盖。
保存 创建