System Logs
Mar 17, 2026
Patch
Execution Engine
by CelestialEye | Quantitative Systems Engineer
Component: Execution Engine
Partial immediate fill detection on order placement
Defensive size validation against exchange fill responses
Specifics
Issue: On initial order placement, as long as part of the order was filled, Hyperliquid returns a filled order ID/message. If the order was only partially filled, the remaining order still exists but is not specified as a resting order (limit order on the books). Previously the system treated any filled response as a complete fill.
Fix: Added a check that compares the filled size against the target remaining quantity. On partial fills, the system now re-requests open orders for that asset and compares against the response. If a limit position is open but Hyperliquid returned a filled ID, the retry loop continues iterating on the remaining size until the full target quantity is reached.
Overview
