log_journal_entry
Record trade decisions, market theses, or trading theorems to a local journal. Prevents duplicate entries with atomic file writing.
Instructions
Logs a trade, market thesis, or trading theorem to the local Trading Journal database. Includes atomic file writing & de-duplication protection.
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). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |