But are they supposed to do it at the same time? I guess not. I don't understand the 'close trade' block at the bottom. It is redundant. You should remove it.