Add strategy residual table with manual close at panel bottom.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-08-03 07:47:22 +08:00
parent 09abb8d35b
commit 1252f45aac
5 changed files with 191 additions and 62 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ class StrategyEngine:
"open_capacity": open_cap,
"last_error": last_error,
"position": upl,
"residuals": self.matcher.list_residual_options(pending_only=True),
"residuals": self.matcher.list_residual_options_enriched(),
"ledger": self.ledger.snapshot(),
"mode": "SIM" if s.is_sim else "LIVE",
"sim": s.is_sim,