Skip to content

fix(orderbook): restore rebalance after continuous close - #301

Merged
jackhai9 merged 1 commit into
mainfrom
codex/continuous-close-rebalance
Sep 30, 2026
Merged

jackhai9 merged 1 commit into
mainfrom
codex/continuous-close-rebalance

Conversation

@jackhai9

Copy link
Copy Markdown
Owner

Continuous close can finish with zero positions and orders but leave the account rebalance action hidden: a qualification check skipped while the session was busy never restarts when the counters remain unchanged.

Restart the existing qualification window after the continuous session clears its task state. Preserve the full two-second stability window, fresh all-account position validation, and manual transfer confirmation. Bump the generated userscript to v2.7.215 and document the completion and visibility behavior.

Validation:

  • Reproduced the missing post-completion qualification request on the old artifact.
  • Six new Playwright scenarios cover long/short closing, remaining positions/orders, authoritative API positions, and hidden-page completion followed by visibility recovery.
  • 64 existing account and continuous-close browser scenarios passed.
  • Full npm test: 2,087 passed; test lint, build, syntax, and diff checks passed.
  • Independent read-only review passed. Live v2.7.214 source and the reported hidden action were inspected; the corrected trading path awaits manual validation after installation.

@jackhai9
jackhai9 merged commit 91b492f into main Sep 30, 2026
2 checks passed
@jackhai9
jackhai9 deleted the codex/continuous-close-rebalance branch October 3, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant