Files
autofirmer-expanded/lib
Brandon LiandClaude Opus 5.5 a03bfb5605 Vest: close out trades left open on an account Vest stopped listing
An account that leaves Vest's active list (breached, closed) was never
read again, so a position it had open stayed open in the trades table.
When the list shrinks, and on every full history pass, the client reads
such an account's position history once more per run — its id from
memory or, after a restart, from Vest's closed-account history
(GET /v3/capital/accounts/history) — falling back to the login's token
if the closed account gets none of its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 20:00:43 -05:00
..
2026-10-21 23:39:53 -05:00
2026-10-21 23:39:53 -05:00
2026-10-21 23:39:53 -05:00
2026-10-21 23:39:53 -05:00
2026-03-07 22:07:02 -06:00