{# 趋势户:开仓类型 → 自动 trade_style;日内户:仍选手动 trend/swing #} {% macro order_entry_type_fields() -%} {% if order_entry_profile == 'trend_div' %} 开仓类型 {% for opt in entry_model_options %} {{ opt.label }} {% endfor %} 趋势单 {% else %} 趋势单 波段单 {% endif %} {%- endmacro %}