Repository navigation
Releases
Releases · MaximSinyaev/agent-trading-journal
v1.3.0
Install pins move to v1.3.0; the trade CLI itself is unchanged since 1.1.1.
Changed
- trading-idea-analyst, report: "What I would watch" may add up to two loose threads (scan facts
that fit no thesis, each with one question for the user), so the user's own view has a place
in a full scan. - trading-idea-analyst, scorecard: ideas are scored in paper R (move from the reference price
÷ distance to the stop, shown with its inputs), hit rate is defined, and confidence for an
idea type is lowered only after about 10 closed ideas with a negative median R, so a few
early losses no longer push the analyst toward consensus ideas. - trading-idea-analyst, bias check: a thesis that rests on one signal or on recent news is kept,
labelled and capped at confidence 2 instead of being sent back (which made the model pad it
with weaker confirming points). Missing counter-evidence and portfolio steering still send it
back. The report shows only the checks that flagged something. - trading-idea-analyst, risk rule 3: the event size factor and the 3-day event time stop apply
only when a thesis rests on a single event or decision. Geopolitical and commodity ideas
still get the "what if a decision-maker says the opposite tomorrow?" check, but a macro
commodity thesis keeps its own horizon instead of becoming a 3-day trade.
Fixed
- trading-idea-analyst, journal handoff: scoring an expired idea no longer tells the agent to
runtrade price set --as-of <time stop>, which replaced the live mark of an open position
(also from unattended scheduled runs). The close price goes into theCLOSEDentry instead. - The plan-entry example now contains the
JSON:line the scorecard parses; thetrade add
example passes--ccyand--date, so non-USD ideas are not booked as USD. - Delta mode no longer reads a "previous scan" that was never stored: the window is the time
since the previous scheduled run (or the last 7 days). - Option maximum loss is stated per contract (
premium × multiplier, short puts
(strike − premium) × multiplier); a broken sentence in risk rule 6. - One outcome list in both modes (
target hit | stop hit | invalidated | expired), with a
JSON:line onCLOSEDentries; concrete idea ids in the examples. - Thesis checks keep step 2 (counter-evidence, kill condition), with bias answers as notes.
- The Trading Journal is also detected through the journal skill's
scripts/tradewrapper. sources.tomllives outside the skill folder ($TRADING_IDEA_SOURCESor
~/.config/trading-idea-analyst/); the FRED example needs no API key.- Install docs cover
trading-idea-analystfor Codex, Cursor and other agents.
Also in this release (from 1.2.0, not released separately)
Changed
- trading-idea-analyst works standalone. It no longer needs the
tradeCLI: without it,
idea cards stay in chat and, if the user agrees, go to an append-only markdown idea log
(trading-ideas.md, configurable via[storage].ideas_file) with the sameJSON:line and
its own scorecard (references/idea-log.md). Whentradeis found, ideas and taken trades
are recorded in the journal exactly as before (references/journal-handoff.md, now marked
optional). The CLI itself is unchanged; install pins stay at v1.1.1.
v1.1.1
Fix: re-importing with a different preset no longer duplicates trades
v1.1.0
What's new
- OKX import: perpetual futures, liquidations with their fees, funding as separate income/expense, plus a reconciliation report against OKX's own PnL.
- Timezone fix: trade times are stored in your configured timezone (
[defaults] timezoneorTRADE_TZ), not the machine's local zone. - Lighter dashboard for large histories.
Upgrade: /plugin update trading-journal in Claude Code, or reinstall the CLI from @v1.1.0.
v1.0.0 — Trading journal for AI agents
The tracker is now an agent skill. Claude Code, Codex and Cursor can keep your trading journal while a deterministic ledger does every calculation.
Install
- Claude Code:
/plugin marketplace add MaximSinyaev/agent-trading-journal, then/plugin install trading-journal@trading-journal - Codex / Cursor: copy
skills/trading-journalinto~/.agents/skills/(guide) - CLI only:
uv tool install "agent-trading-journal[yahoo] @ git+https://github.com/MaximSinyaev/agent-trading-journal@v1.0.0"
New
- Ledger rewrite: exact average-cost P&L in Decimal, entry fees now included in net P&L, shorts, options, splits, dividends, per-currency totals.
--jsonon every command for agents; idempotent imports (any CSV, IBKR Flex, agent JSON, optional regional presets).- Interactive offline dashboard (
trade dashboard). - Trading Idea Analyst skill: macro-first idea research, every idea journaled and scored.
Renamed
The project is now agent-trading-journal (old links redirect). If you installed 0.5.x: uv tool uninstall obsidian-trading-tracker, then install again.
Upgrading from 0.5.x
The database migrates automatically. Net P&L now subtracts the entry commission too, so past results may look slightly lower. See CHANGELOG.
Record-keeping tool, not financial or tax advice.