OpenSquared
58c3767a9d
feat: simulation portfolio surveillance + patterns grid/filter UI
...
Portfolio Monitor (v4.4):
- New portfolio_risk.py service: concentration by asset_class, directional
conflict detection (same underlying, opposite directions), overweight alerts
- AI agent (Step 7b) runs GPT-4o-mini after each cycle log: assessment +
prioritized actions + rebalance suggestion, persisted in system_logs
- GET /api/journal/portfolio-risk — full risk breakdown + latest AI monitor reco
- POST /api/journal/trade-check — pre-entry conflict & concentration check
- asset_class column added to trade_entry_prices (auto-migration + populated at INSERT)
- Journal: new "Risque Sim." tab with concentration bars, conflict alerts,
AI recommendations; red badge on tab when danger alerts exist
PatternEditor:
- Grid view default (2-3 cols responsive), list toggle
- Asset class filter chips (energy/metals/agri/equities/indices/forex/rates)
- Sort: Date (default) / Score IA / Prob.
- Period filter: Tout / 7j / 30j
- Result count badge when filters active
Doc: v4.3 → v4.4, updated Journal/PatternEditor/cycle steps/schema/glossary
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-19 15:49:46 +02:00
OpenSquared
8122bd019c
docs: v4.3 — trade lifecycle, exit defaults, PostgreSQL migration note
...
- Page 8 Journal de Bord: réécriture complète pour les 5 onglets, badges
🎯 /🛑 , barre Cible/Stop, modal de fermeture, onglet Fermés avec stats
- Table des pages: Page 8 description mise à jour (Ouverts/Fermés/1-clic),
Page 14 Config mention exit defaults, 15+ tables architecture
- Section 10 Décisions: 2 nouvelles entrées (3 modes de fermeture,
confirmation humaine toujours requise), note migration PostgreSQL
- Glossaire: 4 nouvelles entrées (Cycle de vie, Exit Defaults,
P&L Réalisé vs Théorique, Alert Type)
- Footer et titre: v4.2 → v4.3
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-19 14:23:34 +02:00
OpenSquared
0ba73cae0b
docs: v4.2 — AI news enrichment pipeline + directional alignment documented
...
Updates Étape 2 (RSS pipeline) to describe the 3-layer architecture: deterministic
classification → GPT-4o-mini batch enrichment (impact, ai_dir_*, ai_resolution,
ai_insight) → _compute_ai_alignment() bonus injection in pattern scoring.
Rewrites Prompt 1 section with new batch scoring prompt structure and adds a
concrete counter-signal example (Gaza ceasefire → oil bearish, pattern downranked).
Updates Radar Géopolitique usage guide with AI badge reading guide and decision
rules (green badge + relevance ≥60% = candidate, red badge = wait for confirmation).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-19 13:34:33 +02:00
OpenSquared
44ada3f8f1
feat: stable macro regime detection — blended signals + Bayesian smoothing
...
Replace 1-day change_pct with weighted blend (20% 1d / 50% 5d / 30% 10d)
for all 20 scored signals. Add Bayesian prior from rolling 25-day history
(weight 15%→45%) and a 10-point persistence threshold before regime switch.
Bootstrap on first load: replays last 20 trading days via yf.download batch
(45d) to pre-populate _regime_history, so stability is visible immediately.
Frontend: adds 'stable Xj' badge and history depth indicator on regime banner.
Doc: updates v4.0→v4.1, rewrites Étape 1 Régime Macro and glossary entry.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-06-19 12:40:38 +02:00