Journal P&L breakdown
journal_breakdownWhere the P&L actually comes from: closed trades in the window grouped nine ways — weekday, time of day, hold time, symbol, side, position size, tag, rating and asset class — each group with trade count, wins, losses, net P&L, average net P&L and win rate (breakevens excluded). Defaults to all time, since groups need sample size; narrow with range or from/to. The tool for 'what am I good or bad at' questions; journal_overview has the headline numbers. Requires signing in with a LuxAlgo account (OAuth).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Inclusive end day (YYYY-MM-DD, journal timezone). Overrides `range`. | |
| from | No | Inclusive start day (YYYY-MM-DD, journal timezone). Overrides `range`. | |
| range | No | Named window ending today in the journal timezone. Ignored when from/to are given. | |
| context | Yes | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution." | |
| accounts | No | Journal account ids to scope to (from journal_list_accounts). Omit for every account, archived ones included. Unknown ids are rejected. |