Core entities
- Trade groups — Container for related executions (entries and exits)
- Executions — Individual fills with price, quantity, and timestamp
- Trade writeups — Post-trade notes (not yet exposed in the public API)
- Report cards — Daily reviews (not yet exposed)
- Chart books — Saved charts (not yet exposed)
- Playbooks — Rules and setups
- Strategies — Approaches linked to playbooks
- Accounts — Prop firm or retail brokerage accounts
Relationships
- One trade group has many executions
- One trade group may have one trade writeup (in product; API coverage may evolve)
- One playbook has many strategies
- One playbook has many entry and exit criteria records
- One account has many trades
- All resources belong to a single user, enforced by RLS
IDs and ownership
All GET/PUT/DELETE operations are restricted to rows owned by the user tied to the API key. Cross-user access returns empty results or 404 depending on the route.