{% extends "base.html" %} {% block title %}下单监控 - 国内期货监控系统{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{{ trading_mode_label }} {% if ctp_status.connected %}CTP 已连接{% else %}CTP 未连接{% endif %} {{ risk_status.status_label }} 权益 {{ '%.2f'|format(capital) }} {% if ctp_account.available is defined and ctp_status.connected %} 可用 {{ '%.2f'|format(ctp_account.available) }} {% endif %}
断线自动重连 · 开盘前 30 分钟自动连接

期货下单

计仓 {{ sizing_mode_label }} {% if sizing_mode == 'fixed' %} · {{ fixed_lots }} 手 {% elif sizing_mode in ('amount', 'risk') %} · {{ '%.0f'|format(fixed_amount) }} 元 {% endif %}

当前持仓

开仓委托先显示「挂单中」,柜台成交后写入监控;超过 {{ pending_order_timeout_min }} 分钟未成交自动撤单,可手动撤单。

加载本地持仓…

品种推荐

最大手数 = floor(权益 × 保证金上限 {{ max_margin_pct }}% ÷ 1手保证金);当前权益 {{ '%.2f'|format(capital) }} 元。 {% if sizing_mode == 'fixed' %}仅显示最大手数 ≥ {{ fixed_lots }} 手的品种。{% endif %} 保证金优先读取 CTP 柜台合约信息。 {% if recommend_updated_at %}每日后台更新 · 最近 {{ recommend_updated_at }}{% else %}等待今日后台刷新…{% endif %}

走势:近一周日线,近3日重叠≥70%为震荡;跳空=今日开盘 vs 昨日收盘。成交量为昨日成交手数,成交额=成交量×昨收×合约乘数。支持按走势/跳空/成交量/振幅排序,可按行业筛选。

{% if recommend_rows %} {% for r in recommend_rows %} {% endfor %} {% else %} {% endif %}
品种交易所行业走势是否跳空 参考价昨日收盘今日开盘 昨日涨跌昨日振幅成交量(手)成交额 1手保证金1手手续费最大手数状态
{{ r.name }} {{ r.main_code or r.ths }} {{ r.exchange }} {{ r.category or '—' }} {% if r.trend_label and r.trend_label != '—' %} {% if r.trend_transition %}★ {% endif %}{{ r.trend_label }} {% else %}—{% endif %} {% if r.gap_label and r.gap_label != '—' %} {{ r.gap_label }} {% else %}—{% endif %} {% if r.price %}{{ r.price }}{% else %}—{% endif %} {% if r.prev_close is not none %}{{ r.prev_close }}{% else %}—{% endif %} {% if r.today_open is not none %}{{ r.today_open }}{% else %}—{% endif %} {% if r.yesterday_change is not none %} {{ '%+.4f'|format(r.yesterday_change) }}{% if r.yesterday_change_pct is not none %} ({{ '%+.2f'|format(r.yesterday_change_pct) }}%){% endif %} {% else %}—{% endif %} {% if r.yesterday_amplitude_pct is not none %}{{ '%.2f'|format(r.yesterday_amplitude_pct) }}%{% else %}—{% endif %} {% if r.volume is not none %}{{ r.volume }}{% else %}—{% endif %} {% if r.turnover is not none %}{{ '%.0f'|format(r.turnover) }}{% else %}—{% endif %} {% if r.margin_one_lot %}{{ r.margin_one_lot }}{% if r.margin_source == 'ctp' %} (柜台){% endif %}{% else %}—{% endif %} {% if r.open_fee_one_lot is defined and r.open_fee_one_lot is not none %}{{ r.open_fee_one_lot }}{% else %}—{% endif %} {% if r.max_lots is not none and r.max_lots > 0 %}{{ r.max_lots }}{% else %}—{% endif %} {{ r.status_label }}
等待今日后台刷新推荐…
{% endblock %} {% block extra_js %} {% endblock %}