for a group of 4, each account will buy 100 shares of ABC. The algorithm will receive events of filling the 400 shares, OrderStatus.Filled when all 400 shares are bought.
Let's say account B can't buy 10 out of 100 shares. I suppose 10 shares will be rejected/cancel, so your algorithm will have 390 shares of ABC.
Checklist
[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues
Expected Behavior
Financial Advisors provides examples of how Allocation Methods work.
Actual Behavior
Not enough information to make it clear.
Proposed Solution
See examples in https://interactivebrokers.github.io/tws-api/financial_advisor.html. We could copy them, and explain how it works in Lean
Checklist
master
branch