DislikedHello bull bear. Simple solution to your problem................Ignored
By the way, may i know could it be possibility have duplicate ticket number scenario? Even i don't think there is a chance of duplicate in either open with open or close with close pools. But how about open order duplicate with closed order?