-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Description
Expected Behavior
In live cash account, when rebalance the holdings (portfolio with 100% holding + 0% cash) including sell order and buy order. The order should be first execute the sell order and then buy order.
if execute not in that order, the broker will report not enough cash error
Actual Behavior
The order execution does not do sell order first, then buy order.
Potential Solution
Execute sell order first, upon completion, execute buy order
Checklist
- [Y] I have completely filled out this template
- [Y] I have confirmed that this issue exists on the current
masterbranch - [Y] I have confirmed that this is not a duplicate issue by searching issues
Reactions are currently unavailable