I have some questions about synchronizing Zorro's phantom trade position, pool position, and broker position.

This is for a stock trading system, NFA mode with Hedge = 5.

Allow me to propose some scenarios. My question for each is how to synchronize all of the positions? Assume we are talking about a single stock, say AAPL.

#1 - Broker position is 0, phantom trades are at +10, pool trade are at +10. I should cancel all open trades, including phantom and pool, correct?

#2 - Broker position is +10, phantom trades are at 0, pool trades are at 0. Is there some way I can inject a "trade", which when opened sends nothing to the broker, but when closed will actually close my position? So that it could be +10 +10 +10, and then closing the injected phantom trade will bring it all to 0 0 0.