{{currentPageLabel}}
总资产
${{formatNum(dashboard.account?.total_balance)}}
可用余额
${{formatNum(dashboard.account?.available_balance)}}
已用保证金
${{formatNum(dashboard.account?.used_margin)}}
今日盈亏
${{formatNum(dashboard.today_pnl, true)}}
合约持仓
{{dashboard.positions?.length||0}} 今日开仓数/当日可开仓数:{{dashboard.auto_today_opened}}/{{dashboard.auto_available_slots ?? '-'}}| 类型 | 币种 | 方向 | 入场价 | 当前价 | 数量 | 保证金 | 名义价值 | 浮盈 | ROI | 杠杆 | 强平价 | 操作 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{pos._contract_label || '永续'}} | {{cleanSymbol(pos.symbol)}} | {{pos.side}} | ${{formatNum(pos.entryPrice)}} | ${{formatNum(pos.current_price || pos.entryPrice)}} | {{pos.contracts}} | ${{formatNum(pos.initialMargin)}} | ${{formatNum(pos.notional)}} | ${{formatNum(pos.unrealizedPnl, true)}} | {{formatPct(pos.percentage)}} | {{pos.leverage}}x | {{pos.liquidationPrice? '$'+formatNum(pos.liquidationPrice):'-'}} |
暂无合约持仓
现货持仓
| 币种 | 数量 | 现价 | 价值 | 成本 | ROI |
|---|---|---|---|---|---|
| {{h.symbol}} | {{h.amount?.toFixed(6)}} | ${{formatNum(h.current_price)}} | ${{formatNum(h.value_usdt)}} | {{h.avg_cost?'$'+formatNum(h.avg_cost):'-'}} | {{formatPct(h.roi_pct)}} |
暂无现货持仓
实时行情
{{cleanSymbol(sym.split(':')[0])}}
{{t._label || '永续'}}
${{formatNum(t.last)}}
{{formatPct(t.percentage)}}
{{klineData.signals.signal}}
置信度: {{klineData.signals.confidence}}%
{{formatNum(klineData.indicators.rsi, false, 1)}}
{{formatNum(klineData.indicators.macd_diff, false, 4)}}
{{formatNum(klineData.indicators.adx, false, 1)}}
{{formatNum(klineData.indicators.bb_pct, false, 3)}}
{{formatNum(klineData.indicators.atr_pct, false, 2)}}%
{{formatNum(klineData.indicators.volume_ratio, false, 2)}}
{{formatNum(klineData.indicators.ema_9)}}
{{formatNum(klineData.indicators.ema_21)}}
AI走势预测
点击左侧按钮开始AI走势分析
AI正在分析K线与新闻数据...
预计耗时: {{isDeepModel() ? '10-20秒' : '2-5秒'}}
{{getActionText(prediction.result.action)}}
置信度 {{prediction.result.confidence}}%
${{formatNum(prediction.result.targetPrice)}}
${{formatNum(prediction.result.stopLoss)}}
${{formatNum(prediction.result.takeProfit)}}
{{prediction.result.leverage}}x
{{prediction.result.riskWarning}}
技术面分析
{{prediction.result.technical?.trend}}
{{key}}
{{val}}
${{formatNum(prediction.result.technical?.support)}}
${{formatNum(prediction.result.technical?.resistance)}}
基本面分析
{{prediction.result.fundamental?.summary}}
分析推理
{{i+1}}
{{step.title}}
{{step.description}}
AI决策记录
| 时间 | 币种 | 决策 | 置信度 | 入场价 | 止损 | 止盈 | 理由 |
|---|---|---|---|---|---|---|---|
| {{tzFormat(d.created_at, 'short')}} | {{d.symbol}} | {{d.decision}} | {{d.confidence}}% | {{d.entry_price?'$'+formatNum(d.entry_price):'-'}} | {{d.stop_loss?'$'+formatNum(d.stop_loss):'-'}} | {{d.take_profit?'$'+formatNum(d.take_profit):'-'}} | {{d.reasoning_short}} |
决策准确率
总体准确率
{{aiAccuracy.accuracy}}%
验证次数
{{aiAccuracy.total}}
待验证
{{aiAccuracy.pending_count}}
合约趋势分析
AI驱动的合约趋势分析,结合多周期技术指标与资金费率,输出趋势方向、关键价位与操作建议
统计数据加载中...
统计加载失败: {{trendStats.error}}
AI决策准确率 ⏳{{trendStats.accuracy.unverified}}条待验证
{{trendStats.accuracy.total_pct}}%
总体 ({{trendStats.accuracy.total_verified}}次验证, {{trendStats.accuracy.total_correct}}正确{{trendStats.accuracy.total_wrong}}错误)
{{trendStats.accuracy.week_pct}}%
近7天 ({{trendStats.accuracy.week_verified}}次, {{trendStats.accuracy.week_correct}}正确{{trendStats.accuracy.week_verified-trendStats.accuracy.week_correct}}错误)
{{k}}: {{v.pct}}%({{v.correct}}/{{v.total}})
{{k}}: {{v.pct}}%({{v.correct}}/{{v.total}})
最近验证: {{trendStats.accuracy.last_verified_at.substring(0,19)}}
上次预测验证
暂无验证记录
{{v.symbol}}
{{v.decision_time?.substring(5,16)}}
预测{{v.predicted}}
→
实际{{v.actual==='UP'?'↑':v.actual==='DOWN'?'↓':'→'}}{{v.change_pct!=null?v.change_pct.toFixed(2):'?'}}%
{{v.correct?'✅':'❌'}}
新闻资讯 {{trendStats.news.count}}条
{{trendStats.news.message}}
{{a.source}}
{{a.title}}
分析记录
暂无分析记录,点击"即刻分析"开始
{{item.symbol}}
{{item.trend_direction}}
{{item.source==='ai'?'定时':'手动'}}
置信度 {{item.confidence}}%
{{tzFormat(item.created_at, 'short')}}
选择左侧记录查看详情
{{trendDetail.symbol}} 趋势分析 {{trendDetail.trend_direction}}
{{tzFormat(trendDetail.created_at, 'datetime')}}置信度
{{trendDetail.confidence}}%
当前价
${{trendDetail.current_price?.toLocaleString('en-US', {minimumFractionDigits:2, maximumFractionDigits:2})}}
🟢 支撑
${{Number(trendDetail.key_levels?.support || trendDetail.key_support || 0).toLocaleString('en-US', {minimumFractionDigits:2, maximumFractionDigits:2})}}
🔴 阻力
${{Number(trendDetail.key_levels?.resistance || trendDetail.key_resistance || 0).toLocaleString('en-US', {minimumFractionDigits:2, maximumFractionDigits:2})}}
AI决策分析
📊 趋势阶段
{{trendDetail.trend_phase}}
🔄 反转信号
{{trendDetail.reversal_signal}}
📌 操作建议
{{trendDetail.suggested_action}}
分析理由
{{trendDetail.analysis_text}}
风险提示
{{trendDetail.risk_warning}}
最近K线
{{trendDetail.kline_summary}}
技术指标快照
{{tf}}
{{typeof val === 'string' ? val : JSON.stringify(val, null, 2)}}
开仓
可用:{{ dashboard.account?.available_balance ? dashboard.account.available_balance.toFixed(2) : '—' }} USDT${{ tradePrice.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2}) }}
⚠ 最低名义值 {{ tradeMinInfo.min_notional }} USDT({{ tradeForm.leverage }}x 最低保证金 {{ (tradeMinInfo.min_notional / tradeForm.leverage).toFixed(2) }} USDT)
— 当前不足!
✅
合约平仓
{{ batchPositions.length }} 批次
暂无合约持仓
加载中...
{{pos.contract_label}}
{{pos.symbol}}
{{pos.side}}
数量
{{pos.contracts}}
入场价
${{pos.entry_price.toLocaleString('en-US', {minimumFractionDigits:2, maximumFractionDigits:2})}}
现价
${{pos.current_price.toLocaleString('en-US', {minimumFractionDigits:2, maximumFractionDigits:2})}}
杠杆
{{pos.leverage}}x
保证金
{{pos.margin.toFixed(2)}} U
名义值
${{pos.notional.toLocaleString('en-US', {minimumFractionDigits:2, maximumFractionDigits:2})}}
浮盈
${{pos.unrealized_pnl.toFixed(2)}}
({{pos.roi_pct.toFixed(2)}}%)
强平价 ${{pos.liquidation_price.toLocaleString('en-US', {minimumFractionDigits:2, maximumFractionDigits:2})}}
/ {{pos.contracts}}
现货交易
可用:{{ dashboard.spot_balance?.free_usdt ? dashboard.spot_balance.free_usdt.toFixed(2) : '—' }} USDT${{ spotPrice.toLocaleString('en-US', {minimumFractionDigits: 2, maximumFractionDigits: 2}) }}
持有量
{{ spotHolding.total }} {{ spotHolding.currency }}
市值
{{ spotHolding.value_usdt.toFixed(2) }} USDT
当前无 {{ spotForm.symbol.split('/')[0] }} 持仓
风控状态
紧急停止
{{riskData.emergency_stop?'🚨 已启用':'✅ 正常'}}
持仓数量
{{riskData.open_positions||0}}
总保证金
${{formatNum(riskData.total_margin)}}
连续亏损
{{riskData.consecutive_losses||0}} 笔
风控事件日志
| 时间 | 类型 | 币种 | 详情 | 级别 |
|---|---|---|---|---|
| {{tzFormat(e.created_at, 'datetime')}} | {{e.event_type}} | {{e.symbol||'-'}} | {{e.detail}} | {{e.severity}} |
暂无风控事件
调整风控拦截规则参数,修改后点击保存立即生效
{{group.label}}
{{rule.label}}
{{rule.desc}}
{{rule.unit}}
{{rule.unit}}
自动平仓规则
配置持仓自动止盈、止损、移动止盈和强平保护的触发规则
{{ group.label }}
⚡ 移动止盈已启用,本规则降为保底线
⚡ 固定止盈已作为保底线
{{ group._notice }}
{{ rule.unit }}
{{ rule.unit }}
{{ rule.label }}
{{ rule.desc }}
自动开仓
多因子评分自动扫描 + AI决策 + 阈值判定开仓
{{ autoOpenEnabled ? '● 运行中' : '○ 已停止' }}
{{ autoOpenStats.total || 0 }}
总决策
{{ autoOpenStats.opened || 0 }}
成功开仓
{{ autoOpenStats.failed || 0 }}
下单失败
{{ autoOpenStats.blocked || 0 }}
风控拦截
{{ autoOpenStats.suggested || 0 }}
建议开仓
{{ autoOpenStats.avg_score ? autoOpenStats.avg_score.toFixed(1) : '-' }}
平均系数
监控币种
{{ symKey }}
x
USDT
选择币种
USDT
{{ group.label }}
{{ rule.unit }}
{{ rule.unit }}
{{ rule.label }}
{{ rule.desc }}
总交易
{{statsData.total_closed_trades||0}}
胜率
{{statsData.win_rate||0}}%
总盈亏
${{formatNum(statsData.total_pnl, true)}}
盈亏比
{{statsData.profit_factor||0}}
| 时间 | 币种 | 方向 | 动作 | 成交价 | 数量 | 杠杆 | 保证金 | 手续费 | 盈亏 | 单号 | 成交动因 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{tzFormat(t.created_at, 'short')}} | {{t.symbol}} | {{t.side}} | {{t.action==='OPEN'?'开仓':'平仓'}} | ${{formatNum(t.action==='CLOSE'?t.exit_price:t.entry_price)}} | {{t.quantity}} | {{t.leverage?t.leverage+'x':'-'}} | {{t.margin!=null?'$'+formatNum(t.margin):'-'}} | {{t.fee?'$'+formatNum(t.fee,false,4):'-'}} | {{t.pnl!=null?'$'+formatNum(t.pnl, true):'-'}} | {{t.order_id||'-'}} | {{reasonLabel(t)}} |
暂无交易记录
共 {{tradeTotal}} 条 / {{tradeTotalPages}} 页
| 周期 | 平仓笔数 | 盈利 | 亏损 | 胜率 | 总盈亏 | 总手续费 | 盈亏比 |
|---|---|---|---|---|---|---|---|
| {{s.period}} | {{s.closes}} | {{s.wins}} | {{s.losses}} | {{s.win_rate}}% | ${{formatNum(s.total_pnl, true)}} | ${{formatNum(s.total_fee, false, 4)}} | {{s.profit_factor != null ? s.profit_factor : '∞'}} |
暂无汇总数据
{{toast.message}}
全自动开平仓
{{settingsData.auto_trading.enabled ? '运行中' : '已停止'}}
关闭后立即停止新开仓(下轮巡检生效,≤5分钟);已有持仓的移动止盈、交易所止损/止盈挂单、强平保护继续运行
现有持仓明细
暂无持仓
{{pos.symbol}}
{{pos.side}}
{{pos.quantity}} @ {{pos.entry_price.toFixed(4)}}
标记 {{pos.mark_price.toFixed(4)}} |
{{pos.pnl >= 0 ? '+' : ''}}{{pos.pnl.toFixed(4)}}
| SL {{pos.stop_loss.toFixed(4)}}
| TP {{pos.take_profit.toFixed(4)}}
{{pos.monitored ? '监控中' : '已排除'}}
核心交易参数
直接写入 auto_params.json(与 TG 指令「设置 xxx N」等价),auto_trader 每轮扫描自动热重载,免重启生效。
总开关 enabled / 币种列表 symbols 不在此处,请用 TG 指令管理。
总开关 enabled / 币种列表 symbols 不在此处,请用 TG 指令管理。
{{autoParamsMsg}}
加载中…
{{group.title}}
运行状态
加载中…
服务:
{{autoTraderStatus.status==='active' ? '● 运行中' : '○ ' + autoTraderStatus.status}}
开仓开关:
{{(autoTraderStatus.switches&&autoTraderStatus.switches.effective) ? '生效' : '未生效'}}
今日交易:
{{autoTraderStatus.today_trades}} / {{autoTraderStatus.daily_max_trades}}
⏸ 冷却中
最近扫描:{{autoTraderStatus.state_updated_at || '—'}}
自动交易持仓({{autoTraderStatus.positions.length}})
{{p.symbol}}
{{p.side}}
{{p.qty}} @ {{(+p.entry).toFixed(4)}}
{{p.leverage}}x
| SL {{(+p.stop_loss).toFixed(4)}} / TP {{(+p.take_profit).toFixed(4)}}
监控币种生效参数(自动开仓页配置)
{{sym.replace('/USDT','')}}
{{cfg.direction}} {{cfg.leverage}}x ${{cfg.margin_usdt}} {{cfg.scan_interval}}min
最近信号 / 动作
AI总开关
{{settingsData.ai.enabled ? '已开启' : '已关闭'}}
关闭后,所有AI功能将停止工作,系统将仅使用常规规则进行交易
模型选择
API Provider 管理
本地 LM Studio
模块AI模型配置
每个模块可独立指定Provider和模型,未指定时跟随全局主力Provider
{{mod.name}}
自定义
{{aiTestDetail.success ? '✅ 测试成功' : '❌ 测试失败'}}
Provider:{{aiTestDetail.provider_name || aiTestDetail.provider}}
模型:{{aiTestDetail.model}}
延迟:{{aiTestDetail.latency_ms}}ms
Token:输入{{aiTestDetail.tokens.prompt}} / 输出{{aiTestDetail.tokens.completion}}
回复:{{aiTestDetail.response}}
错误:{{aiTestDetail.error}}
通用参数
自动开仓 AI 配置
{{ settingsData.ai.modules?.auto_open?.provider
? (settingsData.ai.providers.find(p=>p.id===settingsData.ai.modules.auto_open.provider)?.name || settingsData.ai.modules.auto_open.provider)
+ ' / '
+ (settingsData.ai.modules.auto_open.model || settingsData.ai.providers.find(p=>p.id===settingsData.ai.modules.auto_open.provider)?.model || '-')
: '跟随全局 — '
+ (settingsData.ai.providers.find(p=>p.id===settingsData.ai.provider)?.name || settingsData.ai.provider)
+ ' / '
+ (settingsData.ai.providers.find(p=>p.id===settingsData.ai.provider)?.model || '-')
}}
前往修改 →
交易参数
现货交易
风控规则
{{riskLabel(k)}}
推送通知管理
管理 Telegram 推送通知任务的启用状态和执行频率。修改后保存将自动同步到定时任务调度器。
执行频率格式说明
格式:分 时 日 月 周(5个字段,空格分隔)
*/5 * * * * | 每5分钟 |
*/2 * * * * | 每2分钟 |
0 * * * * | 每小时整点 |
0 8 * * * | 每天早上8点 |
0 0,6,12,18 * * * | 每天0/6/12/18点 |
0 8 * * 1-5 | 周一至周五早8点 |
30 */6 * * * | 每6小时的第30分钟 |
特殊符号:*任意值 /N每隔N ,枚举 -范围
{{ item.label || key }}
{{ notifBadgeText(key) }}
{{ item.description }}
显示与时区
日志
用户管理
{{u.role}}
{{passwordMsg}}