2e69bc8c7a78ba42ef4f5946b153f161b760489d
_submit printed "HTTP 403" and moved on, and buy/sell then marked the session done, so one rejected MOC/MOO order was never retried. It now raises unless Alpaca returns an order id with an accepted status; a 422 duplicate client_order_id counts only when the existing order matches the payload and is live. The session is marked bought/sold only after every order is accepted, and the daemon retries the rest on its next tick. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The file is empty.
Description
Languages
Python
86.3%
TypeScript
11.6%
CSS
1.9%
Shell
0.2%