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(examples): improve join_orders example with better error handling and position cleanup
- Add graceful error handling for order cancellations that may fail due to fills
- Implement automatic position cleanup to close any positions opened by filled orders
- Fix Position model field references (use correct field names: size, type, contractId, averagePrice)
- Add informative messages explaining why orders might not be cancellable
- Ensure no positions are left open when the script completes
0 commit comments