复盘增加左侧条件单与上一个入场周期,K线生成默认勾选。
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
option_spot: {
|
||||
strategy: ["顺势", "反转"],
|
||||
direction: ["多", "空"],
|
||||
entry: ["假突破", "结构突破"],
|
||||
entry: ["假突破", "结构突破", "左侧条件单"],
|
||||
},
|
||||
hedge: {
|
||||
strategy: ["横盘", "趋势"],
|
||||
@@ -713,7 +713,8 @@
|
||||
|
||||
function resetChartOptions() {
|
||||
var cb = $("or-exchange-chart");
|
||||
if (cb) cb.checked = false;
|
||||
// 期权复盘:默认勾选后台生成 K 线
|
||||
if (cb) cb.checked = true;
|
||||
}
|
||||
|
||||
function renderDetailImages(images, opts) {
|
||||
@@ -826,6 +827,7 @@
|
||||
["离场", e.exit_reason || "—"],
|
||||
["按计划", e.followed_plan || "—"],
|
||||
["入场逻辑", e.entry_logic || "—"],
|
||||
["上一个入场周期", e.prev_entry_tf || "—"],
|
||||
];
|
||||
if (t.is_hedge) {
|
||||
cells.push(["永续盈亏", fmtPnl(t.realized_pnl_perp)]);
|
||||
@@ -1094,6 +1096,7 @@
|
||||
($("or-f-followed") || {}).value = "";
|
||||
($("or-f-result") || {}).value = "";
|
||||
($("or-f-entry") || {}).value = "";
|
||||
($("or-f-prev-tf") || {}).value = "";
|
||||
($("or-f-note") || {}).value = "";
|
||||
setMoodTags("");
|
||||
resetUploadSlots();
|
||||
@@ -1158,6 +1161,7 @@
|
||||
($("or-f-followed") || {}).value = e.followed_plan || "";
|
||||
setSelectValue($("or-f-result"), e.result_tag || autoResultTag(t.realized_pnl_total));
|
||||
setSelectValue($("or-f-entry"), e.entry_logic || "");
|
||||
setSelectValue($("or-f-prev-tf"), e.prev_entry_tf || "");
|
||||
($("or-f-note") || {}).value = e.note || "";
|
||||
setMoodTags(e.mistake_tags);
|
||||
resetChartOptions();
|
||||
@@ -1275,6 +1279,7 @@
|
||||
result_tag: ($("or-f-result") || {}).value || "",
|
||||
mistake_tags: collectMoodTags(),
|
||||
entry_logic: ($("or-f-entry") || {}).value || "",
|
||||
prev_entry_tf: ($("or-f-prev-tf") || {}).value || "",
|
||||
note: ($("or-f-note") || {}).value || "",
|
||||
images: collectImages(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user