📊 仪表盘

🔄 刷新
账户余额
${{ 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) }}%