Journal
2 tools — auto-generated from the MCP server's tool schemas.
Generated
This page is generated from packages/server/mcp/src/tools/*.ts by pnpm docs:generate-tools. Do not edit it by hand — edit the tool's description/schema in source and regenerate.
query_journal
Queries trade journal entries, newest first. Filters: ticket, tag, setup, from_date/to_date (ISO), and search (case-insensitive text match). Entries linked to closed trades include realized_pnl when the terminal is connected (null otherwise). Available at Free+ tier.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
ticket | integer | No | — | — |
tag | string | No | — | — |
setup | string | No | — | — |
from_date | string | No | — | ISO date |
to_date | string | No | — | ISO date |
search | string | No | — | — |
limit | integer | No | 20 | — |
offset | integer | No | 0 | — |
terminal_id | string | No | — | — |
write_trade_note
Persists a trade journal entry: rationale, setup label, and tags, optionally linked to a position/order ticket. Entries are append-only and immutable — to correct one, write a new note with amends_entry_id pointing at the original. Use at order time to capture WHY a trade was taken; query later with query_journal for post-trade review and per-setup statistics. Free tier stores up to 100 entries. Available at Free+ tier.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
text | string | Yes | — | — |
ticket | integer | No | — | — |
tags | array | No | [] | — |
setup | string | No | — | — |
amends_entry_id | string | No | — | — |
terminal_id | string | No | — | — |