{% extends "base.html" %} {% block title %}{{ contract }}{% endblock %} {% block heading %}{{ contract }}{% endblock %} {% block breadcrumb %}行情数据 / {{ contract }}{% endblock %} {% block content %}
日线数据

振幅 = 近 5 日 (最高−最低) 均值取整 · 点击振幅值查看计算过程

共 {{ total_rows }} 条
{% if page == 1 and next_date %}
📅 次日预测 {{ next_date }} {{ next_weekday }} 预计振幅 {{ next_amp }}
{% endif %}
{% for row in rows %} {% endfor %}
日期星期开盘收盘最高最低波幅5日均振幅
{{ row.date }} {{ row.weekday }} {{ row.open }} {{ row.close }} {{ row.high }} {{ row.low }} {{ row.diff }} {% if row.has_amp %} {{ row.amp_5d }} {% else %} {% endif %}
{% if total_pages > 1 %}
{% if page > 1 %} ← 上一页 {% endif %} {% for p in range(1, total_pages + 1) %} {% if p == page %} {{ p }} {% elif p <= 3 or p > total_pages - 3 or (p >= page - 1 and p <= page + 1) %} {{ p }} {% elif p == 4 or p == total_pages - 3 %} {% endif %} {% endfor %} {% if page < total_pages %} 下一页 → {% endif %}
{% endif %} {% if pos_dates %}
持仓排名 · 前20
{% set types = [('volume', '成交量'), ('long', '多单持仓'), ('short', '空单持仓')] %} {% for dtype, dlabel in types %}
{% for row in pos_data[dtype] %} {% endfor %} {% if dtype != 'volume' %} {% endif %}
{{ dlabel }}
#会员持仓增减
{{ row.rank }} {{ row.institution }} {{ row.value }} {% if row.change > 0 %}+{% endif %}{{ row.change }}
增减合计 {% if pos_totals[dtype] > 0 %}+{% endif %}{{ pos_totals[dtype] }}
{% endfor %}
{% endif %} {% endblock %}