You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: critical bracket order fill detection race condition (v3.3.5)
CRITICAL FIX: Resolved race condition in bracket order fill detection that caused
operations to hang when market orders filled immediately.
Changes:
- Added cache check in _wait_for_order_fill to detect already-filled orders
- Prevents timeout when market orders fill before event handler registration
- Enhanced debug logging for order fill event processing
- Ensures proper stop loss and take profit order placement
This fix is critical for automated trading strategies using bracket orders,
particularly with market orders that execute immediately.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments