{# Copyright (c) 2025-2026 马建军. All rights reserved. 专有软件,详见 LICENSE.zh-CN.txt #} {% extends "base.html" %} {% block title %}策略交易 - 国内期货 · 交易复盘系统{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
趋势回调
顺势加仓(滚仓)
运行中 #{{ active_trend.id }} · {{ active_trend.symbol_name or active_trend.symbol }} · {{ '做多' if active_trend.direction == 'long' else '做空' }} · {{ active_trend.period_label or '15分' }}
已开 {{ active_trend.lots_open or 0 }} / {{ active_trend.target_lots }} 手 · 止损 {{ active_trend.stop_loss }} · 止盈 {{ active_trend.take_profit }}
后台按档位自动补仓,触及止盈或手动结束。
{% else %}设置止损/补仓边界/止盈 → 预览 → 确认执行首仓;后续自动分档加仓。
{% endif %}当前为「{{ sizing_mode_label }}」模式,滚仓不可用。请在系统设置切换为固定金额。
{% endif %} {% if monitors %}风险预算(固定金额):{{ '%.0f'|format(fixed_amount) }} 元
{% else %}暂无可用持仓监控
| ID | 品种 | 方向 | 腿数 | 首仓手数 | 当前总手数 | 首仓TP | 当前SL | 当前均价 | 止盈盈利(元) |
|---|---|---|---|---|---|---|---|---|---|
| #{{ g.id }} | {{ g.symbol_name or g.symbol }} | {{ '多' if g.direction == 'long' else '空' }} | {{ g.leg_count or 0 }}/3 | {{ g.first_lots if g.first_lots is not none else '—' }} | {{ g.total_lots if g.total_lots is not none else '—' }} | {{ g.initial_take_profit or '—' }} | {{ g.current_stop_loss or '—' }} | {{ g.avg_entry or '—' }} | {{ g.reward_at_tp if g.reward_at_tp is not none else '—' }} |
暂无
{% endif %}| # | 组 | 方式 | 手数 | 触发/限价 | 新SL | 当前价 | 状态 | 操作 |
|---|---|---|---|---|---|---|---|---|
| {{ l.id }} | #{{ l.roll_group_id }} | {{ add_mode_labels.get(l.add_mode, l.add_mode) }} | {{ l.lots or '—' }} | {{ l.breakthrough_price or l.limit_price or l.fill_price or '—' }} | {{ l.new_stop_loss or '—' }} | {{ l.current_price if l.current_price is not none else '—' }} | {{ roll_leg_status_labels.get(l.status, l.status) }}{% if l.status == 'invalidated' and l.invalidated_reason %} · {{ l.invalidated_reason[:24] }}{% endif %} | {% if l.status == 'pending' %}{% else %}—{% endif %} |
暂无
{% endif %}