跳到正文
Skillpedia
写作48k · #6013

trading-ledger

它能做什么

这个智能体可以帮你记录股票或其他资产的交易。它保存的不只是你买了或卖了什么,还包括你做决定的理由、你的计划,以及当时的情绪。

适用场景

  • ✓当你进行一笔交易(买入或卖出资产)时。
  • ✓当你想详细记录自己的交易时。
  • ✓当你想回顾过去的投资决定时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/trading-ledger/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/trading-ledger/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“记录一笔交易:以每股 150 美元买入 100 股 AAPL,止损设在 145 美元,押注财报发布后股价会上涨。”

每周 5 个新技能,1 分钟读完。

工作原理

你描述交易内容,智能体就会把细节保存到你个人的 Notion 数据库中。它重点在于理解你的策略和情绪,而不仅仅是盈亏。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Trading Ledger

Overview

A journaling skill in the tradition of the Market Wizards interviews: a written record of every trade's decision process, reviewed on a schedule. The user reports a trade in plain language — "bought 500 NVDA at 135, stop at 128, betting the post-earnings dip fills" — and the agent writes ticker, size, and price to the user's own Notion database plus the part every spreadsheet journal loses: the thesis, the plan, and the emotion. If no reason is stated, it asks on the spot, because entry reasons decay overnight. Reviews grade decision quality against the user's own plan — a per-plan loss scores better than a lucky win. Core contract: never fabricate when unsure; mark To-confirm and batch-ask.

When to Use This Skill

  • Use when the user reports a trade fill ("bought 500 NVDA at 135", "closed my TSLA position", "opened 2 ES contracts short")
  • Use when the user says "log a trade" or "trading ledger", or "tidy up my trading ledger"
  • Use when the user asks to "review my trades"

How It Works

Step 1: Confirm the database (first use per session)

Use Notion search to find candidate databases (type database, not pages) whose title contains "trading-ledger". Before any query or create-pages call, show the user the candidate title and data_source_id (collection://... UUID) and ask them to confirm the exact database for this session. A single title match is not sufficient confirmation. If the connector returns owner or schema metadata, show it as an additional identity check. Use only the user-confirmed ID for the remainder of the session; do not re-run fuzzy selection after a confirmation.

The companion Notion template (free, linked in the source repo) ships this schema — select values are a controlled enum, copy them exactly:

  • Entry (title); Ticker (text — strikes/expiries here: NVDA / NVDA 0620C150 / ESU6)
  • Market (select): US Stocks / US Options / US Futures / A-Shares / HK Stocks / CN Futures / Crypto / Other
  • Direction (select): Long / Short · Size (text, with units)
  • Entry Price / Exit Price (number) · Entry Date / Exit Date (date — expand to "date:Entry Date:start": "YYYY-MM-DD"; a bare value fails with HTTP 400)
  • Thesis (text) — the soul of the journal; if missing, ask on the spot
  • Plan (text) — stop / target / contingency; ask if missing
  • Emotion (select): Calm / FOMO / Panic / Revenge / Boredom / Overconfidence — tag only what the user admits or what is plain in their words; don't diagnose
  • Execution (select): Per plan / Early exit / Delayed stop / Impulse / Unplanned add — filled at close
  • P&L (number, realized) · Status (select): Open / Closed / To-confirm / Reviewed · Review (text) · Notes (text)

Step 2: Opening a trade

Parse → create a row with Status=Open. A missing thesis is the one field worth interrupting for — ask immediately. Anything else uncertain: record what you have, put the question in Notes, mark To-confirm.

Step 3: Closing or adjusting

Find that ticker's Status=Open row → fill Exit Price / Exit Date / P&L / Execution → set Closed. Grade Execution against the user's own Plan: stopped where planned = Per plan; ran before the target = Early exit; held through the stop = Delayed stop. No matching open row → create one marked To-confirm and ask whether the entry was never logged.

Step 4: Batch reconcile and review

  • "tidy up my trading ledger" → query Status=To-confirm rows → collect all open questions into one message.
  • "review my trades" → query recent Closed + all Open rows. For each closed trade, three questions: Did the thesis play out? (wrong thesis + profit = luck — say so). How was the execution? (a per-plan loss is a good trade). What share of trades were emotion-tagged? Write conclusions into Review, move Closed → Reviewed, and for every open position ask: does the entry thesis still hold today?

Parsing rules: infer Market from symbol and context (ambiguous → ask); bought put = Short exposure + note it is a long put; record only given prices/sizes — never look up market prices to fill gaps; "today" = the user's local trading date — confirm before writing.

Examples

Example 1: Opening with a missing plan

User:  picked up some TSM July calls this morning, same thesis as before earnings
Agent: Logged ✅ TSM July calls · Long · Open

…
常见问题

什么是“投资逻辑”(thesis)?

它指的是你在某笔具体交易中的主要理由或押注。你为什么在那个时间点决定买入或卖出?

它怎么知道该把信息保存到哪里?

它会让你确认要使用 Notion 中的哪个数据库。你需要事先设置好一个特定的数据库模板。

它会计算我的盈亏吗?

如果你提供了盈亏数据,它可以记录下来。但它的重点是分析你的决策质量和策略,而不只是财务结果。

详情

作者的原始描述

A trading journal that captures the decision, not just the fill: thesis, plan, and emotion at the moment of entry, written to the user's own Notion database; reviews grade decisions, not P&L.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#6013
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能