START
READ "trade_journal.csv"
COLUMNS: date, symbol, pnl, notes
DEFINE EMOTION_SETS:
impatience = ["should move", "too early", "soon", "jumped in"]
overconfidence = ["high conviction", "obvious", "easy trade"]
fear = ["scared", "nervous", "hesitated", "cut early"]
revenge = ["get it back", "make it back", "chase", "missed it"]
hope = ["it will come back", "just this once", "give it room", "macro is still good"]
FOR EACH trade IN journal
text = LOWERCASE(trade.notes)
themes = EMPTY_SET
FOR EACH (label, phrases) IN EMOTION_SETS
FOR EACH phrase IN phrases
IF phrase IS IN text THEN
ADD label TO themes
ENDIF
ENDFOR
ENDFOR
IF text CONTAINS ANY OF ["early", "no trigger", "moved stop", "oversized", "cut early"] THEN
error_type = "execution"
ELSE IF text CONTAINS ANY OF ["wrong thesis", "missed macro", "data changed", "read was wrong"] THEN
error_type = "analysis"
ELSE
error_type = "unclear"
ENDIF
ATTACH themes AND error_type TO trade
ENDFOR
COUNT how many times each theme appears across all trades
OUTPUT "emotion_summary.csv" WITH COLUMNS: theme, count
OUTPUT "journal_flags.csv"
COLUMNS: date, symbol, pnl, themes, error_type, notes
END
就這樣。沒有魔法。
所謂的「AI」,不過是我用來協助摘要與標記這些主題的 Claude 程式碼模型——真正的功夫,仍在於我寫下什麼,以及我決定執行哪些規則。
請注意,我並不是想提出什麼全新構想!「時機、倉位、心理」是交易裡最古老的三件套。
我寫這篇的原因更單純:我需要一個方法,讓這三個問題在我自己的損益中變得無法忽視。總體儀表板讓我在大方向上「大致正確」。這套日誌加 AI 的工作流程,則是我用來看見自己在實務上仍搞砸的各種方式,並把那些漏洞轉成我真正跟得上的規則。