- Orders, position closes, card answers and deposits are claimed atomically
(one tick at a time, one evening at a time); cash updated in SQL
- Each tick step is isolated: an AI or Yahoo failure no longer stops the rest
- Missed monthly deposits are caught up; Trade Republic holidays handled
- Gap opens fill at the open (target included); limit orders valid one
trading day; stale sell orders cancelled; old cards expire (PEA transfer kept)
- News queries bounded to 48 h, news older than 30 days purged
- AI sim pot receives the same monthly deposit as the real account;
performance measured on money contributed vs S&P 500 with the same flows;
reset action
- Yahoo data cached in the database (stale-while-revalidate); the order
engine still requires fresh quotes; client router keeps tabs for 60 s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Pin Vercel functions to Paris (cdg1), next to the Supabase database
- Triage: smaller batches, a truncated answer is retried instead of
silently scoring every news item 0/10 (which starved the AI)
- Analysis prompt calibrated (buy at confidence >= 60 with tight stop)
- Settings read once per page render
- New AI diagnostic card in Settings: news, triage, decisions, run logs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Buy by EUR amount (fractional shares, like Trade Republic): 200 EUR can
now reach every large cap; risk engine sizes in whole euros
- No-AI screener (pullback in uptrend) feeds training cards and AI candidates
- Auto-update on app open via after(); "find ideas now" button (3/day)
- New Actions tab: stock list, stock page with chart, news, AI opinion,
sandbox buy by amount or shares
- "Mon compte" tab: declare deposits, cash, holdings and PEA plan
(no broker credentials, no PEA invented by default)
- Yahoo data cached and deduplicated, pages stream per section
- Tests: fractional sizing, screener, no-AI idea flow
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>