{"name":"IntradayFeed trade analysis","method":"POST","path":"/api/analyze","body":{"trades":[{"date":"YYYY-MM-DD","time":"HH:MM","direction":"Buy | Sell","size":1,"price":0,"pnl":0}],"coach":false,"accountSize":null},"notes":["Same analytics engine as the My trades browser tab.","Stats use closed fills only (pnl ≠ 0). Opening/flat legs are skipped for win rate, streaks, and trades/day.","report.risk includes maxDrawdown, worstDay, worst 3-day stretch, and outlier loss share.","report.equityCurve is chronological cumulative equity after each closed fill.","Hours need ≥5 closed trades before they appear as edge/strength.","Optional accountSize enables daily-loss % of account flags (prop risk).","PDF/CSV parsing stays in the browser; agents should send already-parsed fills.","Set coach:true for DeepSeek coaching (requires DEEPSEEK_API_KEY on the Next.js service).","Informational only — not financial advice.","Typo note: /lms.txt redirects to /llms.txt."],"related":{"coach":"POST /api/analyze/coach","setup":"GET /api/setup","news":"GET /api/news","docs":"/agents","llmsTxt":"/llms.txt"}}