I'm cloning a Trade Copier I found in the Ecosystem....
The orders from the Master Account are copied to the Target Accounts, including the orders to close the position.
in Position Update the MasterAccount then is reported as Flat, but the Target accounts have the original MarketPosition, (Long of Short) BUT with a zero quantity.
I can get around this by checking the position to have a quantity of 0...but I find it rather strange that OnPosition does does not say it is Flat
What is going on ??
??

Comment