<details class="tip-collapse order-rule-collapse">
    <summary class="tip-collapse-summary">开仓规则说明</summary>
    <div class="tip-collapse-body rule-tip" id="order-rule-tip">
        规则:最多 {{ max_active_positions }} 仓;BTC {{ btc_leverage }}x / 山寨 {{ alt_leverage }}x;
        本交易日开仓 {{ opens_today }}{% if daily_open_hard_limit > 0 %} / 硬上限 {{ daily_open_hard_limit }}{% endif %}(AI 提醒 {{ daily_open_alert_threshold }});
        {% if can_trade %}可开仓{% else %}不可开仓(持仓已满,单日开仓达上限,或未到北京时间 {{ reset_hour }}:00){% endif %};
        人工开仓盈亏比不得低于 {{ manual_min_planned_rr }}:1
    </div>
</details>
<details class="tip-collapse order-sizing-collapse">
    <summary class="tip-collapse-summary">计仓与保本说明</summary>
    <div class="tip-collapse-body rule-tip">
        计仓模式:<strong>{{ position_sizing_mode_label }}</strong>(仅 .env <code>POSITION_SIZING_MODE</code>,须无仓后重启)
        {% if position_sizing_mode == 'full_margin' %}
        ｜全仓:合约可用×{{ full_margin_buffer_ratio }},BTC/ETH {{ btc_leverage }}x,其它 {{ alt_leverage }}x,单仓;张数按交易所精度
        {% else %}
        ｜以损定仓:风险 {{ risk_percent }}%
        {% endif %}
        ｜移动保本:下单可勾选关闭;开启时 {{ breakeven_rr_trigger }}R 触发(每 1R 阶梯上移),偏移 {{ breakeven_offset_pct }}%
    </div>
</details>
