{{ tt('futures.unified.riskBanner.warnKicker', '⚠ 风险提示') }}
{{ tt('futures.unified.riskBanner.openKicker', '已开放') }}
{{ tt('futures.unified.risk.title', '账户风控') }} · {{ tt('futures.unified.risk.modifyLimit', '修改上限') }}
{{ riskLoadError ? tt('futures.unified.risk.skeletonFail', '加载失败:' + riskLoadError + ',请点击右上「刷新」重试', { err: riskLoadError }) : tt('futures.unified.risk.skeletonLoading', '正在加载风控数据…') }}
{{ tt('futures.unified.nav.newEdit', '新建 / 编辑策略') }}
{{ tt('futures.unified.workbench.colName', '名称') }}{{ tt('futures.unified.workbench.colDirection', '方向') }}{{ tt('futures.unified.workbench.colLeverage', '杠杆') }}{{ tt('futures.unified.workbench.colScope', '范围') }}{{ tt('futures.unified.workbench.colStatus', '状态') }} {{ tt('futures.unified.workbench.colMargin', '保证金') }}{{ tt('futures.unified.workbench.colMarketFilter', '大盘过滤') }}{{ tt('futures.unified.workbench.colDirectionGate', '方向门(100m)') }}{{ tt('futures.unified.workbench.colUpdated', '更新') }}{{ tt('futures.unified.workbench.colOps', '操作') }}
{{ c.name || ('#' + c.id) }} {{ fmtDirection(c) }} {{ (c.leverage || 3) }}x {{ fmtScope(c.monitorScope) }} {{ c.status === 1 ? tt('futures.common.running', '运行中') : tt('futures.common.stopped', '已停止') }} {{ c.positionAmount }} USDT {{ c.marketFilterEnabled ? (c.marketFilterSymbol || 'BTC') : tt('futures.unified.workbench.marketFilterOff', '关') }} {{ fmtDirectionGate(c) }} {{ fmtTime(c.updatedAt || c.createdAt) }}
{{ loading ? tt('futures.common.loading', '加载中...') : (cfgError || tt('futures.unified.workbench.empty', '暂无策略,点击上方「新建 / 编辑策略」开始配置')) }}
{{ tt('futures.unified.positions.note', '标记价与浮盈每次刷新从交易所拉取,与持仓页口径一致') }}
{{ tt('futures.unified.positions.colStrategy', '策略') }}{{ tt('futures.unified.positions.colSymbol', '合约') }}{{ tt('futures.unified.positions.colDirection', '方向') }}{{ tt('futures.unified.positions.colLeverage', '杠杆') }}{{ tt('futures.unified.positions.colMargin', '保证金') }} {{ tt('futures.unified.positions.colAvgPrice', '开仓均价') }}{{ tt('futures.unified.positions.colMarkPrice', '标记价') }}{{ tt('futures.unified.positions.colPnlUsdt', '浮盈 USDT') }}{{ tt('futures.unified.positions.colPnlPct', '浮盈%') }} {{ tt('futures.unified.positions.colStopLoss', '止损价') }}{{ tt('futures.unified.positions.colStopProfit', '止盈价') }}{{ tt('futures.unified.positions.colOpenedAt', '开仓时间') }}{{ tt('futures.unified.positions.colOps', '操作') }}
{{ p.strategyName || (p.configId ? ('#' + p.configId) : '—') }} {{ p.symbol }} {{ p.positionSide === 'SHORT' ? tt('futures.common.short', '做空') : tt('futures.common.long', '做多') }} {{ (p.leverage || '—') + (p.leverage ? 'x' : '') }} {{ fmtUsdt(p.marginAmount) }} {{ fmtNum(p.averagePrice) }} {{ fmtNum(p.currentPrice) }} {{ fmtSignedUsdt(p.unrealizedPnlUsdt) }} {{ fmtPct(p.unrealizedPnlPct) }} {{ fmtNum(p.stopLossPrice) }} {{ fmtNum(p.stopProfitPrice) }} {{ fmtTime(p.openedAt) }}
{{ posLoading ? tt('futures.common.loading', '加载中...') : tt('futures.unified.positions.empty', '当前没有持仓,策略启动后将根据信号自动开仓') }}
{{ tt('futures.unified.history.note', '共 ' + histTotal + ' 笔 · 手续费与资金费在平仓后约 1 分钟内自动结算', { n: histTotal }) }}
{{ tt('futures.unified.history.colStrategy', '策略') }}{{ tt('futures.unified.history.colSymbol', '合约') }}{{ tt('futures.unified.history.colDirection', '方向') }}{{ tt('futures.unified.history.colLeverage', '杠杆') }}{{ tt('futures.unified.history.colMargin', '保证金') }} {{ tt('futures.unified.history.colOpenClosePrice', '开/平价') }}{{ tt('futures.unified.history.colRealizedPnl', '已实现盈亏') }}{{ tt('futures.unified.history.colReturn', '收益率') }} {{ tt('futures.unified.history.colCommission', '手续费') }}{{ tt('futures.unified.history.colFunding', '资金费') }}{{ tt('futures.unified.history.colNetPnl', '净盈亏') }} {{ tt('futures.unified.history.colReason', '原因') }}{{ tt('futures.unified.history.colClosedAt', '平仓时间') }}
{{ h.strategyName || (h.configId ? ('#' + h.configId) : '—') }} {{ h.symbol }} {{ h.positionSide === 'SHORT' ? tt('futures.common.short', '做空') : tt('futures.common.long', '做多') }} {{ h.leverage ? h.leverage + 'x' : '—' }} {{ fmtUsdt(h.marginAmount) }} {{ fmtNum(h.avgBuyPrice) }} → {{ fmtNum(h.sellAvgPrice) }} {{ fmtSignedUsdt(h.realizedPnl) }} {{ fmtPct(h.realizedPnlPct) }} {{ fmtUsdt(h.commission) }} {{ fmtFunding(h.fundingAmount) }} {{ h.realizedPnlAfterFunding != null ? fmtSignedUsdt(h.realizedPnlAfterFunding) : tt('futures.unified.history.settling', '结算中…') }} {{ fmtCloseReason(h.closedReason) }} {{ tt('futures.unified.history.needCheck', '需核对') }} {{ fmtTime(h.closedAt) }}
{{ histLoading ? tt('futures.common.loading', '加载中...') : tt('futures.unified.history.empty', '暂无平仓记录') }}
{{ tt('futures.unified.history.pageInfo', '第 ' + histPage + ' / ' + histTotalPages + ' 页', { page: histPage, total: histTotalPages }) }}
{{ tt('futures.unified.analytics.note', '净盈亏含手续费,资金费结算后并入 · 按平仓时间筛选') }}
| {{ tt('futures.unified.analytics.to', '至') }}
{{ anaLoading ? tt('futures.common.loading', '加载中...') : tt('futures.unified.analytics.empty', '暂无已平仓记录,策略产生平仓后将在此汇总盈亏分析') }}