📊 仪表盘
账户余额
${{ account.balance?.toFixed(2) || '0.00' }}
总资产
${{ account.total_assets?.toFixed(2) || '0.00' }}
总盈亏
{{ account.total_pnl>=0?'+':'' }}${{ account.total_pnl?.toFixed(2) || '0.00' }}
收益率
{{ account.total_pnl_pct?.toFixed(2) || '0.00' }}%
📈 BTC/USDT 行情
Loading chart...
⚡ 策略管理
| 策略名 | 类型 | 状态 | 参数 | 操作 |
|---|---|---|---|---|
| {{ s.name }} | {{ s.class }} | {{ s.is_running?'运行中':'已停止' }} | {{ JSON.stringify(s.params) }} |
|
💰 交易
可用资金
${{ account.available_balance?.toFixed(2) || '0.00' }}
持仓数量
{{ Object.keys(account.positions||{}).length }}
持仓
| 币种 | 数量 | 均价 | 现价 | 盈亏 |
|---|---|---|---|---|
| {{ symbol }} | {{ p.quantity?.toFixed(4) }} | ${{ p.avg_price?.toFixed(2) }} | ${{ p.current_price?.toFixed(2) }} | {{ p.pnl?.toFixed(2) }} |
下单
📈 行情
| 交易对 | 价格 | 24h涨跌 |
|---|---|---|
| {{ t.symbol }} | ${{ t.last?.toFixed(2) }} | {{ t.change>=0?'+':'' }}{{ t.change?.toFixed(2) }}% |