Log Trade
log_trade[JOURNAL] Log a REAL trade entry into your private n0brains journal the moment it fills. Give asset + side (long/short); optionally entry (defaults to live price), stop, target, size_usd, leverage, thesis (why you took it). n0brains snapshots full entry conditions automatically (grade, flags, positioning, regime — an internal check_trade) so nothing needs hand-transcribing. HISTORICAL backfill: pass opened_at (epoch seconds of the real fill) + explicit entry; the entry grade is then taken from YOUR check_trade nearest the fill (±6h, same asset+side) — the read you actually got at the time, never re-graded on today's tape; no matched check = ungraded. Close with close_trade; read back with get_journal. Returns trade_id + the entry assessment. Journal is private to your account. Pro.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | Yes | ||
| stop | No | ||
| asset | Yes | ||
| entry | No | ||
| target | No | ||
| thesis | No | ||
| leverage | No | ||
| size_usd | No | ||
| opened_at | No |