Richard and Claude Opus 4.8
f8d395b2a3
Phase 5.2: TradingState-Split (Core-State vs. CopyTradingState)
...
- Core TradingState (in Core): globale Schalter, Accounts, MarketCache, GlobalPnl.
- Neuer CopyTradingState (im Modul): Traders, MasterTraderPositions,
TraderAnalyticsCache, TotalCopyTrades/GetNextTradeId, PendingOrderTimestamps,
SixSharesMinimum.
- 10 Konsumenten umgestellt (Program, frm_main, CopyTradingEngine,
TraderMonitor, Alchemy, WSS, Snapshot, StartupHydration, beide Analytics-Jobs):
Modul-Felder von _state.* auf _copyState.* umgeleitet, CopyTradingState via DI.
- Rein mechanische Feld-Umleitung, keine Logikänderung. Build 0 Fehler.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 20:09:50 +02:00
bergm and Claude Opus 4.8
7197f9b31c
Phase 3c: Unkritische Call-Sites auf Repositories umgestellt
...
- MarketSyncService: markets-Zugriffe -> IMarketRepository (kein _db mehr).
- PolymarketWssClient: demo_positions -> IPositionRepository,
accounts -> IAccountRepository (closed_trades bleibt vorerst auf _db,
ClosedTrade-Repo folgt in Phase 5).
- Build 0 Fehler.
Hot-Path (CopyTradingEngine, TraderMonitorService) und frm_main-UI bewusst
noch NICHT migriert (Schritt B / Phase 5).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-01 16:34:28 +02:00