Bitget API 密钥未配置,请在配置文件中设置 BITGET_API_KEY 和 BITGET_API_SECRET
实盘交易服务未启用(REAL_TRADING_ENABLED=false),仅可查看账户数据,无法执行交易
账户余额
${{ account.current_balance ? account.current_balance.toLocaleString() : '0' }}
可用: ${{ account.available ? account.available.toLocaleString() : '0' }}
已用保证金
${{ account.used_margin ? account.used_margin.toLocaleString() : '0' }}
持仓价值
${{ account.total_position_value ? account.total_position_value.toLocaleString() : '0' }}
总盈亏
${{ stats.total_pnl ? stats.total_pnl.toLocaleString() : '0' }}
{{ stats.total_trades || 0 }} 笔交易
胜率
{{ stats.win_rate ? stats.win_rate.toFixed(1) : '0' }}%
盈利交易
{{ stats.winning_trades || 0 }}
亏损交易
{{ stats.losing_trades || 0 }}
活跃订单
{{ activeOrders.length }}
| 交易对 |
方向 |
持仓量 |
入场价 |
标记价 |
杠杆 |
保证金 |
未实现盈亏 |
盈亏比例 |
强平价格 |
| 交易对 |
方向 |
类型 |
价格 |
数量 |
成交数量 |
状态 |
时间 |
| {{ formatSymbol(pos.symbol) }} |
{{ pos.side === 'long' ? '做多' : '做空' }}
|
{{ pos.contracts || '0' }} |
${{ pos.entryPrice ? parseFloat(pos.entryPrice).toLocaleString() : '-' }} |
${{ pos.markPrice ? parseFloat(pos.markPrice).toLocaleString() : '-' }} |
{{ pos.leverage }}x |
${{ pos.initialMargin ? parseFloat(pos.initialMargin).toFixed(2) : '-' }} |
{{ parseFloat(pos.unrealizedPnl || 0) >= 0 ? '+' : '' }}${{ parseFloat(pos.unrealizedPnl || 0).toFixed(2) }}
|
{{ (pos.percentage || 0).toFixed(2) }}%
|
${{ pos.liquidationPrice ? parseFloat(pos.liquidationPrice).toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2}) : '-' }} |