{{ initialLoading ? '页面加载中...' : '回测计算中...' }}

策略回测

回测配置

~
{{ loading ? '回测中...' : '开始回测' }}
{{ error }}

回测指标

{{ saving ? '保存中...' : '💾 保存回测结果' }} {{ saveMsg }}
初始资金
{{ result.metrics.initial_capital.toFixed(0) }}
期末资金
{{ result.metrics.final_capital.toFixed(0) }}
总收益率
{{ result.metrics.total_return_pct.toFixed(2) }}%
年化收益
{{ result.metrics.annual_return_pct.toFixed(2) }}%
最大回撤
{{ result.metrics.max_drawdown_pct.toFixed(2) }}%
胜率
{{ result.metrics.win_rate_pct.toFixed(1) }}%
交易次数
{{ result.metrics.total_trades }}
回测区间:{{ result.period }}

收益曲线

交易明细 ({{ result.trades.length }} 笔)

历史记录 ({{ history.length }} 条)

{{ historyLoading ? '加载中...' : '🔄 刷新' }}
{{ historyError }}
暂无回测记录

{{ item.fund_code }} {{ item.fund_name }} | {{ item.strategy_name }}

📈 查看图表 📋 交易明细 {{ deletingId === item.id ? '删除中...' : '🗑️ 删除' }}
总收益率
{{ item.total_return_pct.toFixed(2) }}%
年化收益
{{ item.annual_return_pct.toFixed(2) }}%
最大回撤
{{ item.max_drawdown_pct.toFixed(2) }}%
胜率
{{ item.win_rate_pct.toFixed(1) }}%
交易次数
{{ item.total_trades }}
回测区间:{{ item.period }} | 保存时间:{{ item.created_at }}
图表加载中...
{{ chartError }}
🐞 信号调试面板({{ chartDebugSignals.length }} 条)
明细加载中...
{{ tradesError }}
买入批次:{{ tradesDetail.trade_lots.length }} 笔