 RichardandClaude Opus 4.8
|
ad8f7b0d03
|
Slice 0 (Fable-Fixes): IClobClient-Seam fuer testbare CLOB-Interaktionen
Verhaltensneutrale Testinfrastruktur als Grundlage fuer Slice 1/2:
- IClobClient-Interface (Core) ueber die von Leiter/Reconciliation genutzten
CLOB-Methoden (Place/CancelConflicting/GetOpenOrders/CancelOrder).
- PolymarketClobClient implementiert IClobClient (Signaturen unveraendert).
- DI-Seam im Modul: IClobClient -> PolymarketClobClient-Singleton.
- SellLadderService haengt jetzt an IClobClient (statische CalculateExactOrderAmounts
bleibt am konkreten Typ).
- InternalsVisibleTo(PolyTrader.Tests) + FakeClobClient-Test-Double.
Verifikation: Build 0 Fehler, 207 Tests gruen, --smoke-ui Container-Aufbau ok.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
2026-07-09 11:53:12 +02:00 |
|