Enable hedge review with dual-timeframe K-line charts.

Always install the review module in hedge-only mode, expose 对冲复盘 in nav, and allow auto charts for closed hedge plans.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-10-14 18:43:02 +08:00
parent 6607d09526
commit 16bba2eb1a
10 changed files with 60 additions and 20 deletions
@@ -178,7 +178,7 @@
</style>
<div class="or-page-head">
<h2>期权复盘</h2>
<h2>{% if okx_trade_mode|default('') in ('perp_options', 'options_options') %}对冲复盘{% else %}期权复盘{% endif %}</h2>
<span class="muted" id="or-sync-status" style="font-size:.72rem"></span>
<button type="button" class="btn-secondary" id="or-reload-btn" style="font-size:.76rem;padding:4px 10px">刷新</button>
</div>
@@ -356,7 +356,7 @@
<option value="now" {% if journal_chart_default_anchor == 'now' %}selected{% endif %}>当前时间</option>
</select>
</div>
<div class="sub or-chart-hint hidden" id="or-chart-hint" style="font-size:.72rem;margin-top:2px;margin-bottom:0">纯期权:按标的永续画双周期上下图;只按时间标记进场/出场,不标止损;有手动截图时不自动生成</div>
<div class="sub or-chart-hint hidden" id="or-chart-hint" style="font-size:.72rem;margin-top:2px;margin-bottom:0">{% if okx_trade_mode|default('') in ('perp_options', 'options_options') %}对冲:按标的永续画双周期上下图;按计划开仓/平仓时间钉点;有手动截图时不自动生成{% else %}纯期权:按标的永续画双周期上下图;只按时间标记进场/出场,不标止损;有手动截图时不自动生成{% endif %}</div>
<div class="or-mood-grid mood-grid">
<label><input type="checkbox" class="or-mood" value="怕踏空">怕踏空</label>
@@ -447,4 +447,4 @@
</section>
</div>
<script src="/static/options_review.js?v=23"></script>
<script src="/static/options_review.js?v=24"></script>