修复趋势回调顺势加仓的交易记录

This commit is contained in:
dekun
2026-05-29 18:39:40 +08:00
parent 7af2717331
commit 81f27765ca
10 changed files with 202 additions and 47 deletions
@@ -1224,6 +1224,8 @@ function fillJournalFromTrade(t){
syncJournalEntryReasonOtherUi();
if(String(t.monitor_type || "").trim() === "趋势回调" && JOURNAL_ENTRY_REASON_OPTIONS.includes("趋势回调")){
setJournalField("entry_reason", "趋势回调");
} else if(String(t.monitor_type || "").trim() === "顺势加仓" && JOURNAL_ENTRY_REASON_OPTIONS.includes("顺势加仓")){
setJournalField("entry_reason", "顺势加仓");
syncJournalEntryReasonOtherUi();
}
const er = String(t.result || "").trim();