diff --git a/CLAUDE.md b/CLAUDE.md index 5eb93b3..420971c 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2503,7 +2503,7 @@ dort bereits nachvalidiert, ØR +0,305.) **Eine** Oberfläche: Signal → **Hinweis-Dialog „trotzdem eröffnen?"** (überschreibbar). CLOSE bei **negativem** P&L → Sicherheitsabfrage; im Plus/Breakeven direkt. Sonst keine Token-Dialoge (`require_token=false`). Audio braucht 1× Nutzer-Tap. -- Asset-Version aktuell **v=134** (in `web/index.html` hochzählen, siehe Workflows). +- Asset-Version aktuell **v=135** (in `web/index.html` hochzählen, siehe Workflows). Schriftgrößen 2026-07-24 global **+4px** (2× je +2px auf User-Wunsch; Body-Basis 14→18px). ⚠ Betrifft in `style.css` sowohl `font-size:Npx` (71×) ALS AUCH die `font: Npx/…`-**Shorthand** (3×: `.ms-chip`/`.ms-bos-lbl`/`.sqm-badge` — diff --git a/core/engine.py b/core/engine.py index e927f7d..9d4f647 100644 --- a/core/engine.py +++ b/core/engine.py @@ -3103,7 +3103,9 @@ class TradingEngine: def snapshot(self) -> dict: try: - last_trades = self.history.last_closed_trades(5) + # 5 → 10 (User-Wunsch 2026-08-04). ⚠ Auch das `slice(0, 10)` in + # `app.js` mitziehen — es begrenzt unabhängig davon nochmal. + last_trades = self.history.last_closed_trades(10) except Exception as e: log.warning(f"last_closed_trades: {e}") last_trades = [] diff --git a/web/app.js b/web/app.js index aa9da17..d686e0e 100644 --- a/web/app.js +++ b/web/app.js @@ -910,7 +910,10 @@ function render(d) { } // ── Letzte Trades ─────────────────────── - const tds = (d.last_trades || []).slice(0, 5); + // 5 → 10 (User-Wunsch 2026-08-04). Das Backend liefert bereits 10 + // (`engine.snapshot` → `last_closed_trades(10)`); dieser Slice ist die zweite, + // unabhängige Begrenzung — beide müssen zusammenpassen. + const tds = (d.last_trades || []).slice(0, 10); $("trades").innerHTML = tds.map(x => { const pnl = x.pnl || 0; const cls = pnl > 0 ? "up" : pnl < 0 ? "down" : "dim"; diff --git a/web/index.html b/web/index.html index 4fc6c68..81b3613 100644 --- a/web/index.html +++ b/web/index.html @@ -6,7 +6,7 @@ Oil · MT5 - + @@ -259,6 +259,6 @@ - +