{% extends "base.html" %} {% block title %}统计分析 - 国内期货监控系统{% endblock %} {% block content %}
| 品种 | 交易次数 | 止盈次数 | 胜率 |
|---|---|---|---|
| {{ s.symbol_name or s.symbol }} | {{ s.cnt }} | {{ s.wins }} | {{ round(s.wins / s.cnt * 100, 2) if s.cnt else 0 }}% |
| 暂无数据 | |||
| 品种 | 笔数 | 累计手续费(元) |
|---|---|---|
| {{ f.symbol_name or f.symbol }} | {{ f.cnt }} | {{ round(f.total_fee, 2) }} |
| 暂无手续费数据 | ||
| 类型 | 交易次数 | 止盈次数 | 胜率 |
|---|---|---|---|
| {{ t.monitor_type }} | {{ t.cnt }} | {{ t.wins }} | {{ round(t.wins / t.cnt * 100, 2) if t.cnt else 0 }}% |
| 暂无数据 | |||
| 方向 | 交易次数 | 止盈次数 | 胜率 |
|---|---|---|---|
| {{ '做多' if d.direction == 'long' else '做空' }} | {{ d.cnt }} | {{ d.wins }} | {{ round(d.wins / d.cnt * 100, 2) if d.cnt else 0 }}% |
| 暂无数据 | |||
| 品种 | 方向 | 毛盈亏 | 手续费 | 净盈亏 | 结果 | 时间 |
|---|---|---|---|---|---|---|
| {{ r.symbol_name or r.symbol }} | {{ '做多' if r.direction == 'long' else '做空' }} | {{ r.pnl if r.pnl is not none else '-' }} | {{ r.fee if r.fee is not none else '-' }} | {% if r.pnl_net and r.pnl_net > 0 %}{{ r.pnl_net }} {% elif r.pnl_net and r.pnl_net < 0 %}{{ r.pnl_net }} {% else %}-{% endif %} | {% if r.result == '止盈' %}止盈 {% elif r.result == '止损' %}止损 {% else %}{{ r.result or '-' }}{% endif %} | {{ r.close_time[:16] if r.close_time else (r.created_at[:16] if r.created_at else '') }} |
| 暂无数据 | ||||||