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:
@@ -11,7 +11,7 @@
|
||||
strategy: "/strategy",
|
||||
strategy_records: "/strategy/records",
|
||||
options: "/options",
|
||||
options_review: "/options/review",
|
||||
options_review: "/hedge-plan/review",
|
||||
hedge_plan: "/hedge-plan",
|
||||
records: "/records",
|
||||
stats: "/stats",
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user