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
+13 -1
View File
@@ -1161,7 +1161,19 @@
($("or-f-note") || {}).value = e.note || "";
setMoodTags(e.mistake_tags);
resetChartOptions();
setChartOptionsVisible(t.source_type === "option_spot");
// 纯期权与对冲均可生成标的永续双周期 K 线;对冲默认勾选
var chartOk =
t.source_type === "option_spot" ||
t.source_type === "perp_options" ||
t.source_type === "options_options";
setChartOptionsVisible(chartOk);
if (
chartOk &&
(t.source_type === "perp_options" || t.source_type === "options_options")
) {
var cb = $("or-exchange-chart");
if (cb) cb.checked = true;
}
var summary = $("or-journal-summary");
if (summary) {