Log Journal Entry
log_journal_entryLog a trade, market thesis, or trading theorem with rationale, price, and size to a local journal. Features atomic writes and duplicate prevention.
Instructions
Logs a trade, market thesis, or trading theorem to the local Trading Journal database. Includes atomic file writing & de-duplication protection.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>",
"action": "<action>",
"price": "<price>",
"size": "<size>",
"rationale": "<rationale>"
},
"name": "log_journal_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | Size of the trade in number of shares (0 for thesis only). | |
| price | Yes | Price per share of the asset at entry/thesis. | |
| action | Yes | The trade action: BUY, SELL, HOLD, or SYSTEM THESIS. | |
| symbol | Yes | The stock symbol (e.g. AAPL, KBANK). | |
| rationale | Yes | Structured reason, thesis logic, or mathematical theorem why this trade/position is entered. | |
| confidence | No | Confidence level from 1 (lowest) to 10 (highest). |