Conflicting Order signals in Main vs Sub Account

I have a main account and a sub account running automated trading bots via webhook. I noticed that when both accounts are trading the same symbol, it closes out the trades in the sub account because it sees that there’s a standing order in the main account. This can create a huge problem.

For example: There was an open Long trade in the Main account with a standing Limit order for take profit. Then the Sub account opened a Long trade afterwards, but closed out immediately (within 1 second of opening) because it saw the Limit order for take profit in the Main account.

Does anyone else have this issue? Is there any way to fix this?

i will start automated testing in a few weeks. when I do I will revisit and answer my experience