I am doing copy trading so multi accounts open some positions.
Now I have to make button to close all these positions.
I used Account.Flat() but this closes all positions and also disable my strategy.
I dont want this.
I want close all positions of all accounts and dont disable the strategy.
Could anyone let me know how to do this?