List trades
get_tradesIndividual trades, newest first, filtered the way the Trades page filters them: date range, ticker, playbooks and tags. Returns 20 rows unless you raise limit (max 50), plus totals computed over every trade that matched — use those for "how did my trades tagged X / on playbook Y do" instead of adding rows up. total is how many trades matched. Fields with no recorded value are omitted. Rows are executions: several trades in one symbol on one day belong to a single setup, reviewed as a whole in get_symbol_reviews.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| symbol | No | Ticker, e.g. TSLA. Matches tickers containing it, as the Trades page does | |
| tagIds | No | Tag ids from list_tags | |
| endDate | No | Inclusive end date (YYYY-MM-DD) | |
| assetType | No | Only stock trades or only option trades — the Stocks / Options switch in the app. Omit for both. | |
| dateField | No | Which timestamp the date range applies to: executedAt (default) or openDate | |
| startDate | No | Inclusive start date (YYYY-MM-DD) | |
| playbookIds | No | Playbook ids from list_playbooks; "__unassigned__" selects trades with no playbook. A trade matches if it is on any of them. | |
| tagFilterMode | No | ANY (default): the trade carries at least one of tagIds. ALL: every one. |