{% extends "base.html" %} {% block title %}手续费配置 - 国内期货监控系统{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
默认使用 CTP 柜台 费率(连接后自动同步,与 SimNow/期货公司一致)。
已缓存: {% if fee_counts.get('ctp') %}CTP {{ fee_counts.ctp }}{% endif %} {% if fee_counts.get('local') %}local {{ fee_counts.local }}{% endif %} {% if fee_counts.get('json') %}json {{ fee_counts.json }}{% endif %} {% if fee_counts.get('manual') %}manual {{ fee_counts.manual }}{% endif %}
{% endif %}仅「本地数据源」时使用
| 品种 | 来源 | 交易所 | 乘数 | 开仓(元/手) | 开仓(比例) | 平昨(元/手) | 平昨(比例) | 平今(元/手) | 平今(比例) | 更新 | 操作 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ r.product }} | {{ r.source or 'local' }} | {{ (r.updated_at or '')[:16] }} | |||||||||
| 暂无费率,请连接 CTP 后同步 | |||||||||||
公式:单边 = 固定(元/手)×手数 + 比例×价格×乘数×手数;往返 = 开仓 + 平仓(平今/平昨自动判断)。
{% if fee_source_mode == 'ctp' and ctp_connected and not fee_counts.get('ctp') %}
当前无 CTP 费率缓存,请点击「从 CTP 同步费率」。
{% endif %}