Actually, through testing, I verified that calling exitTrade() with the TRADE* pointer will cancel the pending order.