diff --git a/ft-app/app/templates/admin.html b/ft-app/app/templates/admin.html
index fa5e71f..678d5c0 100644
--- a/ft-app/app/templates/admin.html
+++ b/ft-app/app/templates/admin.html
@@ -118,25 +118,38 @@
{% if products %}
-
-
- | 代码 | 名称 | 交易所 | 每点 | 合约数 | 操作 |
- {% for p in products %}
-
- | {{ p.code }} |
- {{ p.name }} |
- {{ exchange_names.get(p.exchange, p.exchange) }} |
- {{ p.point_value }} |
- {{ p.contracts|length }} |
-
-
- |
-
- {% endfor %}
-
+ {% for ex in exchanges %}
+ {% set ex_products = products | selectattr('exchange', 'equalto', ex[0]) | list %}
+ {% if ex_products %}
+
+
+
+
+ | 代码 | 名称 | 每点 | 合约数 | 操作 |
+ {% for p in ex_products %}
+
+ | {{ p.code }} |
+ {{ p.name }} |
+ {{ p.point_value }} |
+ {{ p.contracts|length }} |
+
+
+ |
+
+ {% endfor %}
+
+
+ {% endif %}
+ {% endfor %}
{% else %}
暂无品种,请先新建。
{% endif %}
@@ -146,16 +159,22 @@
{% if products %}
{# ── Add contract form ── #}
-