{% extends "base.html" %} {% block content %} {% set board = card.trend_board %} {% if board.rank is not none or board.subtype %}
{% if board.rank is not none %}{{ '满级' if board.rank == board.max_rank and board.max_rank > 0 else '0级' if board.rank == 0 else '等级 ' ~ board.rank }} · {{ board.rank }}/{{ board.max_rank }}{% endif %} {% if board.subtype %}{{ board.subtype }}{% endif %}
{% endif %} {% for period, chart in trend_charts %}

{{ period.title }}

{{ (period.points[0].time|beijing).strftime('%m-%d') }} — {{ (period.points[-1].time|beijing).strftime('%m-%d') }}
成交量 {{ '{:,}'.format(period.volume) }}均价 {{ '%.2f'|format(period.average) if period.average is not none else '—' }} 白金
{% if period.volume %} 均价 / 白金 {% for tick in chart.prices %}{{ tick.text }}{% endfor %} {% for point in chart.dots %}{% endfor %} 成交量 {{ chart.volume_max }} 0 {% for bar in chart.bars %}{% endfor %} {% for tick in chart.ticks %}{{ tick.text }}{% endfor %} {% else %}

暂无成交记录

{% endif %}
{% endfor %} {% endblock %}